[MITgcm-support] genmake2

Ed Hill ed at eh3.com
Fri Aug 22 00:19:29 EDT 2003


On Thu, 2003-08-21 at 16:28, Chris Hill wrote:
> Ed,
> 
> Here's a bit more information
> 
>  genmake2 on myrinet-3-22 seems to work for me
>  genmake2 on cg01 seems to give error
> 
>  I'm guessing its different bash variants on maybe environment setting,
> but it seems odd?


Yes, it was a version problem!

I accidentally included a few lines of bash v2 syntax (incompatible with
v1) and those were causing the odd behavior.  I've replaced those bits
of v2 with v1 syntax and run some quick tests on cg01 (bash v1) and my
laptop (bash v2).  Both worked, so I checked it into CVS.  

Please give it a try.

Ed

ps - The commands I used were:

# for g77 without mpi:
../../../tools/genmake2 -mods=../code
-optfile=../../../tools/build_options/linux_g77_faulks

# for pgi (with mpi) on cg01:
../../../tools/genmake2 -mods=../code
-optfile=../../../tools/build_options/cg01_pgi

and please start with the tools/build_options/cg01_pgi optfile when
creating other optfiles for cg01.

-- 
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://mitgcm.org/pipermail/mitgcm-support/attachments/20030822/a2faf4ea/attachment.sig>


More information about the MITgcm-support mailing list