This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hello,
We will certainly try to get this working for you; can you provide the output
if you run nf_test by itself? This will provide some indicator of what is
occurring. From that, we can hopefully diagnose the issue.
Thanks!
-Ward
> Dear Support team,
>
> I really hope you can solve my problem:
>
>
> I need to install parallel version of netcdf. I have :
>
> 1) installed hdf5 (1.8.13) with static and parallel configuration
>
> 2) installed netcdf-C (4.3.3.1) all went well as you can see from nc-config
> -all
>
> --cc -> /usr/lib64/openmpi/bin/mpicc
> --cflags -> -I/home/andore/local/include -I/home/andore/local/include
> -I/home/andore/local/zlib/include
> --libs -> -L/home/andore/local/lib -L/home/andore/local/lib
> -L/home/andore/local/zlib/lib -lnetcdf -lhdf5_hl -lhdf5 -ldl -lm -lz -lcurl
>
> --has-c++ -> no
> --cxx ->
> --has-c++4 -> no
> --cxx4 ->
>
> --fc -> gfortran
> --fflags -> -I/usr/include
> --flibs -> -lnetcdff
> --has-f90 -> yes
>
> --has-dap -> yes
> --has-nc2 -> yes
> --has-nc4 -> yes
> --has-hdf5 -> yes
> --has-hdf4 -> no
> --has-pnetcdf-> no
>
> --prefix -> /home/andore/local
> --includedir-> /home/andore/local/include
> --version -> netCDF 4.3.3.1
>
>
> 3) when try to install netcdf-fortran (4.4.3) it fails during make check on
> test of nf_test. Attached the config.log and below the commands that I'm
> using to install it.
>
>
> export ZLIB=/home/andore/local/zlib
>
> export H5DIR=/home/andore/local
>
> export NCDIR=/home/andore/local
>
>
> CC=/usr/lib64/openmpi/bin/mpicc \
> FC=/usr/lib64/openmpi/bin/mpif90 \
> F77=/usr/lib64/openmpi/bin/mpif77 \
> CPPFLAGS="-I${NCDIR}/include -I${ZLIB}/include" \
> LDFLAGS="-L${HDF5}/lib -L${ZLIB}/lib" \
> LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:${HDF5}/lib:${ZLIB}/lib \
> LIBS="-lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl" \
> CFLAGS=-DgFortran \
> ./configure --disable-shared --prefix=${HDF5} --enable-parallel-tests
>
> make check
> make install
>
> -----------------------------------------------------------------------------------------------
>
>
>
> Thanks in advance
>
> Best wishes,
>
> Barbara
>
>
>
>
Ticket Details
===================
Ticket ID: GRH-752121
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.