Salome HOME
Various fixes for test runs - introducing MEDCOUPLING_RESOURCE_DIR env variable
[tools/medcoupling.git] / src / ParaMEDMEMTest / test_MPI_Access_ISendRecv.cxx
index b934f444a3cd9d79f3a4784fc477e7f9c65a289e..a58d7656371f1c25037d7b04b6ec5a1ab06678ac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -52,8 +52,8 @@ void MPIAccessTest::test_MPI_Access_ISendRecv() {
   MPI_Comm_rank(MPI_COMM_WORLD,&myrank) ;
 
   if ( size < 2 ) {
-      cerr << "test_MPI_Access_ISendRecv must be runned with 2 procs" << endl ;
-    //CPPUNIT_FAIL("test_MPI_Access_ISendRecv must be runned with 2 procs") ;
+      cerr << "test_MPI_Access_ISendRecv must be run with 2 procs" << endl ;
+    //CPPUNIT_FAIL("test_MPI_Access_ISendRecv must be run with 2 procs") ;
     return;
   }
 
@@ -109,7 +109,7 @@ void MPIAccessTest::test_MPI_Access_ISendRecv() {
                << ")" << endl ;
           mpi_access.test( SendRequestId[j], flag ) ;
           if ( flag ) {
-            int target, tag, error, outcount ;
+            int tag, error, outcount ;
               mpi_access.status( SendRequestId[j], target, tag, error, outcount,
                                  true ) ;
               debugStream << "test" << myrank << " Send RequestId " << SendRequestId[j]