[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #JZT-105309]: neCDF 4.3.0 installation issue - Can't find or link to the hdf5 library



Peter,

> I think I have made some progress on this.
> 
> I believe I have made a silly mistake when following the Building netCDF-4.2 
> and later Fortran libraries
> as described in:
> http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-fortran-install.html
> 
> I literally followed the example quoted in Using static libraries, point 3:
> 
> CPPFLAGS="-I${DIR1}/include -I${DIR2}/include" \
> LD_LIBRARY_PATH=${DIR1}/lib:${DIR2}/lib \
> LDFLAGS="-L${DIR1}/lib -L${DIR2}/lib" \
> LIBS="-lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl" \
> ./configure --disable-shared --prefix=${DIR1}
> 
> Here in particular, I have overridden the LD_LIBRARY_PATH set earlier from the
> 
> source /opt/intel/bin/compilervars.sh intel64
> 
> at the beginning of the script.
> 
> By appending LD_LIBRARY_PATH=${DIR1}/lib:${DIR2}/lib:$LD_LIBRARY_PATH
> 
> make check install went through.
> 
> One step forward.

Great, good catch!  I've fixed the documentation.

> I then tried our user's code, but then it hits another set of problems as 
> listed below.
> 
> Do you know if these are user application problem, or some issues with the 
> installation still?
> 
> I am sorry to have troubled you with so many queries, but wish we do have 
> worked out a proper way in installing this kit.
> 
> Kind Regards,
> Peter
> ===============================================================================
> 
> make: Circular post_process_level2.o <- post_process_level2.o dependency 
> dropped.
> /opt/intel/composer_xe_2013.0.079/bin/intel64/ifort  -o post_process_level2  
> vartypes_pp.o   structures_ p.o set_struct_pp.o  nc_write_L2.o  nc_open.o 
> nc_dim_info.o nc_read_file.o nc_close.o  scanline_structur .o  
> alloc_spixel_scan_out_pp.o dealloc_spixel_scan_out_pp.o  
> nc_create_global_pp.o nc_defdata.o  read_in er_file.o  read_inter_sec_file.o 
> read_input_dimensions.o alloc_spixel_scan_out_rt_pp.o post_process_leve 2.o 
> neural_net_constants.o  neural_net.o 
> -L/usr/local/netcdf4.3-intel/nf420_nc430_hdf5_189sz/lib -lnetcd

It looks like that line was truncated, but since the netCDF Fortran library 
wasn't
built as a shared library (I assume), you need to reference both the netCDF 
Fortran
and C libraries, with sometheing like

  ... -lnetcdff -lnetcdf ...

See if that doesn't fix the problem.

--Russ

> nc_write_L2.o: In function `nc_write_l2_float_':
> nc_write_L2.f90:(.text+0x1b3): undefined reference to 
> `netcdf_mp_nf90_put_var_2d_fourbytereal_'
> nc_write_L2.o: In function `nc_write_l2_double_':
> nc_write_L2.f90:(.text+0x4b7): undefined reference to 
> `netcdf_mp_nf90_put_var_2d_eightbytereal_'
> nc_write_L2.o: In function `nc_write_l2_short_':
> nc_write_L2.f90:(.text+0x7b1): undefined reference to 
> `netcdf_mp_nf90_put_var_2d_twobyteint_'
> nc_write_L2.o: In function `nc_write_l2_long_':
> nc_write_L2.f90:(.text+0xaa3): undefined reference to 
> `netcdf_mp_nf90_put_var_2d_fourbyteint_'
> nc_write_L2.o: In function `nc_write_l2_byte_':
> nc_write_L2.f90:(.text+0xd97): undefined reference to 
> `netcdf_mp_nf90_put_var_2d_onebyteint_'
> nc_open.o: In function `nc_open_':
> nc_open.f90:(.text+0xb2): undefined reference to `netcdf_mp_nf90_open_'
> nc_dim_info.o: In function `nc_info_':
> nc_dim_info.f90:(.text+0x8): undefined reference to `netcdf_mp_nf90_inquire_'
> nc_dim_info.o: In function `nc_dim_id_':
> nc_dim_info.f90:(.text+0x50): undefined reference to 
> `netcdf_mp_nf90_inq_dimid_'
> nc_dim_info.o: In function `nc_dim_length_':
> nc_dim_info.f90:(.text+0x171): undefined reference to 
> `netcdf_mp_nf90_inquire_dimension_'
> nc_read_file.o: In function `nc_read_array_2d_float_orac_':
> nc_read_file.f90:(.text+0xec): undefined reference to 
> `netcdf_mp_nf90_inq_varid_'
> nc_read_file.f90:(.text+0x24d): undefined reference to 
> `netcdf_mp_nf90_get_var_2d_fourbytereal_'
> nc_read_file.f90:(.text+0x287): undefined reference to 
> `netcdf_mp_nf90_get_att_text_'
> nc_read_file.f90:(.text+0x304): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbytereal_'
> nc_read_file.f90:(.text+0x388): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbytereal_'
> nc_read_file.f90:(.text+0x40c): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbytereal_'
> nc_read_file.f90:(.text+0x490): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbytereal_'
> nc_read_file.f90:(.text+0x514): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbytereal_'
> nc_read_file.o: In function `nc_read_array_2d_short_orac_':
> nc_read_file.f90:(.text+0xd26): undefined reference to 
> `netcdf_mp_nf90_inq_varid_'
> nc_read_file.f90:(.text+0xe8a): undefined reference to 
> `netcdf_mp_nf90_get_var_2d_twobyteint_'
> nc_read_file.f90:(.text+0xec4): undefined reference to 
> `netcdf_mp_nf90_get_att_text_'
> nc_read_file.f90:(.text+0xf44): undefined reference to 
> `netcdf_mp_nf90_get_att_one_twobyteint_'
> nc_read_file.f90:(.text+0xfc1): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbytereal_'
> nc_read_file.f90:(.text+0x103e): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbytereal_'
> nc_read_file.f90:(.text+0x10bb): undefined reference to 
> `netcdf_mp_nf90_get_att_one_twobyteint_'
> nc_read_file.f90:(.text+0x1138): undefined reference to 
> `netcdf_mp_nf90_get_att_one_twobyteint_'
> nc_read_file.o: In function `nc_read_array_2d_short_to_short_orac_':
> nc_read_file.f90:(.text+0x1978): undefined reference to 
> `netcdf_mp_nf90_inq_varid_'
> nc_read_file.f90:(.text+0x1adc): undefined reference to 
> `netcdf_mp_nf90_get_var_2d_twobyteint_'
> nc_read_file.f90:(.text+0x1b16): undefined reference to 
> `netcdf_mp_nf90_get_att_text_'
> nc_read_file.f90:(.text+0x1b96): undefined reference to 
> `netcdf_mp_nf90_get_att_one_twobyteint_'
> nc_read_file.f90:(.text+0x1c13): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbyteint_'
> nc_read_file.f90:(.text+0x1c90): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbyteint_'
> nc_read_file.f90:(.text+0x1d0d): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbyteint_'
> nc_read_file.f90:(.text+0x1d8a): undefined reference to 
> `netcdf_mp_nf90_get_att_one_fourbyteint_'
> nc_read_file.o: In function `nc_read_array_2d_double_orac_':
> nc_read_file.f90:(.text+0x24ad): undefined reference to 
> `netcdf_mp_nf90_inq_varid_'
> nc_read_file.f90:(.text+0x263e): undefined reference to 
> `netcdf_mp_nf90_get_var_2d_eightbytereal_'
> nc_read_file.f90:(.text+0x266d): undefined reference to 
> `netcdf_mp_nf90_get_att_one_eightbytereal_'
> nc_read_file.o: In function `nc_read_array_2d_byte_orac_':
> nc_read_file.f90:(.text+0x28d9): undefined reference to 
> `netcdf_mp_nf90_inq_varid_'
> nc_read_file.f90:(.text+0x2a37): undefined reference to 
> `netcdf_mp_nf90_get_var_2d_onebyteint_'nc_read_file.f90:(.text+0x2a71): 
> undefined reference to `netcdf_mp_nf90_get_att_text_'
> nc_read_file.f90:(.text+0x2af1): undefined reference to 
> `netcdf_mp_nf90_get_att_one_onebyteint_'
> nc_read_file.f90:(.text+0x2bbb): undefined reference to 
> `netcdf_mp_nf90_get_att_one_onebyteint_'
> nc_read_file.f90:(.text+0x2c82): undefined reference to 
> `netcdf_mp_nf90_get_att_one_onebyteint_'
> nc_read_file.f90:(.text+0x2d49): undefined reference to 
> `netcdf_mp_nf90_get_att_one_onebyteint_'
> nc_read_file.f90:(.text+0x2e10): undefined reference to 
> `netcdf_mp_nf90_get_att_one_onebyteint_'
> nc_close.o: In function `nc_close_':
> nc_close.f90:(.text+0x29): undefined reference to `netcdf_mp_nf90_close_'
> nc_create_global_pp.o: In function `nc_create_global_l2_':
> nc_create_global_pp.f90:(.text+0x7b): undefined reference to 
> `netcdf_mp_nf90_create_'
> nc_create_global_pp.f90:(.text+0x1e9): undefined reference to 
> `netcdf_mp_nf90_def_dim_'
> nc_create_global_pp.f90:(.text+0x20e): undefined reference to 
> `netcdf_mp_nf90_def_dim_'
> nc_create_global_pp.f90:(.text+0x28c): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_create_global_pp.f90:(.text+0x2ec): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_create_global_pp.f90:(.text+0x34c): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_create_global_pp.f90:(.text+0x3ac): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_create_global_pp.f90:(.text+0x40c): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_create_global_pp.o:nc_create_global_pp.f90:(.text+0x46c): more undefined 
> references to `netcdf_mp_nf9 _put_att_text_' follow
> nc_create_global_pp.o: In function `nc_create_global_l2_':
> nc_create_global_pp.f90:(.text+0xd94): undefined reference to 
> `netcdf_mp_nf90_enddef_'
> nc_defdata.o: In function `nc_defdata_float_':
> nc_defdata.f90:(.text+0xd1): undefined reference to `netcdf_mp_nf90_redef_'
> nc_defdata.f90:(.text+0x1cb): undefined reference to 
> `netcdf_mp_nf90_def_var_manydims_'
> nc_defdata.f90:(.text+0x23d): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x2ab): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x31a): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x385): undefined reference to 
> `netcdf_mp_nf90_put_att_one_fourbytereal_'
> nc_defdata.f90:(.text+0x3ed): undefined reference to 
> `netcdf_mp_nf90_put_att_one_fourbytereal_'
> nc_defdata.f90:(.text+0x44f): undefined reference to 
> `netcdf_mp_nf90_put_att_one_fourbytereal_'
> nc_defdata.f90:(.text+0x4b1): undefined reference to 
> `netcdf_mp_nf90_put_att_one_fourbytereal_'
> nc_defdata.f90:(.text+0x513): undefined reference to 
> `netcdf_mp_nf90_put_att_one_fourbytereal_'
> nc_defdata.f90:(.text+0x56c): undefined reference to `netcdf_mp_nf90_enddef_'
> nc_defdata.o: In function `nc_defdata_float_no_att_':
> nc_defdata.f90:(.text+0x76f): undefined reference to 
> `netcdf_mp_nf90_redef_'nc_defdata.f90:(.text+0x866): undefined reference to 
> `netcdf_mp_nf90_def_var_manydims_'
> nc_defdata.f90:(.text+0x8cf): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x934): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x996): undefined reference to 
> `netcdf_mp_nf90_put_att_one_fourbytereal_'
> nc_defdata.f90:(.text+0x9ef): undefined reference to `netcdf_mp_nf90_enddef_'
> nc_defdata.o: In function `nc_defdata_double_':
> nc_defdata.f90:(.text+0xc31): undefined reference to `netcdf_mp_nf90_redef_'
> nc_defdata.f90:(.text+0xd2b): undefined reference to 
> `netcdf_mp_nf90_def_var_manydims_'
> nc_defdata.f90:(.text+0xd9d): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0xe0b): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0xe7a): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0xee5): undefined reference to 
> `netcdf_mp_nf90_put_att_one_eightbytereal_'
> nc_defdata.f90:(.text+0xf4d): undefined reference to 
> `netcdf_mp_nf90_put_att_one_eightbytereal_'
> nc_defdata.f90:(.text+0xfaf): undefined reference to 
> `netcdf_mp_nf90_put_att_one_eightbytereal_'
> nc_defdata.f90:(.text+0x1011): undefined reference to 
> `netcdf_mp_nf90_put_att_one_eightbytereal_'
> nc_defdata.f90:(.text+0x1073): undefined reference to 
> `netcdf_mp_nf90_put_att_one_eightbytereal_'
> nc_defdata.f90:(.text+0x10cc): undefined reference to `netcdf_mp_nf90_enddef_'
> nc_defdata.o: In function `nc_defdata_short_':
> nc_defdata.f90:(.text+0x1301): undefined reference to `netcdf_mp_nf90_redef_'
> nc_defdata.f90:(.text+0x13fb): undefined reference to 
> `netcdf_mp_nf90_def_var_manydims_'
> nc_defdata.f90:(.text+0x1498): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x1506): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x1575): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x15e0): undefined reference to 
> `netcdf_mp_nf90_put_att_one_twobyteint_'
> nc_defdata.f90:(.text+0x164b): undefined reference to 
> `netcdf_mp_nf90_put_att_one_fourbytereal_'
> nc_defdata.f90:(.text+0x16b3): undefined reference to 
> `netcdf_mp_nf90_put_att_one_fourbytereal_'
> nc_defdata.f90:(.text+0x1715): undefined reference to 
> `netcdf_mp_nf90_put_att_one_twobyteint_'
> nc_defdata.f90:(.text+0x1777): undefined reference to 
> `netcdf_mp_nf90_put_att_one_twobyteint_'
> nc_defdata.f90:(.text+0x17d0): undefined reference to `netcdf_mp_nf90_enddef_'
> nc_defdata.o: In function `nc_defdata_short_no_units_':
> nc_defdata.f90:(.text+0x19df): undefined reference to `netcdf_mp_nf90_redef_'
> nc_defdata.f90:(.text+0x1ad9): undefined reference to 
> `netcdf_mp_nf90_def_var_manydims_'
> nc_defdata.f90:(.text+0x1b4b): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x1bb9): undefined reference to 
> `netcdf_mp_nf90_put_att_text_'
> nc_defdata.f90:(.text+0x1c24): undefined reference to 
> `netcdf_mp_nf90_put_att_one_twobyteint_'
> ...
> nc_defdata.f90:(.text+0x3bd1): undefined reference to 
> `netcdf_mp_nf90_put_att_one_twobyteint_'
> nc_defdata.f90:(.text+0x3c2a): undefined reference to `netcdf_mp_nf90_enddef_'
> read_inter_file.o: In function `read_inter_file_ice_':
> read_inter_file.f90:(.text+0x345d): undefined reference to 
> `netcdf_mp_nf90_close_'
> read_inter_file.o: In function `read_inter_file_water_':
> read_inter_file.f90:(.text+0xb4fd): undefined reference to 
> `netcdf_mp_nf90_close_'
> read_inter_sec_file.o: In function `read_refl_and_bt_':
> read_inter_sec_file.f90:(.text+0xea5): undefined reference to 
> `netcdf_mp_nf90_close_'
> read_inter_sec_file.o: In function `read_inter_sec_file_':
> read_inter_sec_file.f90:(.text+0x24ec): undefined reference to 
> `netcdf_mp_nf90_close_'
> read_input_dimensions.o: In function `read_input_dimensions_':
> read_input_dimensions.f90:(.text+0x8fd): undefined reference to 
> `netcdf_mp_nf90_close_'
> make: *** [post_process_level2] Error 1
> apps3> ls
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Unidata netCDF Support [mailto:address@hidden]
> Sent: 26 June 2013 16:52
> To: Chiu, Peter (STFC,RAL,RALSP)
> Cc: address@hidden; SDDCS
> Subject: [netCDF #JZT-105309]: neCDF 4.3.0 installation issue - Can't find or 
> link to the hdf5 library
> 
> > Hello Russ,
> >
> > Well, I have just tried your suggestion tonight, but still no joy.
> >
> > I have included
> > source /opt/intel/bin/iccvars.sh intel64
> >
> > source /opt/intel/bin/ifortvars.sh intel64
> >
> > but get similar errors...
> >
> > Here are the config.log, the make script and the make log.
> 
> The error messages you're getting, that the icc compiler fails to build a 
> trivial C program when "-lnetcdf" is included because of missing internal 
> Intel libraries, still don't seem to have anything to do with netCDF.
> 
> You may be overspecifying things in your environment variables, according to 
> the Intel instructions for building an earlier version of netCDF
> libraries:
> 
> http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers/index.htm
> 
> There, they recommend just using
> 
> export CC=icc
> export CXX=icpc
> 
> instead of the full paths to the compilers, which should be found anyway 
> after running
> 
> source <compiler_install_dir>/bin/compilervars.sh intel64
> 
> (They also imply the above is sufficient, and that you shouldn't need to  
> source other files.)
> 
> I'm still not sure why you're using "--disable-shared".  Insisting on making 
> only a static library may have something to do with the problem you're seeing.
> 
> If the above doesn't resolve the problem, I suggest asking Intel support for 
> help explaining what causes these compiler errors and warnings that appear in 
> the config.log:
> 
> icc: warning #10237: -lcilkrts linked in dynamically, static library not 
> available
> ld: warning: libimf.so, needed by 
> /usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib/libnetcdf.so, not found (try 
> using -rpath or -rpath-link)
> ld: warning: libsvml.so, needed by 
> /usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib/libnetcdf.so, not found (try 
> using -rpath or -rpath-link)
> ld: warning: libirng.so, needed by 
> /usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib/libnetcdf.so, not found (try 
> using -rpath or -rpath-link)
> ld: warning: libintlc.so.5, needed by 
> /usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib/libnetcdf.so, not found (try 
> using -rpath or -rpath-link)
> ld: a.out: hidden symbol `__intel_cpu_indicator_init' in 
> /opt/intel/composer_xe_2013.0.079/compiler/lib/intel64/libirc.a(cpu_disp.o) 
> is referenced by DSO
> ld: final link failed: Nonrepresentable section on output
> 
> By the way, it has nothing to do with this problem, but your script has a 
> mistake (commented out) for the hdf5 build.  You should change
> 
> #./configure --prefix=${H5DIR} --with-szlib=${SZDIR} --enable-fortran 
> --enable-cxx
> #make check install
> 
> to
> 
> #./configure --prefix=${H5DIR} --with-szlib=${SZDIR} --enable-fortran 
> --enable-cxx
> #make all check install
> 
> as explained in a previous response.  That would have permitted you to use 
> HDF5-1.8.11 instead of HDF5-1.8.9.  But I don't think that has any relevance 
> to the problem you're seeing now.
> 
> If you find a solution to the icc problem, please let us know ...
> 
> --Russ
> 
> > From: Unidata netCDF Support [address@hidden]
> > Sent: 23 June 2013 22:46
> > To: Chiu, Peter (STFC,RAL,RALSP)
> > Cc: address@hidden; SDDCS
> > Subject: [netCDF #JZT-105309]: neCDF 4.3.0 installation issue - Can't
> > find or link to the hdf5 library
> >
> > Hi Peter or Brian,
> >
> > > In the meantime, I did try the build with HDF5.1.8.9, and managed to get 
> > > through the netcdf-4.3.0 installation.
> > > I have an installed binary on /usr/local/netcdf4.3-intel/nc430_hdf5_189sz 
> > > .
> > >
> > > When the script proceeds with netcdf-fortran-4.2, it then fails.
> >
> > From these errors in config.log, it appears the environment is not set
> > up correctly for running icc:
> >
> > configure:3796: checking whether the C compiler works
> > configure:3818: /opt/intel/composer_xe_2013.0.079/bin/intel64/icc -O3
> > -xHost -ip -no-prec-div -static-intel
> > -I/usr/local/netcdf4.3-intel/nc430_hdf5_189sz/include
> > -I/usr/local/netcdf4.3-intel/hdf5_189sz/include
> > -L/usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib
> > -L/usr/local/netcdf4.3-intel/hdf5_189sz/lib conftest.c -lnetcdf
> > -lhdf5_hl -lhdf5 -lz -lcurl >&5
> > icc: warning #10237: -lcilkrts linked in dynamically, static library
> > not available
> > ld: warning: libimf.so, needed by
> > /usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib/libnetcdf.so, not
> > found (try using -rpath or -rpath-link)
> > ld: warning: libsvml.so, needed by
> > /usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib/libnetcdf.so, not
> > found (try using -rpath or -rpath-link)
> > ld: warning: libirng.so, needed by
> > /usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib/libnetcdf.so, not
> > found (try using -rpath or -rpath-link)
> > ld: warning: libintlc.so.5, needed by
> > /usr/local/netcdf4.3-intel/nc430_hdf5_189sz/lib/libnetcdf.so, not
> > found (try using -rpath or -rpath-link)
> > ld: a.out: hidden symbol `__intel_cpu_indicator_init' in
> > /opt/intel/composer_xe_2013.0.079/compiler/lib/intel64/libirc.a(cpu_di
> > sp.o) is referenced by DSO
> > ld: final link failed: Nonrepresentable section on output
> > configure:3822: $? = 1
> > configure:3860: result: no
> >
> > All those libraries libimf, libsvml, libirng, and libintlc are
> > supposed to be installed for icc.
> >
> > Have you run
> >
> > source /opt/intel/bin/iccvars.sh intel64
> >
> > before compiling with icc in this shell?
> >
> > --Russ
> >
> > > configure: error: C compiler cannot create executables See
> > > `config.log' for more details
> > > make: *** No rule to make target `check'.  Stop.
> > >
> > > I have attached the script, make.log and config.log on netcdf-fortran-4.2 
> > > .
> > >
> > > Much appreciated if you can look into this too.
> > >
> > > By the way, I need to be away for few days.  I might need to ask my 
> > > colleague Brian Coan to liaise with you on this.
> > > You can reach us on address@hidden.
> > >
> > > Thanks.
> > > Regards,
> > > Peter
> > >
> > >
> > > ________________________________________
> > > From: Unidata netCDF Support [address@hidden]
> > > Sent: 21 June 2013 22:13
> > > To: Chiu, Peter (STFC,RAL,RALSP)
> > > Cc: address@hidden
> > > Subject: [netCDF #JZT-105309]: neCDF 4.3.0 installation issue -
> > > Can't find or link to the hdf5 library
> > >
> > > Oops, sorry, I just noticed the error you are seeing in h5dump was
> > > caused by a last minute "simplification" I made to the script I
> > > included which was actually a mistake.  The line for building
> > > HDF5-1.8.11 should be corrected from
> > >
> > > ./configure --prefix=${H5DIR} --with-szlib=${SZDIR} && make check
> > > install
> > >
> > > to
> > >
> > > ./configure --prefix=${H5DIR} --with-szlib=${SZDIR} && make all
> > > check install
> > >
> > > because otherwise the utilities like h5dump don't get built before
> > > they're needed in some of the tests.
> > >
> > > I'm testing again with that fix and it looks like things are OK.
> > >
> > > Sorry!
> > >
> > > --Russ
> > >
> > >
> > > > Peter,
> > > >
> > > > > Looks like not my luck day.
> > > > >
> > > > > I have tried downloaded the HDF5 1.8.11, but unfortunately the hdf5 
> > > > > wont build with the Intel compilers.
> > > > > It failed on some H5dump tests. I have attached the logs.
> > > >
> > > > The configure for HDF5-1.8.11 worked fine.
> > > >
> > > > I can't see what H5dump test failed in the files you attached,
> > > > which seem to be for the netCDF-4.3.0 build rather than the
> > > > HDF5-1.8.11 build.  If you still have the log or details for that 
> > > > failure, could you send them?
> > > >
> > > > I also can't see the details of what went wrong in the
> > > > netCDF-4.3.0 test, for which the apps3-build-netcdf-hdf5.1811.log
> > > > just reports one failure in nc_test and says
> > > >
> > > > See nc_test/test-suite.log
> > > >
> > > > If you've still got that, could you send it?  It's possible it is
> > > > a bug in a test rather than the library code.
> > > >
> > > > --Russ
> > > >
> > > > > I am retrying this with HDF5 1.8.9.
> > > > >
> > > > > Peter
> > > > >
> > >
> > > --
> > > Scanned by iCritical.
> > >
> > >
> > >
> >
> > Russ Rew                                         UCAR Unidata Program
> > address@hidden                      http://www.unidata.ucar.edu
> >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: JZT-105309
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> >
> >
> > --
> > Scanned by iCritical.
> >
> >
> >
> Russ Rew                                         UCAR Unidata Program
> address@hidden                      http://www.unidata.ucar.edu
> 
> 
> 
> Ticket Details
> ===================
> Ticket ID: JZT-105309
> Department: Support netCDF
> Priority: Normal
> Status: Closed
> 
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: JZT-105309
Department: Support netCDF
Priority: Normal
Status: Closed