Salome HOME
Various fixes for test runs - introducing MEDCOUPLING_RESOURCE_DIR env variable
[tools/medcoupling.git] / src / ParaMEDMEMTest / test_MPI_Access_ISend_IRecv_Length.cxx
index eb76b358d65d8af83aaf8c7b36c0882779994f63..5ba6afe14d2b3661e8c59c7e7f7f5044c9ae4bda 100644 (file)
@@ -107,12 +107,12 @@ void MPIAccessTest::test_MPI_Access_ISend_IRecv_Length() {
         mpi_access.test( RecvRequestId[j], flag ) ;
       }
       if ( flag ) {
-        int target,source, tag, error, outcount ;
+        int target2,source, tag, error, outcount ;
         if ( myrank == 0 ) {
-          mpi_access.status( SendRequestId[j], target, tag, error, outcount,
+          mpi_access.status( SendRequestId[j], target2, tag, error, outcount,
                              true ) ;
           debugStream << "test" << myrank << " Test(Send RequestId " << SendRequestId[j]
-               << ") : target " << target << " tag " << tag << " error " << error
+               << ") : target " << target2 << " tag " << tag << " error " << error
                << " flag " << flag << endl ;
         }
         else {