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.
> Dear NetCDF supporters, > > I am trying to run a parallel NetCDF (4.1.2) on Open MPI (tested with > versions 1.2.6 and 1.5). When I run nc_test4/tst_parallel I get this > output: > > mpi_name: deimos102 size: 2 rank: 0 > mpi_name: deimos102 size: 2 rank: 1 > > *** tst_parallel testing very basic parallel access. > [deimos102:11261] *** An error occurred in MPI_Comm_dup > [deimos102:11261] *** on communicator MPI_COMM_WORLD > [deimos102:11261] *** MPI_ERR_COMM: invalid communicator > [deimos102:11261] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort) > > Here my configuration: > ./configure --enable-netcdf-4 --enable-parallel-tests \ > --prefix=$HOME/lib/netcdf-4.1.2 --with-hdf5=$HOME/lib/hdf5-1.8.6 \ > --with-curl=/sw/global/libraries/curl/7.21.4 --enable-shared > > and for HDF5: > ./configure --enable-parallel --prefix=$HOME/lib/hdf5-1.8.6 \ > --enable-shared > > The NetCDF version 4.0.1 makes no such trouble. > > Maybe you know a quick answer... > > Thank you, > Ulf > > -- > ___________________________________________________________________ > Dr. Ulf Markwardt > > Dresden University of Technology > Center for Information Services and High Performance Computing (ZIH) > 01062 Dresden, Germany > > Phone: (+49) 351/463-33640 WWW: http://www.tu-dresden.de/zih > > Howdy Dr. Markwardt! Unfortunately I don't have OpenMPI here, I just test on MPICH2. Can I ask you to try the latest beta release before continuing: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-beta.tar.gz There are some changes to the build process: --with-hdf5= is no longer used. Instead set the appropriate CPPFLAGS and LDFLAGS environmental variables. See the new build instructions here: http://www.unidata.ucar.edu/software/netcdf/docs_beta/netcdf-install.html#Quick-Instructions Thanks, Ed Ticket Details =================== Ticket ID: FSF-162192 Department: Support netCDF Priority: Critical Status: Closed