/[escript]/trunk/dataexporter/src/EscriptDataset.cpp
ViewVC logotype

Diff of /trunk/dataexporter/src/EscriptDataset.cpp

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

revision 2916 by gross, Wed Feb 3 05:55:16 2010 UTC revision 2917 by caltinay, Wed Feb 3 06:19:50 2010 UTC
# Line 722  bool EscriptDataset::loadVarFromNetCDF(c Line 722  bool EscriptDataset::loadVarFromNetCDF(c
722      delete[] str;      delete[] str;
723    
724      int gError = myError;      int gError = myError;
725    
726        if (mpiSize > 1) {
727  #if HAVE_MPI  #if HAVE_MPI
728      MPI_Allreduce(&myError, &gError, 1, MPI_LOGICAL, MPI_LOR, mpiComm);          MPI_Allreduce(&myError, &gError, 1, MPI_LOGICAL, MPI_LOR, mpiComm);
729  #endif  #endif
730        }
731    
732      if (gError) {      if (gError) {
733          // at least one chunk was not read correctly          // at least one chunk was not read correctly

Legend:
Removed from v.2916  
changed lines
  Added in v.2917

  ViewVC Help
Powered by ViewVC 1.1.26