[MITgcm-devel] genmake2 problem
Patrick Heimbach
heimbach at MIT.EDU
Thu Apr 6 10:58:45 EDT 2006
Hi Ed,
there's a sublte problem with genmake2.
We now ommit #define of packages in CPP_OPTIONS.h
which is good.
However, a funny thing happens when you have
a CPP flag that's very similar to a package name,
but is not a package name.
For example, if you add the flag
#define ALLOW_SEAICEFFF
in lab_sea/code/CPP_OPTIONS.h
genmake2 will choke
Error: In ../code/CPP_OPTIONS.h there is an illegal line: #define
ALLOW_SEAICEFFF
because it thinks the flag refers to a package name.
-Patrick
--
--------------------------------------------------------
Patrick Heimbach Massachusetts Institute of Technology
FON: +1/617/253-5259 EAPS, Room 54-1518
FAX: +1/617/253-4464 77 Massachusetts Avenue
mailto:heimbach at mit.edu Cambridge MA 02139
http://www.mit.edu/~heimbach/ USA
More information about the MITgcm-devel
mailing list