[Mitgcm-support] bug in genmake?

mitgcm-support at dev.mitgcm.org mitgcm-support at dev.mitgcm.org
Wed Jul 9 15:42:16 EDT 2003


Hi there,

I tried to compile the code for the -platform=SunOS+mpi. The genmake 
complains with "too many )'s". This is the piece of script in question 
(sorry for the autowrapping by my mailtool, as usual I have no control):

case SunOS+mpi:
   set LN         = ( '/usr/bin/ln -s' )
   set CPP        = ( '/usr/ccs/lib/cpp -P' )
   set DEFINES    = ( ${DEFINES} '-DTARGET_SUN -DWORDLENGTH=4 -D_d=E' )
   set INCLUDES   = ( '-I/usr/local/mpi/include' )
   set LIBS       = ( '-L/usr/local/mpi/lib/solaris/ch_shmem -lmpi 
-lthread' \
   set FFLAGS     = ( '-stackvar -explicitpar -vpara -e -u -noautopar 
-xtypemap=real:64,double:64,integer:32 -fsimple=0' )
   set FOPTIM     = ( '-dalign -O3 -xarch=v9' )
   set NOOPTFLAGS = ( '-dalign -O0 -xarch=v9' )
                        '-lsocket -lnsl' )
   set NOOPTFILES = ( 'barrier.F different_multiple.F 
external_fields_load.F ini_vertical_grid.F ini_spherical_polar_grid.F 
ini_cori.F mon_printstats_rl.F mon_printstats_rs.F')
     breaksw

I assume that the '-lsocket -lnsl' ) line is out of place and (maybe) 
belongs to further up after -lthread' \
but I dare not change it myself and check it in before someone with the 
proper compentence (Chris?) has given his OK. I also plan to develop a 
case which is specific to our SunFire architecture here at AWI, if 
that's of interest for you.

Martin

-- 
Martin Losch
Alfred Wegener Institute for Polar and Marine Research
Postfach 120161, 27515 Bremerhaven, Germany;
Tel./Fax: ++49(0471)4831-1872/1797





More information about the MITgcm-support mailing list