[MOAB-dev] r5110 - MOAB/trunk/test/parallel

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Aug 24 17:14:00 CDT 2011


Author: kraftche
Date: 2011-08-24 17:14:00 -0500 (Wed, 24 Aug 2011)
New Revision: 5110

Modified:
   MOAB/trunk/test/parallel/parallel_hdf5_test.cc
Log:
fix bug in parallel test with more than 13 procs

Modified: MOAB/trunk/test/parallel/parallel_hdf5_test.cc
===================================================================
--- MOAB/trunk/test/parallel/parallel_hdf5_test.cc	2011-08-24 22:04:51 UTC (rev 5109)
+++ MOAB/trunk/test/parallel/parallel_hdf5_test.cc	2011-08-24 22:14:00 UTC (rev 5110)
@@ -1211,7 +1211,7 @@
                                             MB_TAG_SPARSE;
   int len = rank % 3 + 1;
   TagType cbit = create ? MB_TAG_EXCL : (TagType)0;
-  TagType vbit = rank% 4 == 1 ? MB_TAG_VARLEN : (TagType)0;
+  TagType vbit = rank% 4 == 1 && storage != MB_TAG_BIT ? MB_TAG_VARLEN : (TagType)0;
   std::ostringstream name;
   name << "TestTag" << rank;
   const void* defval = 0;








































More information about the moab-dev mailing list