[MITgcm-devel] seaice_options in external_forcing_surf

Martin Losch Martin.Losch at awi.de
Wed May 9 10:06:39 EDT 2007


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




More information about the MITgcm-devel mailing list