[MITgcm-support] MITgcm now uses NetCDF (was: Re: testreport on G4, mnc)
Ed Hill
ed at eh3.com
Fri Sep 24 07:52:58 EDT 2004
On Fri, 2004-09-24 at 05:41, Martin Losch wrote:
> Hi Ed,
> my Mac G4 PowerBook just completed a testreport with a lot fails (I
> used the -addr option!). I have the impression that all experiments
> that did not compile have a data.mnc in them and the netcdf.inc was not
> found. What could be going on?
Hi Martin,
I'm moving this response over to the support list since a lot of users
will probably want to see it.
We're becoming more serious about NetCDF and have added it to the
following verification experiments:
aim.5l_cs, dic_example, exp0, global_ocean.90x40x15,
hs94.cs-32x32x5
So to get them all to pass you will need to first install NetCDF. Its
really easy. The commands for the Mac with g77 are:
$ wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.5.1.tar.Z
$ gunzip netcdf-3.5.1.tar.Z
$ tar -xvf netcdf-3.5.1.tar
$ cd netcdf-3.5.1/src/
$ export CFLAGS="-Df2cFortran -fPIC"
$ export CPPFLAGS="-DNDEBUG -Df2cFortran -fPIC"
$ ./configure --prefix=/usr
$ make
$ sudo make install
and this was verified yesterday on a brand-new dual-G5.
For Linux systems using g77 as the compiler, you can do the same
source-based install as above or you can use convenient binary RPMs
available at:
http://mitgcm.org/eh3/packages/
which have been tested on RH 8 and 9, Fedora Core 1 and 2, and SuSE
9.x. I've become the official packager of NetCDF for Fedora Extras and
it will soon appear in the list of available packages at:
http://www.fedora.us/
For non-g77 installs, you may have to use a slightly different set of
compiler flags. I've installed NetCDF for the following compilers:
Intel ifc v5.x, v6.x, 7.x; Intel ifort v8.0; Intel efc
PGI v3.2
and the NetCDF home pages have plenty of details on how to get it
working on other systems:
http://my.unidata.ucar.edu/content/software/netcdf/index.html
http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html
If you run into any problems, please let us know and we'll try to help.
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-support
mailing list