[RegCNET] RegCM4 compilation

Travis O'Brien tobrien at ucsc.edu
Mon Aug 9 18:26:40 CEST 2010


Hello Owanda,

It looks like your NetCDF library was configured with the '--with-hdf5=...'
option.  You might try to reconfigure and rebuild your NetCDF library
without that option, since RegCM4 doesn't presently make use of the HDF5
features of NetCDF4.

I hope this helps,
-Travis-

On Mon, Aug 9, 2010 at 9:12 AM, Owanda Otieno <owandaotieno at gmail.com>wrote:

>
> Dear all:
> I am trying to install RegCM4 but I am experiencing problem in compilation.
> The following is the process and the error,
>
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2434: undefined
> reference to `H5T_NATIVE_INT_g'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2434: undefined
> reference to `H5Acreate1'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2434: undefined
> reference to `H5open'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2434: undefined
> reference to `H5T_NATIVE_INT_g'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2434: undefined
> reference to `H5Awrite'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2434: undefined
> reference to `H5Sclose'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2434: undefined
> reference to `H5Aclose'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2434: undefined
> reference to `H5Pset_fill_value'
> /home/vincent/models/RegCM4/netcdf/lib/libnetcdf.a(nc4hdf.o): In function
> `rec_reattach_scales':
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:67: undefined
> reference to `H5DSattach_scale'
> /home/vincent/models/RegCM4/netcdf/lib/libnetcdf.a(nc4hdf.o): In function
> `create_group':
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2197: undefined
> reference to `H5open'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2197: undefined
> reference to `H5P_CLS_GROUP_CREATE_g'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2197: undefined
> reference to `H5Pcreate'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2199: undefined
> reference to `H5Pset_link_creation_order'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2201: undefined
> reference to `H5Pset_attr_creation_order'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2203: undefined
> reference to `H5Gcreate2'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2206: undefined
> reference to `H5Pclose'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2218: undefined
> reference to `H5Pclose'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2220: undefined
> reference to `H5Gclose'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2212: undefined
> reference to `H5Gopen2'
> /home/vincent/models/RegCM4/netcdf/lib/libnetcdf.a(nc4hdf.o): In function
> `write_nc3_strict_att':
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2150: undefined
> reference to `H5Aget_num_attrs'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2154: undefined
> reference to `H5Aopen_idx'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2156: undefined
> reference to `H5Aget_name'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2168: undefined
> reference to `H5Screate'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2171: undefined
> reference to `H5open'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2170: undefined
> reference to `H5T_NATIVE_INT_g'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2170: undefined
> reference to `H5Acreate1'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2173: undefined
> reference to `H5open'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2173: undefined
> reference to `H5T_NATIVE_INT_g'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2173: undefined
> reference to `H5Awrite'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2179: undefined
> reference to `H5Aclose'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2177: undefined
> reference to `H5Sclose'
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2160: undefined
> reference to `H5Aclose'
> /home/vincent/models/RegCM4/netcdf/lib/libnetcdf.a(nc4hdf.o): In function
> `attach_dimscales':
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:2263: undefined
> reference to `H5DSattach_scale'
> /home/vincent/models/RegCM4/netcdf/lib/libnetcdf.a(nc4hdf.o): In function
> `nc4_free_global_hdf_string_typeid':
> /machine/netcdf/nc_test_22752/netcdf-4.0.1/libsrc4/nc4hdf.c:495: undefined
> reference to `H5Tclose'
> make[1]: *** [terrain] Error 1
> make[1]: Leaving directory
> `/home/vincent/models/RegCM4/RegCM-4.0/PreProc/Terrain'
> make: *** [terrain] Error 2
> Any help please,
> Thank you
> --
> Owanda Otieno
> Department of Natural Resources and the Environment
> University of Connecticut
> 1376 Storrs Road, Unit 4087
> Storrs, CT 06269-4087
> Phone: (860) 486-1876
>
>
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
>



-- 
Travis O'Brien
Ph. D Candidate
Earth and Planetary Sciences, UCSC
(831) 824-4103
http://pmc.ucsc.edu/~tobrien/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20100809/2ba88ede/attachment.html>


More information about the RegCNET mailing list