[MITgcm-support] Build with netcdf

Roopashree Shrivastava rss1901 at gmail.com
Fri Jul 27 05:31:18 EDT 2012


Dear all,
 Good afternoon. I have a query with building MITGCM with netcdf enabled.
The details of netcdf installation are as follows

FC=gfortran
CC=gcc
CXX=g++
PATH /home/roopa/netcdf- 3.6.1

I am building MITGCM also with gfortran. The OPTFILE used is
linux_amd64_gfortran. In that i have defined the path of netcdf to the
above installation. however the genmake2 step still shows an error with
building the netcdf enabled binary. The OPTFILE is attached here for
reference

The specific error is "Can we create netcdf enabled binaries   no"
check the lib path  in the netcdf installation

Also in .bashrc I have defined NETCDF_ROOT=/home/roopa/netcdf- 3.6.1

then what should NETCDF_HOME and NETCDF_LIB be set to??. According to me if
NETCDF_ROOT is defined then NETCDF_HOME and NETCDF_LIB are not needed.

Thanks to all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20120727/bffccf50/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux_amd64_gfortran
Type: application/octet-stream
Size: 4833 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20120727/bffccf50/attachment-0001.obj>


More information about the MITgcm-support mailing list