From: ageay Date: Tue, 26 Oct 2010 06:07:05 +0000 (+0000) Subject: Suppression of warnings. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=67ccae7c3e71bea69fa473372a1a318034be8b61;p=tools%2Fmedcoupling.git Suppression of warnings. --- diff --git a/src/ParaMEDMEMTest/test_AllToAllDEC.cxx b/src/ParaMEDMEMTest/test_AllToAllDEC.cxx index 498fbc046..5d2ba450b 100644 --- a/src/ParaMEDMEMTest/test_AllToAllDEC.cxx +++ b/src/ParaMEDMEMTest/test_AllToAllDEC.cxx @@ -43,6 +43,7 @@ void MPIAccessDECTest::test_AllToAllDECAsynchronousPointToPoint() { test_AllToAllDEC( true ) ; } +#if 0 static void chksts( int sts , int myrank , ParaMEDMEM::MPIAccess mpi_access ) { char msgerr[MPI_MAX_ERROR_STRING] ; int lenerr ; @@ -60,6 +61,7 @@ static void chksts( int sts , int myrank , ParaMEDMEM::MPIAccess mpi_access ) { } return ; } +#endif void MPIAccessDECTest::test_AllToAllDEC( bool Asynchronous ) { diff --git a/src/ParaMEDMEMTest/test_AllToAllvDEC.cxx b/src/ParaMEDMEMTest/test_AllToAllvDEC.cxx index 0a294ba91..0e9f81c44 100644 --- a/src/ParaMEDMEMTest/test_AllToAllvDEC.cxx +++ b/src/ParaMEDMEMTest/test_AllToAllvDEC.cxx @@ -47,6 +47,7 @@ void MPIAccessDECTest::test_AllToAllvDECAsynchronousPointToPoint() { test_AllToAllvDEC( true ) ; } +#if 0 static void chksts( int sts , int myrank , ParaMEDMEM::MPIAccess mpi_access ) { char msgerr[MPI_MAX_ERROR_STRING] ; int lenerr ; @@ -64,6 +65,7 @@ static void chksts( int sts , int myrank , ParaMEDMEM::MPIAccess mpi_access ) { } return ; } +#endif void MPIAccessDECTest::test_AllToAllvDEC( bool Asynchronous ) { diff --git a/src/ParaMEDMEMTest/test_AllToAllvTimeDEC.cxx b/src/ParaMEDMEMTest/test_AllToAllvTimeDEC.cxx index 5d4cac7b2..0404ba6fc 100644 --- a/src/ParaMEDMEMTest/test_AllToAllvTimeDEC.cxx +++ b/src/ParaMEDMEMTest/test_AllToAllvTimeDEC.cxx @@ -174,7 +174,7 @@ void MPIAccessDECTest::test_AllToAllvTimeDEC( bool Asynchronous , bool UseMPINat // MyMPIAccessDEC->NextTime( nextdeltatime ) ; } MyMPIAccessDEC->setTime( timeLoc , nextdeltatime ) ; - cout << "test_AllToAllvTimeDEC" << myrank << "=====TIME " << time << "=====DELTATIME " + cout << "test_AllToAllvTimeDEC" << myrank << "=====TIME " << "=====DELTATIME " << nextdeltatime << "=====MAXTIME " << maxtime << " ======" << endl ; int * sendbuf = new int[datamsglength*size] ; // int * sendbuf = (int *) malloc(sizeof(int)*datamsglength*size) ; diff --git a/src/ParaMEDMEMTest/test_MPI_Access_ISend_IRecv_Length_1.cxx b/src/ParaMEDMEMTest/test_MPI_Access_ISend_IRecv_Length_1.cxx index f463d68d2..470d058d2 100644 --- a/src/ParaMEDMEMTest/test_MPI_Access_ISend_IRecv_Length_1.cxx +++ b/src/ParaMEDMEMTest/test_MPI_Access_ISend_IRecv_Length_1.cxx @@ -212,7 +212,7 @@ void MPIAccessTest::test_MPI_Access_ISend_IRecv_Length_1() { mpi_access.status( RecvRequestId[i] , source , tag , error , outcount ) ; if ( i != 0 ) { - if ( outcount != 1000*i | + if ( outcount != 1000*i || (recvbuf[i][outcount-1] != (outcount-1)) ) { ostringstream strstream ; strstream << "========================================================"