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.
On Aug 13, 2009, at 5:38 AM, Kiril Dichev wrote:
> 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
> 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.
> 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