[MITgcm-support] genmake2

Chris Hill cnh at mit.edu
Fri Aug 22 08:06:59 EDT 2003


Hi Ed,

 Great, that seems better. I used linux+pgi and it seems OK. I had to
add

 MAKEDEPEND='makedepend'

 to the opt file to get the depend rule to work.
 I also added the CVS Header and Name to that opt file. It should
probably be in them all.
 
Thanks,

Chris

> -----Original Message-----
> From: mitgcm-support-bounces at mitgcm.org 
> [mailto:mitgcm-support-bounces at mitgcm.org] On Behalf Of Ed Hill
> Sent: Friday, August 22, 2003 12:19 AM
> To: MITgcm-support
> Subject: RE: [MITgcm-support] genmake2
> 
> 
> 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
> 




More information about the MITgcm-support mailing list