[OMPI devel] MPI_Reduce const sendbuf

2009-09-28 Thread Shaun Jackman
Should the sendbuf argument of MPI_Reduce be const? On this web page: http://www.mpi-forum.org/docs/mpi21-report-bw/node101.htm the C prototype is not const, but the C++ prototype is const. Cheers, Shaun

Re: [OMPI devel] MPI_Request_get_status and opal_progress [PATCH]

2009-09-24 Thread Shaun Jackman
Hi Jeff, Attached is an updated patch, which moves the loop label before opal_atomic_mb as is done in req_test.c. Cheers, Shaun Jeff Squyres wrote: On Sep 14, 2009, at 5:12 PM, Shaun Jackman wrote: Two questions. Should the loop label recheck_request_status come before or after the call

[OMPI devel] MPI_Request_get_status and opal_progress [PATCH]

2009-09-14 Thread Shaun Jackman
to check request->req_state a second time, or is it only necessary to check request->req_complete the second time? Cheers, Shaun 2009-09-14 Shaun Jackman * ompi/mpi/c/request_get_status.c (MPI_Request_get_status): If opal_progress is called then check the status of th

Re: [OMPI devel] Bug in MPI_Request_get_status (1.3.1) [PATCH]

2009-03-27 Thread Shaun Jackman
STATUS_IGNORE became ! = NULL. george. On Mar 27, 2009, at 13:39 , Shaun Jackman wrote: MPI_Request_get_status fails if the status parameter is passed MPI_STATUS_IGNORE. A patch is attached. Cheers, Shaun 2009-03-26 Shaun Jackman * ompi/mpi/c/request_get_status.c (MPI_Reque

[OMPI devel] Bug in MPI_Request_get_status (1.3.1) [PATCH]

2009-03-27 Thread Shaun Jackman
MPI_Request_get_status fails if the status parameter is passed MPI_STATUS_IGNORE. A patch is attached. Cheers, Shaun 2009-03-26 Shaun Jackman * ompi/mpi/c/request_get_status.c (MPI_Request_get_status): Do not fail if the status argument is NULL, because the application may