[MITgcm-devel] ALLOW_ and PACKAGES_CONFIG.h
Chris Hill
cnh at mit.edu
Sun Mar 14 16:49:00 EST 2004
Ed/Alistiar,
I was looking at global_ocean.cs32x15.
I did a check on the number of .F files that have "ifdef ALLOW..." versus
the number of .F files that reference "PACKAGES_CONFIG.h".
There are 147 files with "ifdef ALLOW..." and 59 files with
"PACKAGES_CONFIG.h" in them.
Is this what it should be? That means I can't just put a random #ifdef
ALLOW_FOO in some routine and have its status from genmake carried through
by an "PACKAGES_CONFIG.h" type mechanism. Is that what you intended? Is
this because you were trying to avoid triggering remakes of everything
whenever genmake is run? Right now PACKAGES_CONFIG.h seems to be somewhat
randomly scattered through the code and in some package header files (some
of which are only include when an option in PACKAGES_CONFIG.h is set!!).
Chris
P.S. it only took me three days to figure out that the lack of
"PACKAGES_CONFIG" in files is why the general CS (ALLOW_EXCH2) exchanges
don't give the same numbers any more when you change tile sizes :-).
More information about the MITgcm-devel
mailing list