Hi Jim,
can you please confirm my understanding is correct :
- OpenMPI does *not* accept MPI_DATATYPE_NULL as an input of MPI_Alltoallw
- mpich does accept MPI_DATATYPE_NULL as an input of MPI_Alltoallw *if*
the corresponding count *is* zero
- mpich does *not* accept MPI_DATATYPE_NULL as an input of MPI_Alltoallw
*if* the corresponding count is *not* zero
So you are considering as a bug the fact OpenMPI does not accept
MPI_DATATYPE_NULL *with* a zero count.
am i correct ?
Cheers,
Gilles
On 1/13/2016 8:27 AM, Jim Edwards wrote:
Hi,
I am using OpenMPI-1.8.3 built with gcc 4.8.3
and I am using an MPI_Alltoallw call to perform
an all to some (or some to all) communication.
In the case in which my task is not sending (or receiving) any data I
set the
datatype for that send or recv buffer to MPI_DATATYPE_NULL - this
works fine with other mpi libraries but fails in openmpi. If I set
the datatype to something else say MPI_CHAR - it works fine. I think
that this is a bug in open-mpi - would you agree?
--
Jim Edwards
CESM Software Engineer
National Center for Atmospheric Research
Boulder, CO
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/01/28249.php