/[escript]/branches/split/esysUtils/src/Esys_MPI.cpp
ViewVC logotype

Diff of /branches/split/esysUtils/src/Esys_MPI.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4761 by jfenwick, Mon Mar 17 03:31:28 2014 UTC revision 4762 by jfenwick, Tue Mar 18 01:31:20 2014 UTC
# Line 218  bool esysUtils::Esys_MPIInfo_noError( co Line 218  bool esysUtils::Esys_MPIInfo_noError( co
218    int errorLocal = Esys_noError() ? 0 : 1;    int errorLocal = Esys_noError() ? 0 : 1;
219    int errorGlobal = errorLocal;    int errorGlobal = errorLocal;
220    
221    #ifdef ESYS_MPI
222      if (!checkResult(errorLocal, errorGlobal, mpi_info->comm))
223      {
224          return false;
225      }
226      if( (errorLocal==0) && (errorGlobal==1))
227      {
228         Esys_setError( ESYS_MPI_ERROR, "Esys_MPIInfo_noError() : there was an error on another MPI process" );
229      }
230    #endif
231      
232    return (errorGlobal==0);    return (errorGlobal==0);
233  }  }
234    

Legend:
Removed from v.4761  
changed lines
  Added in v.4762

  ViewVC Help
Powered by ViewVC 1.1.26