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, This should be possible. Can you provide the config.log file created when you run configure for netCDF-Fortran? When you built and installed netCDF-C, I presume that 'make check' reported no errors. Is this correct? Can you try running `f90tst_rengrps` directly? The output should provide additional information. As should `ftst_rengrps` if you run that directly. Finally, which MPI architecture are you using? OpenMPI, mpich2, or other? Thank you, -Ward > Hello Support, > > *Goal:* > I am trying to install the parallel version of HDF5 (1.8.15-patch1), > NetCDF-C (4.3.3.1), NetCDF-Fortran (4.4.2) y NetCDF-Cxx (4-4.2.1) using GNU > compilers. However the netcdf-fortran fails in f90tst_rengrps and > ftst_rengrps while performing make check. Attached > (netcdf-fortran_make_check-error.log) you will find the compleate output > from make check. The error message suggest to report to support. Also > attached you will find the > > libhdf5.settings and libnetcdf.settings files. > > > Any help is appreciated to fulfill my goal. Let me know if you want me to > compile things in different ways o r to try another version of the programs . > > > Regards, > > > Julio Figueroa. > > > > *The error message:* > ============================================================================ > Testsuite summary for netCDF-Fortran 4.4.2 > ============================================================================ > # TOTAL: 31 > # PASS: 29 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 2 > # XPASS: 0 > # ERROR: 0 > ============================================================================ > See nf_test/test-suite.log > Please report to address@hidden > ============================================================================ > Makefile:1408: recipe for target 'test-suite.log' failed > make[3]: *** [test-suite.log] Error 1 > make[3]: Leaving directory > '/home/pronostico/Downloads/netcdf-fortran-4.4.2/nf_test' > Makefile:1514: recipe for target 'check-TESTS' failed > make[2]: *** [check-TESTS] Error 2 > make[2]: Leaving directory > '/home/pronostico/Downloads/netcdf-fortran-4.4.2/nf_test' > Makefile:1825: recipe for target 'check-am' failed > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > '/home/pronostico/Downloads/netcdf-fortran-4.4.2/nf_test' > Makefile:544: recipe for target 'check-recursive' failed > make: *** [check-recursive] Error 1 > > > > > *The step I took:* > HDF5: > CC=mpicc ./configure --enable-parallel --enable-fortran > --enable-fortran2003 --enable-production --enable-unsupported > --prefix=/opt/Librerias/hdf5-1.8.15-patch1 > --with-zlib=/opt/Librerias/zlib-1.2.8 --with-szlib=/opt/Librerias/szip-2.1 > --disable-shared > > make > make check > make install > > Netcdf-C: > CPPFLAGS=-I/opt/Librerias/hdf5-1.8.15-patch1/include > CXXFLAGS=-I/opt/Librerias/hdf5-1.8.15-patch1/include > FFFLAGS=-I/opt/Librerias/hdf5-1.8.15-patch1/include > FCFLAGS=-I/opt/Librerias/hdf5-1.8.15-patch1/include > LDFLAGS=-L/opt/Librerias/hdf5-1.8.15-patch1/lib FC=mpif90 CXX=mpicxx > CC=mpicc ./configure --prefix=/opt/Librerias/netcdf-4.3.3.1 > > make > make check > make install > > Netcdf-Fortran (error above): > CPPFLAGS="-I/opt/Librerias/hdf5-1.8.15-patch1/include > -I/opt/Librerias/netcdf-4.3.3.1/include" > CXXFLAGS="-I/opt/Librerias/hdf5-1.8.15-patch1/include > -I/opt/Librerias/netcdf-4.3.3.1/include" > FFFLAGS="-I/opt/Librerias/hdf5-1.8.15-patch1/include > -I/opt/Librerias/netcdf-4.3.3.1/include" > FCFLAGS="-I/opt/Librerias/hdf5-1.8.15-patch1/include > -I/opt/Librerias/netcdf-4.3.3.1/include" > LDFLAGS="-L/opt/Librerias/hdf5-1.8.15-patch1/lib > -L/opt/Librerias/netcdf-4.3.3.1/lib" FC=mpif90 CXX=mpicxx CC=mpicc > ./configure --prefix=/opt/Librerias/netcdf-4.3.3.1 > --disable-fortran-type-check --disable-shared > > make OK > make check, with and without --disable-shared gives errores while testing > the configuration. > ------------------------------------------------- > Julio Figueroa > Oceanólogo / Oceanographer > address@hidden > > Ticket Details =================== Ticket ID: NRO-363374 Department: Support netCDF Priority: Normal Status: Closed