Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI: Fixed wrong value for MPI_ERR_LASTCODE.
authorChristian Heinrich <christian.heinrich@livando.com>
Wed, 8 Apr 2015 18:15:58 +0000 (20:15 +0200)
committerChristian Heinrich <christian.heinrich@livando.com>
Wed, 8 Apr 2015 18:19:40 +0000 (20:19 +0200)
This patch was submitted by Samuel Thibault. Thanks!

include/smpi/smpi.h

index be77220..73c7525 100644 (file)
@@ -148,7 +148,7 @@ SG_BEGIN_DECL()
 #define MPI_NULL_DELETE_FN NULL
 #define MPI_APPNUM 0
 #define MPI_LASTUSEDCODE MPI_SUCCESS
-#define MPI_ERR_LASTCODE MPI_SUCCESS
+#define MPI_ERR_LASTCODE 74
 
 #define MPI_CXX_BOOL MPI_DATATYPE_NULL
 #define MPI_CXX_FLOAT_COMPLEX MPI_DATATYPE_NULL