Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] reorder parameter in MPI_Cart_create
From: Kiril Dichev (dichev_at_[hidden])
Date: 2009-08-13 05:38:18


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