Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] reorder parameter in MPI_Cart_create
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-08-13 18:08:35


You're absolutely correct; committed in trunk in r21816. I filed CMR https://svn.open-mpi.org/trac/ompi/ticket/1998
  to get it into v1.3.4.

Thanks!

On Aug 13, 2009, at 5:38 AM, Kiril Dichev wrote:

> Hello,
>
> a tool developer reported a problem with MPI_Cart_create. The function
> seems to be non-standard conform.
>
> The parameter "reorder" is a logical flag. According to section 2.6.3
> from the MPI standard, a value "0" means false, and a non-zero value
> means "true". However, anything other than "0" and "1" leads to
> program
> abortion for this parameter.
>
> I attach the trivial patch I propose for this (to be applied in
> "ompi/mpi/c/") and the test program used.
>
> Regards,
> Kiril
>
> --
> Dipl.-Inf. Kiril Dichev
> Tel.: +49 711 685 60492
> E-mail: dichev_at_[hidden]
> High Performance Computing Center Stuttgart (HLRS)
> Universität Stuttgart
> 70550 Stuttgart
> Germany
>
> <cart.c><cart_create.c.diff><ATT12335162.txt>

-- 
Jeff Squyres
jsquyres_at_[hidden]