ROMS Installation problem

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
hellyj

ROMS Installation problem

#1 Unread post by hellyj »

Hi.

I'm trying to build ROMS 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?

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.
John Helly

hellyj

Re: ROMS Installation problem

#2 Unread post by hellyj »

Hi.
Actually, it looks like the earlier posted error may be caused by this but I still don't know why. Any help appreciated.

/ROMS/Projects/Upwelling/Build/wrt_rst.o /Users/hellyj/src/ROMS/Projects/Upwelling/Build/wrt_station.o /Users/hellyj/src/ROMS/Projects/Upwelling/Build/wrt_tides.o /Users/hellyj/src/ROMS/Projects/Upwelling/Build/zeta_balance.o
ar: creating archive /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(array_modes.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(back_cost.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(cgradient.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(cost_grad.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(distribute.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(dotproduct.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(extract_obs.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(frc_weak.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(ini_adjust.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(ini_lanczos.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(mp_exchange.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(normalization.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(oi_update.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(packing.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(posterior.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(posterior_var.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(random_ic.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(set_2dfldr.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(set_3dfldr.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(set_masks.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(sum_grad.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(wpoints.o) has no symbols
/usr/bin/ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(zeta_balance.o) has no symbols
ranlib /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(array_modes.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(back_cost.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(cgradient.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(cost_grad.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(distribute.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(dotproduct.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(extract_obs.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(frc_weak.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(ini_adjust.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(ini_lanczos.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(mp_exchange.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(normalization.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(oi_update.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(packing.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(posterior.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(posterior_var.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(random_ic.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(set_2dfldr.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(set_3dfldr.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(set_masks.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(sum_grad.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(wpoints.o) has no symbols
ranlib: file: /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libUTIL.a(zeta_balance.o) has no symbols

Post Reply