Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdfgroup] OpenMPI MPI_COMM_WORLD

David Robertson <robertson@xxxxxxxxxxxxxxxxxx> writes:

> Hi,
>
> I am having a problem with OpenMPI and NetCDF4 Fortran 90 parallel IO.
> I'm fairly certain the problem is with NetCDF and not HDF5 because 'make
> check' for HDF5 tests the C AND Fortran 90 parallel IO and all tests
> pass. I have traced this problem extensively in TotalView and it seems
> to stem from the fact that MPI_COMM_WORLD is zero in the Fortran 90
> interface for OpenMPI. In contrast, MPICH2 Fortran 90 interface sets
> MPI_COMM_WORLD to 1140850688.
>

David,

How are you specifying MPI_COMM_WORLD? Are you defining your own
constant?

In my case I find a fortran header file called mpif.h, which I include
in my fortran program to get a definition for MPI_COMM_WORLD...

Ed
--
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx



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