/[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 2936 by caltinay, Wed Feb 3 06:19:50 2010 UTC revision 2937 by caltinay, Tue Feb 16 00:01:52 2010 UTC
# Line 104  bool EscriptDataset::initFromEscript( Line 104  bool EscriptDataset::initFromEscript(
104    
105      int gError;      int gError;
106  #if HAVE_MPI  #if HAVE_MPI
107      MPI_Allreduce(&myError, &gError, 1, MPI_LOGICAL, MPI_LOR, mpiComm);      MPI_Allreduce(&myError, &gError, 1, MPI_INT, MPI_LOR, mpiComm);
108  #else  #else
109      gError = myError;      gError = myError;
110  #endif  #endif
# Line 725  bool EscriptDataset::loadVarFromNetCDF(c Line 725  bool EscriptDataset::loadVarFromNetCDF(c
725    
726      if (mpiSize > 1) {      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_INT, MPI_LOR, mpiComm);
729  #endif  #endif
730      }      }
731    

Legend:
Removed from v.2936  
changed lines
  Added in v.2937

  ViewVC Help
Powered by ViewVC 1.1.26