[MITgcm-support] problem with defining ALLOW_OBCS flag

Alistair Adcroft adcroft at mit.edu
Tue Oct 12 13:22:27 EDT 2004


In more recent versions of the model, we have retired the role of 
CPP_OPTIONS.h for most (package) flags. Use packages.conf or genmake2 
-enable/disable to turn packages on/off.

genmake2 -enable obcs  should do what you want.

A.

Matthew Mazloff wrote:
> Hello,
> 
> I am having trouble setting the CPP flag ALLOW_OBCS
> 
> in CPP_OPTIONS.h I have:
> 
> C o Include/exclude code for open-boundary conditions
> #define ALLOW_OBCS
> 
> and when I try to compile this I get the error message:
> 
> Searching for *OPTIONS.h files in order to warn about the presence
>    of "#define "-type statements that are no longer allowed:
>    found CPP_OPTIONS="../code/CPP_OPTIONS.h"
> depError: In ../code/CPP_OPTIONS.h there is an illegal line: #define 
> ALLOW_OBCS
> 
> I was hoping someone could let me know what I am doing wrong?  Obviously 
> this flag must be set to enable open boundary conditions.  How/where do 
> I set it?
> 
> With much appreciation,
> Matt
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support


-- 
Dr Alistair Adcroft            http://www.mit.edu/~adcroft
MIT Climate Modeling Initiative        tel: (617) 253-5938
EAPS 54-1624,  77 Massachusetts Ave,  Cambridge,  MA,  USA




More information about the MITgcm-support mailing list