[MITgcm-devel] gad_som_advect etc

Martin Losch martin.losch at awi.de
Mon Jun 13 04:41:20 EDT 2016


Hi Jean-Michel,
while search for the reason why the cray-compiler tests on ollie keep failing while compiling seaice_obcs (actually while compiling gad_som_advect.f), I noticed that the CPP flag GAD_ALLOW_TS_SOM_ADV is not used in routines like gad_som_advect.F, gad_som_adv_x.F (was removed 8 years ago with this statement: "change option: GAD_ALLOW_SOM_ADVECT to GAD_ALLOW_TS_SOM_ADV which only applies to files where Temperature & salinity 2nd Order moments are used”). As a consequence, we have these fields smTp(snx,sny,nz,nsx,nsy,nSOM) and similar, that the flag was supposed to avoid (memory). I am not sure if this is intended. I am also not sure if this has anything to do with my problem on ollie, but maybe I am using too much memory while compiling large fields, just a guess …).

Do you see a way that we can avoid these large fields when GAD_ALLOW_TS_SOM_ADV is undefined? Or is this a useless suggestion?

Martin


More information about the MITgcm-devel mailing list