-// 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
if ( size < 2 ) {
ostringstream strstream ;
- strstream << "test_MPI_Access_ISend_IRecv_Length must be runned with 2 procs" << endl ;
+ strstream << "test_MPI_Access_ISend_IRecv_Length must be run with 2 procs" << endl ;
cerr << strstream.str() << endl ;
//CPPUNIT_FAIL( strstream.str() ) ;
return;
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 {