Hi.
I'm trying to build ROMS (an ocean model) for the first time on OSX 10.6.7 and
appear to be having problems with netcdf-4. I rebuilt netcdf-4.1.3 using
hdf-1.8.6 (with zlib-1.2.5) and everything appeared to go well with that using
this configure command:
./configure --prefix=/usr/local/netcdf-4.1.3 --enable-netcdf-4 --enable-f90
--with-hdf5=/usr/local/hdf5-1.8.6
However, when I try to build ROMS against that and this is the top of what I
get. Can anyone suggest whant this might be due to? Perhaps I didn't build
netcdf correctly?
Users/hellyj/src/ROMS/Projects/Upwelling/Build/libANA.a
/Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a
/Users/hellyj/src/ROMS/Projects/Upwelling/Build/libMODS.a
-L/usr/local/netcdf/lib -lnetcdf -L/usr/local/hdf5/lib -lhdf5_hl -lhdf5 -lz
-lcurl
Undefined symbols:
"___netcdf_MOD_nf90_create", referenced from:
___mod_netcdf_MOD_netcdf_create in libMODS.a(mod_netcdf.o)
"___netcdf_MOD_nf90_put_var_1d_eightbytereal", referenced from:
___nf_fwrite3d_mod_MOD_nf_fwrite3d in libUTIL.a(nf_fwrite3d.o)
___mod_netcdf_MOD_netcdf_put_fvar_1d in libMODS.a(mod_netcdf.o)
___mod_netcdf_MOD_netcdf_put_fvar_0d in libMODS.a(mod_netcdf.o)
___nf_fwrite2d_mod_MOD_nf_fwrite2d in libUTIL.a(nf_fwrite2d.o)
"___netcdf_MOD_nf90_get_var_3d_eightbytereal", referenced from:
___mod_netcdf_MOD_netcdf_get_fvar_3d in libMODS.a(mod_netcdf.o)
Thanks.
Cheers.
--------------
John Helly, University of California, San Diego / San Diego Supercomputer
Center / Scripps Institution of Oceanography / 760 840 8660 mobile /
stonesteps7 (Skype) / stonesteps7 (iChat) / http://www.sdsc.edu/~hellyj