[MITgcm-devel] seaice_options in external_forcing_surf

Patrick Heimbach heimbach at MIT.EDU
Wed May 9 10:11:51 EDT 2007


Hi Martin,
I prefer 2nd option (split common block).
Cheers
-p.



On May 9, 2007, at 10:06 AM, Martin Losch wrote:

> Hi,
>
> as I compiled our code on our new NEC SX8 the compiler gave me a  
> nich warning that the common block "seaice_dynvars_3 has more than  
> one size" (defined in SEAICE.h). The reason is, that this common  
> block has different lengths depending on whether the flas  
> SEAICE_CGRID is defined or not; external_forcing_surf, which  
> includes SEAICE.h does not know about this flag (and thinks it is  
> undefined). I don't think that this will be a major problem but it  
> should be fixed anyway. The quick fix is to include  
> SEAICE_OPTIONS.h into external_forcing_surf (not very clean). The  
> other methods is to split this common block into two or three and  
> have only complete common block in/ex-cluded by CPP-flags. If no- 
> one objects, I will go with the second option.
>
> Martin
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel

---
Dr Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS, 54-1518 | 77 Massachusetts Ave | Cambridge, MA 02139, USA
FON: +1-617-253-5259 | FAX: +1-617-253-4464 | SKYPE: patrick.heimbach





More information about the MITgcm-devel mailing list