Hello,
  When I do MPI_Neighbor_alltoallv or MPI_Ineighbor_alltoallv,  I find when 
either outdegree or indegree is zero, OpenMPI will return an error. The 
suspicious code is at pneighbor_alltoallv.c / pineighbor_alltoallv.c

101         } else if ((NULL == sendcounts) || (NULL == sdispls) ||
102             (NULL == recvcounts) || (NULL == rdispls) ||
103             MPI_IN_PLACE == sendbuf || MPI_IN_PLACE == recvbuf) {
104             return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_ARG, FUNC_NAME);
105         }

Apparently,  the counts, displs error-checking should only be done when degree 
!= 0.

Thanks.
--Junchao Zhang
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to