NOTE: The netcdf-porting
mailing list is no longer active. The list archives are made available for historical reasons.
Everything builds okay but when I try to run the tests I get a failure to link the fortran: libtool: link: ifort -I../fortran -I../f90 -I../f90 -I../include -I../oc -g -o .libs/tst_f90 tst_f90.o ../fortran/.libs/libnetcdff.dylib /Users/jedwards/src/netcdf-4.1.3/liblib/.libs/libnetcdf.dylib -lm -lz -lcurl Undefined symbols for architecture x86_64: "_typesizes_mp_bytesizesok_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_create_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_def_dim_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_def_var_manydims_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_put_att_text_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_put_att_fourbytereal_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_put_att_one_fourbytereal_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_def_var_onedim_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_def_var_scalar_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_enddef_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_put_var_1d_fourbytereal_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_put_var_1d_fourbyteint_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_put_var_text_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_put_var_3d_fourbytereal_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_put_var_fourbyteint_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_close_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_open_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_inq_varid_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_get_att_text_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_get_var_text_", referenced from: _MAIN__ in tst_f90.o "_netcdf_mp_nf90_strerror_", referenced from: _netcdftest_IP_check_ in tst_f90.o ld: symbol(s) not found for architecture x86_64 A search of the archive indicates that at least a couple of people have reported the same problem with gfortran on mac os. -- Jim Edwards CESM Software Engineering Group National Center for Atmospheric Research Boulder, CO 303-497-1842
netcdf-porting
archives: