Back to index

salome-med  6.5.0
Defines | Functions
test_AllToAllvTimeDEC.cxx File Reference
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <mpi.h>
#include <ctime>
#include "MPIAccessDECTest.hxx"
#include <cppunit/TestAssert.h>
#include "MPIAccessDEC.hxx"
#include "LinearTimeInterpolator.hxx"

Go to the source code of this file.

Defines

#define ENABLE_FAULTS
#define ENABLE_FORCED_FAILURES
#define maxproc   11
#define maxreq   10000
#define datamsglength   10

Functions

static void chksts (int sts, int myrank, ParaMEDMEM::MPIAccess *mpi_access)

Define Documentation

#define datamsglength   10
#define ENABLE_FAULTS

Definition at line 37 of file test_AllToAllvTimeDEC.cxx.

Definition at line 40 of file test_AllToAllvTimeDEC.cxx.

#define maxproc   11
#define maxreq   10000

Function Documentation

static void chksts ( int  sts,
int  myrank,
ParaMEDMEM::MPIAccess mpi_access 
) [static]

Definition at line 55 of file test_AllToAllvTimeDEC.cxx.

                                                                              {
  char msgerr[MPI_MAX_ERROR_STRING] ;
  int lenerr ;
  if ( sts != MPI_SUCCESS ) {
    mpi_access->errorString(sts, msgerr, &lenerr) ;
    cout << "test_AllToAllvTimeDEC" << myrank << " lenerr " << lenerr << " "
         << msgerr << endl ;
    ostringstream strstream ;
    strstream << "==========================================================="
              << "test_AllToAllvTimeDEC" << myrank << " KO"
              << "==========================================================="
              << endl ;
    cout << strstream.str() << endl ;
    CPPUNIT_FAIL( strstream.str() ) ;
  }
  return ;
}

Here is the call graph for this function: