The attached patch fixes a problem with MPI_Comm_accept. Symptom in the
test suite is:
/home/asc/lamtests-7.1.2b31/ccl/intercomm/./allgather_inter
MPI_Comm_accept: unclassified: Bad address (rank 0, comm 2)
Rank (0, MPI_COMM_WORLD): Call stack within LAM:
Rank (0, MPI_COMM_WORLD): - MPI_Comm_accept()
Rank (0, MPI_COMM_WORLD): - main()
and it hangs.
Problem is that writev() on this linux (Fedora Core 4) checks the
addresses of all entries in the iovec even if the length is zero. The
patch sets the address to NULL in MPI_Comm_accept, the calling routine.
An alternate fix might be to make _cio_send() not use mwritev() if
pkmsg->k_length is zero.
--
Orion Poplawski
System Administrator 303-415-9701 x222
Colorado Research Associates/NWRA FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301 http://www.co-ra.com
|