[MITgcm-support] next step

Patrick Heimbach heimbach at MIT.EDU
Wed Jan 26 15:11:06 EST 2005


Quoting Mike Spall <mspall at whoi.edu>:

Mike,

this is a typical error message when
the CPP flag '-traditional' is missing.
Thus, could you check and add the line
CPP='cpp -traditional -P'
to your options file.

-Patrick



> Hi Ed,
> 
> I changed the build options file to
> 
> FC='/usr/pgi/linux86-64/5.2/bin/pgf77'
> DEFINES='-DWORDLENGTH=4'
> 
> but now I get the following error:
> 
> cat cal_readparms.F | ../tools/set64bitConst.sh |  cpp -DWORDLENGTH=4 
> -DHAVE_SYSTEM -DHAVE_ETIME -I. > cal_readparms.f
> <stdin>:110:32: missing terminating ' character
> <stdin>:143:71: missing terminating ' character
> make: *** [cal_readparms.f] Error 1
> 
> It does not have some clock-related commands for the pgf77 compiler,
> could this be related?  This is from the beginning of the make:
> 
> ===  Checking system libraries  ===
>    Do we have the system() command using 
> /usr/pgi/linux86-64/5.2/bin/pgf77...  yes
>    Do we have the fdate() command using 
> /usr/pgi/linux86-64/5.2/bin/pgf77...  no
>    Do we have the etime() command using 
> /usr/pgi/linux86-64/5.2/bin/pgf77...  yes  Can we call simple C routines 
> (here, "cloc()") using /usr/pgi/linux86-64/5.2/bin/pgf77...  no
>    Can we create NetCDF-enabled binaries...  no
> 
> 
> -- 
> ==================================================
> 
> Michael A. Spall
> Senior Scientist
> Department of Physical Oceanography
> W.H.O.I. MS #21
> 360 Woods Hole Road
> Woods Hole, MA   02543
> 
> mspall at whoi.edu
> (508) 289-3342 (office)
> (508) 457-2181 (fax)
> 
> =================================================
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
> 


--------------------------------------------------------
Patrick Heimbach   Massachusetts Institute of Technology
FON: +1/617/253-5259                  EAPS, Room 54-1518
FAX: +1/617/253-4464             77 Massachusetts Avenue
mailto:heimbach at mit.edu               Cambridge MA 02139
http://www.mit.edu/~heimbach/                        USA






More information about the MITgcm-support mailing list