[Mitgcm-support] Why are some variables in COMMON when they are only used once
mitgcm-support at dev.mitgcm.org
mitgcm-support at dev.mitgcm.org
Wed Jul 9 15:30:02 EDT 2003
Common blocks are used to force otherwise local variables
into global storage. This allows multi-threaded exchange operations
to work.
If you don't want multi-threaded parallelism then you can remove the
common block.
Patrick Heimbach wrote:
>
> Jean-Michel,
>
> in calc_exact_eta the field hDivFlow is declared
> in a common block.
> However, that common block is - I think- nowhere else needed.
> Furthermore, TAF gets totally confused by it, I have no clue, why.
> Can I just remove the common block?
>
> P.
> --
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>
> Patrick Heimbach ........................ FON: +1/617/253-5259
> Massachusetts Institute of Technology ... FAX: +1/617/253-4464
> EAPS, Room 54-1518 ...........................................
> 77 Massachusetts Avenue .............. mailto:heimbach at mit.edu
> Cambridge MA 02139, U.S.A. ..... http://www.mit.edu/~heimbach/
More information about the MITgcm-support
mailing list