[RegCNET] Problem with NetCDF 4.1.2 and Gfortran 4.4.x

Martin Scarcia scarcia at sissa.it
Thu May 26 09:58:03 CEST 2011


Hello everybody!

We found that the latest versions of the NetCDF library will not
properly link to RegCM when using the GNU Fortran compiler due to a
change in Fortran name mangling in the newer versions of the compiler
suite (the problem was discovered in version 4.4.4). To overcome this
you need to compile the netcdf library by running the configure with
the following preprocessing flags prepended:

CPPFLAGS=-DgFortran ./configure ...etc

Reference is:

http://mailman.unidata.ucar.edu/support/help/MailArchives/netcdf/msg09208.html

Martin



More information about the RegCNET mailing list