NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] Cannot compile netcdf 4.4.1.1 parallel tests

Hi,

I'm trying to build netcdf 4.4.1.1 and am having trouble compiling the parallel tests - can anyone help, please? They compile in 4.4.1 with the same method.

Doing this on a centos7 x86_64 machine with the OS-bundled copy of GCC 4.8.5 and copies of openmpi 2.0.1 and hdf5 1.8.17 (with PHDF5 enabled) that I built myself:

  export CC=mpicc
  export CXX=mpicxx
  export FC=mpif90
  export F77=mpif90
  export F90=mpif90
  ./configure --disable-dap-remote-tests --enable-parallel-tests
  make
  make check

Results in "make check" failing at:

mpicc -DHAVE_CONFIG_H -I. -I..  -I../include -I../oc2     -MT tst_h_par.o -MD -MP -MF 
$depbase.Tpo -c -o tst_h_par.o tst_h_par.c &&\
mv -f $depbase.Tpo $depbase.Po
tst_h_par.c: In function ʽmainʼ:
tst_h_par.c:89:55: error: ʽERRʼ undeclared (first use in this function)
       if ((fapl_id = H5Pcreate(H5P_FILE_ACCESS)) < 0) ERR;
                                                       ^
tst_h_par.c:89:55: note: each undeclared identifier is reported only once for 
each function it appears in
tst_h_par.c:226:7: error: ʽSUMMARIZE_ERRʼ undeclared (first use in this 
function)
       SUMMARIZE_ERR;
       ^
tst_h_par.c:231:7: error: ʽFINAL_RESULTSʼ undeclared (first use in this 
function)
       FINAL_RESULTS;
       ^
make[2]: *** [tst_h_par.o] Error 1
make[2]: Leaving directory `/tmp/issmcd/p/netcdf-4.4.1.1/h5_test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/tmp/issmcd/p/netcdf-4.4.1.1/h5_test'
make: *** [check-recursive] Error 1


Any ideas, please?

Thanks,

Mark
  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: