[MITgcm-devel] gfortran 4.0.0 an ptracers_readparms

Ed Hill ed at eh3.com
Sun Mar 12 10:38:44 EST 2006


On Sun, 2006-03-12 at 09:32 -0500, Ed Hill wrote:

> Yes, name-mangling has changed between g77 and gfortran.  For g77,
> you'll want to use a recent (3.6.0 or later) version of netCDF thats
> been compiled with:
> 
>   CPPFLAGS="-fPIC"

Oh, a quick clarification!  The above works if the netCDF configure
script determines that g77 is your default compiler, which may or may
not happen on Mac OSX.  The way to make it explicit is to use the
-Df2cFortran flag.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the MITgcm-devel mailing list