[MOAB-dev] r5586 - MOAB/trunk/src/io
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Fri Jun 22 16:49:51 CDT 2012
Author: tautges
Date: 2012-06-22 16:49:51 -0500 (Fri, 22 Jun 2012)
New Revision: 5586
Modified:
MOAB/trunk/src/io/ReadNC.cpp
Log:
Fixing the compiler error in ReadNC.
Note, the read_nc test is failing...
Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp 2012-06-22 19:00:40 UTC (rev 5585)
+++ MOAB/trunk/src/io/ReadNC.cpp 2012-06-22 21:49:51 UTC (rev 5586)
@@ -836,11 +836,13 @@
// east/west edges
vdatas[i].readDims[t].push_back(lCDims[1]);
vdatas[i].readDims[t].push_back(lDims[0]);
+#ifdef USE_MPI
if ((isParallel) &&
(myPcomm->proc_config().proc_size() != 1) &&
((gDims[3]-gDims[0]) == (lDims[3]-lDims[0])))
vdatas[i].readCounts[t].push_back(lDims[3]-lDims[0]);
else
+#endif
vdatas[i].readCounts[t].push_back(lCDims[4]-lCDims[1]+1);
vdatas[i].readCounts[t].push_back(lDims[3]-lDims[0]);
assert(vdatas[i].readDims[t].size() == vdatas[i].varDims.size());
More information about the moab-dev
mailing list