Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Rolf Vandevaart (Rolf.Vandevaart_at_[hidden])
Date: 2006-05-09 17:32:59


We believe there is a minor bug in comm_spawn_multiple.c.
If a user hands in an argument of MPI_ERRCODES_IGNORE for the
array_of_errcodes to MPI_Comm_spawn_multiple() and has
parameter checking on, then one will get an error like the
following:

[burl-ct-v440-4:03317] *** MPI_ERR_ARG: invalid argument of some other kind
[burl-ct-v440-4:03317] *** MPI_ERRORS_ARE_FATAL (goodbye)

I think lines 66-69 need to come out.

        if ( NULL == array_of_errcodes ) {
            return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_ARG,
                                          FUNC_NAME);
        }

Looks like this has already been fixed for MPI_Comm_spawn().

Rolf

-- 
=========================
rolf.vandevaart_at_[hidden]
781-442-3043
=========================