What version of LAM?
sutovas_at_[hidden] wrote:
> Hi,
>
> It seems that sometimes meaningless non-zero values are returned in MPI_Status.st_length that causes an abort in MPI_Get_count when the tested (MPI_Test) operation is a send (MPI_Isend). I know that I shouldn't call MPI_Get_count for sends but I do this for convenience. -2 is consistently returned in MPI_Status.MPI_SOURCE and -32766 in MPI_TAG so I guess I could use one of these to check if the request was a send. Is there any other way? Does -2 correspond to a named constant (-32766 is MPI_UNDEFINED)? Also, is there a standard on what to return for these values in this case (e.g. MPI_ANY_SOURCE and MPI_ANY_TAG are returned if the request is MPI_REQUEST_NULL).
>
> Thanks,
> Andras Laszloffy
>
> MPI_Get_count: invalid argument (rank 1, MPI_COMM_WORLD)
> Rank (1, MPI_COMM_WORLD): Call stack within LAM:
> Rank (1, MPI_COMM_WORLD): - MPI_Get_count()
> Rank (1, MPI_COMM_WORLD): - main()
--
Phil Ehrens <pehrens_at_[hidden]>| Fun stuff:
The LIGO Laboratory, MS 18-34 | http://www.ralphmag.org
California Institute of Technology | http://www.yellow5.com
1200 East California Blvd. | http://www.total.net/~fishnet/
Pasadena, CA 91125 USA | http://slashdot.org
Phone:(626)395-8518 Fax:(626)793-9744 | http://kame56.homepage.com
|