[MITgcm-support] Building with genmake 2

Sergio Jaramillo sju at eos.ubc.ca
Mon Apr 19 21:09:32 EDT 2004



Sorry for the mistake in the subject ...


Dear MITgcm support,

I will try to refrase my last question. I downloaded the new version of
MITgcm, did some changes for my particular problem (modification of a
mixture between exp 4, and flt_example), like in I had in the old version,
changed CPP_OPTIONS.h, similar to what I see in exp 4, and compiled it.
Although, the compilation is different, I manage to do it with no errors.
Now I run the model, but it goes unstable very fast. Could this be due to
the way I do the compilation:

../tools/genmake 2 -makefile
make depend
make

I changed pkg_default to include the flt package, but I let genmake2
choose the build options file by itself.

Or should it be due to some new parameters in this version?

I am puzzled, because I have the same settings and the old version using
genmake runs perfect.

Thanks again,

Sergio Jaramillo
UBC

> Send MITgcm-support mailing list submissions to
> 	mitgcm-support at mitgcm.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://dev.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. Building with genmake2 (Sergio Jaramillo)
>    2. Re: Building with genmake2 (Ed Hill)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 14 Apr 2004 15:42:22 -0700
> From: Sergio Jaramillo 
> Subject: [MITgcm-support] Building with genmake2
> To: mitgcm-support at mitgcm.org
> Message-ID: <407DBE4E.1010607 at eos.ubc.ca>
> Content-Type: text/plain; charset="us-ascii"
>
> Ed,
>
> Thanks for the answer. I have been trying to edit genmake to compile
> MITgcm but my success has been very limited. If I want to use genmake2
> instead, what files should I update? I have been trying to do it using
>  % cvs -q update -r checkpoint52i_post -d -P, but I don't get major
> changes.
>
> Thanks,
>
> Sergio Jaramillo
>
>
> mitgcm-support-request at mitgcm.org wrote:
>
>>Send MITgcm-support mailing list submissions to
>>	mitgcm-support at mitgcm.org
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>>	http://dev.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. Parallel run using genmake (Sergio Jaramillo)
>>   2. Re: Parallel run using genmake (Ed Hill)
>>
>>
>>----------------------------------------------------------------------
>>
>>Message: 1
>>Date: Thu, 08 Apr 2004 14:07:07 -0700
>>From: Sergio Jaramillo 
>>Subject: [MITgcm-support] Parallel run using genmake
>>To: mitgcm-support at mitgcm.org
>>Message-ID: <4075BEFB.104 at eos.ubc.ca>
>>Content-Type: text/plain; charset="us-ascii"
>>
>>Dear MITgcm support,
>>
>>I have been using MITgcm in a single processor compiling the code with
>>genmake. Now , I want to try the parallel run, and I don't know if the
>>information available in  the documentation "3.5.2 Using genmake2", and
>>"3.5.3 Building with MPI" is still valid if I use genmake instead of
>>genmake2. Should I get genmake2? will it change the things too much for
>>me? I try not to change many things as my run is finally doing very
>>well, and I don't want to screw it.
>>
>>Many thanks,
>>
>>Sergio Jaramillo
>>UBC
>>
>>
>>-------------- next part --------------
>>An HTML attachment was scrubbed...
>>URL:
>> http://dev.mitgcm.org/pipermail/mitgcm-support/attachments/20040408/f7fb03f7/attachment-0001.htm
>>
>>------------------------------
>>
>>Message: 2
>>Date: Thu, 08 Apr 2004 17:27:02 -0400
>>From: Ed Hill 
>>Subject: Re: [MITgcm-support] Parallel run using genmake
>>To: MITgcm-support 
>>Message-ID: <1081459622.31912.539.camel at localhost.localdomain>
>>Content-Type: text/plain
>>
>>On Thu, 2004-04-08 at 17:07, Sergio Jaramillo wrote:
>>
>>
>>>Dear MITgcm support,
>>>
>>>I have been using MITgcm in a single processor compiling the code with
>>>genmake. Now , I want to try the parallel run, and I don't know if the
>>>information available in  the documentation "3.5.2 Using genmake2",
>>>and "3.5.3 Building with MPI" is still valid if I use genmake instead
>>>of genmake2. Should I get genmake2? will it change the things too much
>>>for me? I try not to change many things as my run is finally doing
>>>very well, and I don't want to screw it.
>>>
>>>
>>
>>
>>Hi Sergio,
>>
>>If you're using genmake, then you're using a somewhat older version of
>>the code.  And thats not a serious problem with respect to MPI.  Older
>>versions of the code (with genmake) and newer ones (with genmake2) both
>>support MPI builds.
>>
>>For the older genmake, you may (or may not) need to edit the genmake
>>script itself to add or modify the MPI build options.  This is a
>>limitation inherent with the older genmake script.
>>
>>For the newer genmake2, you should only have to edit or create a new
>>options file (or "optfile").  There are numerous examples located in
>>
>>  MITgcm/tools/build_options
>>
>>that you can adapt to your particular machine.
>>
>>I prefer genmake2 but will try to help you with either approach--just
>>email your specific questions to this list or call me at my office
>>number below.
>>
>>Ed
>>
>>
>>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://dev.mitgcm.org/pipermail/mitgcm-support/attachments/20040414/28eddb91/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Thu, 15 Apr 2004 00:35:04 -0400
> From: Ed Hill 
> Subject: Re: [MITgcm-support] Building with genmake2
> To: MITgcm-support 
> Message-ID: <1082003704.18255.454.camel at localhost.localdomain>
> Content-Type: text/plain; charset="us-ascii"
>
> On Wed, 2004-04-14 at 18:42, Sergio Jaramillo wrote:
>> Ed,
>>
>> Thanks for the answer. I have been trying to edit genmake to compile
>> MITgcm but my success has been very limited. If I want to use genmake2
>> instead, what files should I update? I have been trying to do it using
>> % cvs -q update -r checkpoint52i_post -d -P, but I don't get major
>> changes.
>
>
> Hi Sergio,
>
> Its probably not a good idea to do a cvs upgrade since there were a lot
> of CPP-related changes made to the code since the last time that genmake
> worked.  I would recommend that you do the following, which should be a
> lot cleaner and easier:
>
>  1) Please backup (or otherwise save) your current setup
>
>  2) Get a fresh copy of MITgcm from CVS using the "cvs
>     current" directions at:  http://mitgcm.org/source_code.html
>
>  3) Copy over all your code modifications (eg. "SIZE.h") and
>     input files ("data*" plus the binaries) from your existing
>     (older) MITgcm setup to the new copy you just got from CVS.
>     Your input files should work with little or no modifications
>     on the very latest version of the code.
>
>  4) Please send any bugs/problems you encounter from step (3)
>     above to this list and we'll try to help you.
>
> Good luck!
>
> Ed
>
> --
> Edward H. Hill III, PhD
> office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
>             Cambridge, MA 02139-4307
> email:   eh3 at mit.edu,  ed at eh3.com
> URL:     http://web.mit.edu/eh3/
> phone:   617-253-0098
> fax:     617-253-4464
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 189 bytes
> Desc: This is a digitally signed message part
> Url :
> http://dev.mitgcm.org/pipermail/mitgcm-support/attachments/20040415/0c2bb2cf/attachment-0001.bin
>
> ------------------------------
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
>
>
> End of MITgcm-support Digest, Vol 10, Issue 12
> **********************************************
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20040419/f0957ed0/attachment.htm>


More information about the MITgcm-support mailing list