[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20041027: netCDF build with g95 (fwd)



Thomas,

Thanks for sending this in.  I've added it to our "Other Builds"
webpage.

Regards,
Steve Emmerson

NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.

------- Original Message

>To: address@hidden
>From: "Thomas C. Wainwright" <address@hidden>
>Subject: netCDF build with g95
>Organization: NOAA/NMFS/NWFSC, Fish Ecology Division
>Keywords: 200410271557.i9RFvPvV028642 netCDF GNU g95

I didn't find g95 mentioned on your "other builds" web page for netCDF, 
but did find some hints on the mail list.  In case anyone else wants to 
do it, here's what works on my system:

System:  Intel Linux 2.4 (SuSE 8.2)
G95 version:  G95 (GCC 3.5.0 20040824 (experimental) (g95!) Oct 18 2004)
Build script (works for both netCDF 3.5.1 and 3.6.0-beta):

      export FC=g95
      export F90=g95
      export CPPFLAGS="-Df2cFortran"
      ./configure --prefix=/usr/local
      make test
      su -c "make install"

I haven't done extensive testing, but "make test" passes all, and the 
libraries link and work with ROMS (http://marine.rutgers.edu/po/).

- -- 
Tom Wainwright
NOAA/NMFS/NWFSC, Fish Ecology Division
2032 SE OSU Dr., Newport, OR 97365 USA
address@hidden, ph. +1 541 867-0435

- --

------- End of Forwarded Message