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 Andy, I suspect you will need to update your libnetcdf install to the latest version, 4.3.3.1. Or at the very least, to version 4.3.1 or higher. I base this on the following warning in the test-suite.log file you provided: *** Warning - nc_rename_grp not supported in this netCDF version *** Update your netCDF C libraries to version 4.3.1 or higher *** Testing netCDF-4 rename groups from Fortran 90. Error: NetCDF: No group found. FAIL f90tst_rengrps (exit status: 2) FAIL: run_f90_par_test.sh I notice there are other errors reported, specifically 'Parallel operation on file opened for non-parallel access'. I know that I have fixed a bug in the past year related to this, although I'm unable to pinpoint which version exactly the fix went in to. In any event, updating your libnetcdf to the latest version should fix both of these errors. If errors persist with netcdf-fortran after updating netcdf-c, please let me know and I will help you figure out the problem. Thanks, I hope this helps! -Ward > Hello, > > > > I have a problem compiling netcdf-Fortran 4.4.2 since "make check" > has found some problems. > > In the following, you will find how a compiled netcdf. > > > > Many thanks in advance for your help, > > > > Andy > > > > ############################################## > > Attached you will find the nf_test/test-suite.log file with the error. > > > > I compiled with the following configure input: > > > FC=mpif90 ./configure --disable-shared --enable-parallel-tests > --enable-extra-example-tests --enable-parallel-tests > --enable-large-file-tests --enable-benchmarks > --prefix=/path/to/my/netcdf-fortran-4.4.2/build 2>&1 |& tee > configure.logmake > > > > I attached the "configure.logmake" > > > > Next step was executing make with: > > > make 2>&1 |& tee make.log > > > > I attached that also. > > > > Third step was executing make install > > > make install 2>&1 |& tee makeinstall.log > > This log-file is also attached. > > > > > > For example: > > the f90st_parallel test gives following output if calling: > > > mpiexec -n 4 ./f90tst_parallel > > *** Testing netCDF-4 parallel I/O from Fortran 90. > Error: NetCDF: Parallel operation on file opened for non-parallel access > Error: NetCDF: Parallel operation on file opened for non-parallel access > Error: NetCDF: Parallel operation on file opened for non-parallel access > Error: NetCDF: Parallel operation on file opened for non-parallel access > STOP 2 > STOP 2 > STOP 2 > STOP 2 > > ############################################## > Ticket Details =================== Ticket ID: MFV-445875 Department: Support netCDF Priority: Normal Status: Closed