[MITgcm-support] OBCS CPP flag
Patrick Heimbach
heimbach at MIT.EDU
Sat Jun 9 09:42:32 EDT 2007
Hi Julie,
Dimitris' config. files are a very good starting point.
In particular, what was probably wrong in what you had is:
* need to add a line
obcs
in file packages.conf (this will enable the obcs package
and evaluate the obcs-specific options in OBCS_OPTIONS.h).
* don't put #define ALLOW_OBCS in CPP_OPTIONS.h (not needed)
* check in OBCS_OPTIONS.h
whether the boundaries you'd like to be open are defined
(or otherwise undefined).
Some basic documentation is available at
http://mitgcm.org/r2_web_testing/latest/online_documents/node235.html
Cheers
-p.
On Jun 8, 2007, at 7:28 PM, Julie Deshayes wrote:
> Hi,
> I am trying to add OBCS to my configuration with MITgcm but I
> can't ! here is a list of different things that I tried and failed :
>
> - I added obcs to packages.conf and/or did genmake2 enable obcs ...
> (OBCS_OPTIONS.h being included in my directory code/).
> the compilation would go through with no error message, but when I
> run the executable, I have the following error message : "Run-time
> control flag useOBCS was used when CPP flag ALLOW_OBCS was unset".
>
> - when trying to add #define ALLOW_OBCS in CPP_OPTIONS.h, in
> addition to the modifications above (still with OBCS_OPTIONS.h in
> my directory code/), then the compilation would NOT go through and
> I get the error message : "<stdin>:7: OBCS_OPTIONS.h: No such file
> or directory".
>
> do you have any clue about what I am doing wrong ?
>
> let me know if you want me to send any of my configuration files.
> sorry if this problem have already been addressed, I have been
> through the previous emails and could not find anything helpful ...
>
> have a good week end too !
> Julie
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
---
Dr Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS, 54-1518 | 77 Massachusetts Ave | Cambridge, MA 02139, USA
FON: +1-617-253-5259 | FAX: +1-617-253-4464 | SKYPE: patrick.heimbach
More information about the MITgcm-support
mailing list