[MITgcm-support] Re: MITgcm-support Digest, Vol 32, Issue 12

Martin Losch mlosch at awi-bremerhaven.de
Wed Feb 15 08:45:59 EST 2006


Hi Mehdi,

please send your emails to mitgcm-support at mitgcm.org and no me  
individually. That way you get more answers.

There are two ways to turn off the non-hydrostatic dynamics
1. runtime flag nonHydrostatic=.false., in data
2. CPP_OPTIONS.h: #undef ALLOW_NONHYDROSTATIC
The second options excludes the non-hydrostatic code from the compile  
process and you cannot use your executable to do non-hydrostatic  
experiments. The first option (runtime flag) turns off the non- 
hydrostatic dynamics EVEN if they have been compiled. So if you have  
set that flag to false (which is, by the way, the default), then your  
runs are hydrostatic.

Without any error messages from the genmake2/make/compile steps I  
have  no clue why you cannot compile with ALLOW_NONHYDROSTATIC  
undefined.

Martin

On Feb 15, 2006, at 2:21 PM, mehdi mehdizadeh wrote:

> Hello Dear Maartin
> thank you very mach for your reply;
> I provide output from the make process but in file of CPP_OPTION.h  
> is #define  ALLOW_NONHYDROSTATIC” and in file of data is  
> “nonHydrostatic=.FALSE.”
> I am not sure that my results are HYDROSTATIC or NON-HYDROSTATIC!!   
> but when I change the CPP_OPTION.h file with "# unfine  
> ALLOW_NONHYDROSTATIC",I can't provide  output from the make process .
> you propose that what I must do?
> Best regard
>
> Mehdi MEHDIZADEH
> Bureau A211, LEGI
> (Laboratoire des Ecoulements
> Géophysiques et Industriels )
> BP 53
> 38041 GRENOBLE CEDEX 09
> France
> Tel: 04 76 82 50 45
> Mobile: 06 26 26 69 72
> mehdizadeh at hmg.inpg.fr
> mehdizadeh at scientist.com
>
>> ----- Original Message -----
>> From: mitgcm-support-request at mitgcm.org
>> To: mitgcm-support at mitgcm.org
>> Subject: MITgcm-support Digest, Vol 32, Issue 12
>> Date: Tue, 14 Feb 2006 12:00:10 -0500
>>
>>
>> Send MITgcm-support mailing list submissions to
>> 	mitgcm-support at mitgcm.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://mitgcm.org/mailman/listinfo/mitgcm-support
>> or, via email, send a message with subject or body 'help' to
>> 	mitgcm-support-request at mitgcm.org
>>
>> You can reach the person managing the list at
>> 	mitgcm-support-owner at mitgcm.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of MITgcm-support digest..."
>>
>>
>> Today's Topics:
>>
>>     1. MITgcm-support at mitgcm.org (mehdi mehdizadeh)
>>     2. MITgcm-support at mitgcm.org (mehdi mehdizadeh)
>>     3. MITgcm-support at mitgcm.org (mehdi mehdizadeh)
>>     4. Re: [MITgcm-cvs] MITgcm-support at mitgcm.org (Martin Losch)
>>
>>
>> --------------------------------------------------------------------- 
>> -
>>
>> Message: 1
>> Date: Mon, 13 Feb 2006 20:58:31 +0100
>> From: "mehdi mehdizadeh" <mehdizadeh at scientist.com>
>> Subject: [MITgcm-support] MITgcm-support at mitgcm.org
>> To: mitgcm-support-request at mitgcm.org
>> Cc: mitgcm-cvs at mitgcm.org, MITgcm-support at mitgcm.org
>> Message-ID: <20060213195831.6B72B164278 at ws1-4.us4.outblaze.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>   Dear MITgcm users
>>      Hello.
>>      I have a fundamental question about Hydrostatic mode in the  
>> ocean code.
>>      According to the manual, in order to set Hydrostatic mode,
>> “nonHydrostatic=.FALSE.” in input/data and “#unfine  
>> ALLOW_NONHYDROSTATIC” in
>> code/CPP_OPTIONS.h should be done. I simply followed it, but I
>> can't make file mitgcmuv !!! what I must do?
>> Thank you very much
>> Best regard
>> (Note)  My data, CPP_OPTIONS.h are attached.
>>
>> Mehdi MEHDIZADEH
>> Bureau A211, LEGI
>> (Laboratoire des Ecoulements
>> Géophysiques et Industriels )
>> BP 53
>> 38041 GRENOBLE CEDEX 09
>> France
>> Tel: 04 76 82 50 45
>> Mobile: 06 26 26 69 72
>> mehdizadeh at hmg.inpg.fr
>> mehdizadeh at scientist.com
>>
>> --
>> ___________________________________________________
>> Play 100s of games for FREE! http://games.mail.com/
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Mon, 13 Feb 2006 21:04:06 +0100
>> From: "mehdi mehdizadeh" <mehdizadeh at scientist.com>
>> Subject: [MITgcm-support] MITgcm-support at mitgcm.org
>> To: mitgcm-support-request at mitgcm.org
>> Cc: MITgcm-support at mitgcm.org
>> Message-ID: <20060213200406.65A418402B at ws1-5.us4.outblaze.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>   Dear MITgcm users
>>      Hello.
>>      I have a fundamental question about Hydrostatic mode in the  
>> ocean code.
>>      According to the manual, in order to set Hydrostatic mode,
>> “nonHydrostatic=.FALSE.” in input/data and “#unfine  
>> ALLOW_NONHYDROSTATIC” in
>> code/CPP_OPTIONS.h should be done. I simply followed it, but I
>> can't make file mitgcmuv !!! what I must do?
>> Thank you very much
>> Best regard
>> (Note)  My data, CPP_OPTIONS.h are attached.
>>
>> Mehdi MEHDIZADEH
>> Bureau A211, LEGI
>> (Laboratoire des Ecoulements
>> Géophysiques et Industriels )
>> BP 53
>> 38041 GRENOBLE CEDEX 09
>> France
>> Tel: 04 76 82 50 45
>> Mobile: 06 26 26 69 72
>> mehdizadeh at hmg.inpg.fr
>> mehdizadeh at scientist.com
>>
>> --
>> ___________________________________________________
>> Play 100s of games for FREE! http://games.mail.com/
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Mon, 13 Feb 2006 21:04:58 +0100
>> From: "mehdi mehdizadeh" <mehdizadeh at scientist.com>
>> Subject: [MITgcm-support] MITgcm-support at mitgcm.org
>> To: mitgcm-support-request at mitgcm.org
>> Cc: MITgcm-support at mitgcm.org
>> Message-ID: <20060213200459.65560164279 at ws1-4.us4.outblaze.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>   Dear MITgcm users
>>      Hello.
>>      I have a fundamental question about Hydrostatic mode in the  
>> ocean code.
>>      According to the manual, in order to set Hydrostatic mode,
>> “nonHydrostatic=.FALSE.” in input/data and “#unfine  
>> ALLOW_NONHYDROSTATIC” in
>> code/CPP_OPTIONS.h should be done. I simply followed it, but I
>> can't make file mitgcmuv !!! what I must do?
>> Thank you very much
>> Best regard
>> (Note)  My data, CPP_OPTIONS.h are attached.
>>
>> Mehdi MEHDIZADEH
>> Bureau A211, LEGI
>> (Laboratoire des Ecoulements
>> Géophysiques et Industriels )
>> BP 53
>> 38041 GRENOBLE CEDEX 09
>> France
>> Tel: 04 76 82 50 45
>> Mobile: 06 26 26 69 72
>> mehdizadeh at hmg.inpg.fr
>> mehdizadeh at scientist.com
>>
>> --
>> ___________________________________________________
>> Play 100s of games for FREE! http://games.mail.com/
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Tue, 14 Feb 2006 08:35:36 +0100
>> From: Martin Losch <mlosch at awi-bremerhaven.de>
>> Subject: [MITgcm-support] Re: [MITgcm-cvs] MITgcm-support at mitgcm.org
>> To: MITgcm Support <mitgcm-support at mitgcm.org>
>> Message-ID: <21295589-30B9-4ABD-AA0A-CE2044CACB98 at awi-bremerhaven.de>
>> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes;
>> 	format=flowed
>>
>> Mehdi,
>>
>> the hydrostatic mode is the default, normally you do not have to do
>> anything special to get (although, you are right and your flags make
>> sure the code is not compiled and not called); if you cannot compile
>> the code most likely something else is the reason.
>>
>> You need to provide output from the make process (genmake2, make
>> depend, make) and about the experiment you are trying to compile
>> (start with/from a verification experiment).
>> (the CPP_OPTIONS.h alone is not enough, plus, it didn't show up in
>> any of your four emails).
>>
>> Martin
>>
>> On Feb 13, 2006, at 8:58 PM, mehdi mehdizadeh wrote:
>>
>>>  Dear MITgcm users
>>>     Hello.
>>>     I have a fundamental question about Hydrostatic mode in the   
>>> ocean code.
>>>     According to the manual, in order to set Hydrostatic mode,
>>> “nonHydrostatic=.FALSE.” in input/data and “#unfine   
>>> ALLOW_NONHYDROSTATIC” in
>>> code/CPP_OPTIONS.h should be done. I simply followed it, but I
>>> can't make file mitgcmuv !!! what I must do?
>>> Thank you very much
>>> Best regard
>>> (Note)  My data, CPP_OPTIONS.h are attached.
>>>
>>> Mehdi MEHDIZADEH
>>> Bureau A211, LEGI
>>> (Laboratoire des Ecoulements
>>> Géophysiques et Industriels )
>>> BP 53
>>> 38041 GRENOBLE CEDEX 09
>>> France
>>> Tel: 04 76 82 50 45
>>> Mobile: 06 26 26 69 72
>>> mehdizadeh at hmg.inpg.fr
>>> mehdizadeh at scientist.com
>>>
>>> -- ___________________________________________________
>>> Play 100s of games for FREE! http://games.mail.com/
>>>
>>>
>>> _______________________________________________
>>> MITgcm-cvs mailing list
>>> MITgcm-cvs at mitgcm.org
>>> http://mitgcm.org/mailman/listinfo/mitgcm-cvs
>>
>>
>>
>> Martin Losch // Alfred-Wegener-Institut für Polar- und  
>> Meeresforschung
>> Postfach 120161, 27515 Bremerhaven, Germany
>> mailto:mlosch at awi-bremerhaven.de // Tel./Fax: ++49(471)4831-1872/1797
>> http://www.awi-bremerhaven.de/People/show?mlosch
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>
>>
>> End of MITgcm-support Digest, Vol 32, Issue 12
>> **********************************************
>
>>
>
>
> -- 
> ___________________________________________________
> Play 100s of games for FREE! http://games.mail.com/
>





More information about the MITgcm-support mailing list