I build the Nasa Overflow code with Open-mpi 1.0.1rc5 and now get this
error message :

[w052:19034] *** An error occurred in MPI_Cart_get
[w051:19104] *** An error occurred in MPI_Cart_get
[w051:19104] *** on communicator MPI_COMM_WORLD
[w051:19104] *** MPI_ERR_COMM: invalid communicator
[w051:19104] *** MPI_ERRORS_ARE_FATAL (goodbye)
[w052:19034] *** on communicator MPI_COMM_WORLD
[w052:19034] *** MPI_ERR_COMM: invalid communicator
[w052:19034] *** MPI_ERRORS_ARE_FATAL (goodbye)
[w053:18500] *** An error occurred in MPI_Cart_get
[w054:18383] *** An error occurred in MPI_Cart_coords
[w054:18383] *** on communicator MPI_COMMUNICATOR 6
[w054:18383] *** MPI_ERR_RANK: invalid rank
[w054:18383] *** MPI_ERRORS_ARE_FATAL (goodbye)
[w055:18249] *** An error occurred in MPI_Cart_get
[w056:18270] *** An error occurred in MPI_Cart_get
[w057:18412] *** An error occurred in MPI_Cart_get
[w050:22378] *** An error occurred in MPI_Cart_get
[w051:19105] *** An error occurred in MPI_Cart_get
[w053:18501] *** An error occurred in MPI_Cart_coords
[w053:18501] *** on communicator MPI_COMMUNICATOR 7
[w053:18501] *** MPI_ERR_RANK: invalid rank
[w053:18501] *** MPI_ERRORS_ARE_FATAL (goodbye)
[w054:18384] *** An error occurred in MPI_Cart_get
[w055:18250] *** An error occurred in MPI_Cart_get
[w055:18250] *** on communicator MPI_COMM_WORLD
[w055:18250] *** MPI_ERR_COMM: invalid communicator
[w055:18250] *** MPI_ERRORS_ARE_FATAL (goodbye)
[w056:18270] *** on communicator MPI_COMM_WORLD
[w056:18270] *** MPI_ERR_COMM: invalid communicator
[w056:18270] *** MPI_ERRORS_ARE_FATAL (goodbye)
[w057:18412] *** on communicator MPI_COMM_WORLD
[w057:18412] *** MPI_ERR_COMM: invalid communicator

The code section where the problem occurs looks like this :

      CALL MPI_CART_CREATE( MYCOMM,NPART,PARTDIMS,PARTPERDS,
     &                      REORDER,PARTCOMM,MPIERR )
C
C   Return in PARTCOORDS my Cartesian coordinates in PARTCOMM.
C
      CALL MPI_CART_GET( PARTCOMM,NPART,PARTDIMS,PARTPERDS,
     &                   PARTCOORDS,MPIERR )
      MYNODEJ = PARTCOORDS(1)
      MYNODEK = PARTCOORDS(2)
      MYNODEL = PARTCOORDS(3)

The code did get past this point with Openmpi 1.0, but died later with a
memory error.

Thanx,

Bernie Borenstein
The Boeing Company

Reply via email to