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

[netCDF #IKM-527849]: netcdf parallel compilation: nc_test fail



Hi Michael,

> I read in another thread that you wanted config.log and output from the
> make check, so here you have that aswell.

I think the problem is the old version of HDF5 (1.8.4) you are using with
a new version of netCDF (4.3.0).  We didn't test netCDF 4.3.0 with versions
of HDF5 before 1.8.9, and recommend using it with HDF5 1.8.11.  Earlier
versions of HDF5 had bugs that affected netCDF, which tests that those
bugs have been fixed when "make check" is invoked. I just tried building 
netCDF-4.3.0 with HDF5-1.8.4p1, and it got an error from "make check"
similar to what you are seeing.

I recommend building HDF5-1.8.11 from source and installing that before
trying to build netCDF-4.3.0.  The HDF5 build is very robust and builds
on most systems with no problems.  You can just use all the defaults for
configure except you should add --enable-parallel and use CC=mpicc if you
want parallel HDF5, required for parallel netCDF-4.

Here's instructions:

  http://www.unidata.ucar.edu/netcdf/docs/build_default.html
  http://www.unidata.ucar.edu/netcdf/docs/build_parallel.html

--Russ

> -------- Original Message --------
> Subject:      Fwd: netcdf parallel compilation: nc_test fail
> Date:         Wed, 18 Sep 2013 11:58:42 +0200
> From:         Michael Burger <address@hidden>
> Reply-To:     address@hidden
> To:   address@hidden
> 
> 
> 
> I forgot to mention that I also set:
> 
> declare -x H5DIR=/usr
> declare -x CPPFLAGS="-I/usr/inlude"
> declare -x CC=mpicc
> declare -x LDFLAGS=-L/usr/lib
> declare -x LIBS=-ldl
> 
> 
> -------- Original Message --------
> Subject:      netcdf parallel compilation: nc_test fail
> Date:         Wed, 18 Sep 2013 11:53:35 +0200
> From:         Michael Burger <address@hidden>
> Reply-To:     address@hidden
> To:   address@hidden
> 
> 
> 
> I installed Ubuntu 10.04 LTS (amd64) and added:
> 
> mpich2
> mpich-bin
> libmpich2-1.2
> libmpich2-dev
> zlib1g
> zlib1g-dev
> gfortran
> g++
> libstdc++6-4.4-dev
> hdf5-tools
> libhdf5-mpich-1.8.4
> libhdf5-mpich-dev
> libjpeg62-dev
> libmpich1.0-dev
> libmpich1.0gf
> libhdf5-doc
> mpi-doc
> 
> uname -a:
> 
> Linux misu197 2.6.32-51-generic #113-Ubuntu SMP Wed Aug 21 19:46:35 UTC
> 2013 x86_64 GNU/Linux
> 
> Unpacked netcdf-4.3.0.tar.gz
> ./configure --prefix=/local/opt/netcdf --disable-shared
> --enable-parallel-tests
> 
> 
> 
> 
> 
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: IKM-527849
Department: Support netCDF
Priority: Normal
Status: Closed