Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] OMPI error in MPI_Cart_create (in code that workswithMPICH2)
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-09-04 23:58:45


On Sep 2, 2009, at 5:27 PM, Greg Fischer wrote:

> OK, I've found the offending code and gotten rid of the fork()
> warning. I'm still left with this:

Sorry for the delay -- I was in Helsinki this past week at the MPI
Forum meeting; that was consuming most of my bandwidth.

> [bl302:26556] *** An error occurred in MPI_Cart_create
> [bl302:26556] *** on communicator MPI_COMM_WORLD
> [bl302:26556] *** MPI_ERR_ARG: invalid argument of some other kind
> [bl302:26556] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)

It looks like OMPI reports ERR_ARG from Cart_create in the following
cases:

- ndims < 0
- if (ndims >= 1 && (NULL == dims || NULL == periods || NULL ==
comm_cart))
- if (dims[0] * dims[1] * ... * dims[ndims-1] > num procs in comm)

Can you confirm that all of these are false?

-- 
Jeff Squyres
jsquyres_at_[hidden]