[MOAB-dev] commit/MOAB: danwu: In parallel unit test ucdtrvpart, guard writing a .h5m file.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Jul 3 12:27:33 CDT 2014
1 new commit in MOAB:
https://bitbucket.org/fathomteam/moab/commits/06215a3f120a/
Changeset: 06215a3f120a
Branch: iulian07/without_hdf5
User: danwu
Date: 2014-07-03 19:27:13
Summary: In parallel unit test ucdtrvpart, guard writing a .h5m file.
Affected #: 1 file
diff --git a/test/parallel/ucdtrvpart.cpp b/test/parallel/ucdtrvpart.cpp
index cdd5e70..062f1c1 100644
--- a/test/parallel/ucdtrvpart.cpp
+++ b/test/parallel/ucdtrvpart.cpp
@@ -128,8 +128,10 @@ void test_read_parallel(int num_verts, bool test_nb_nodes)
CHECK_EQUAL(total_verts, num_verts);
}
+#ifdef HDF5_PARALLEL
std::string write_options("PARALLEL=WRITE_PART;");
mb.write_file("test.h5m", NULL, write_options.c_str());
+#endif
}
void test_multiple_loads_of_same_file()
Repository URL: https://bitbucket.org/fathomteam/moab/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the moab-dev
mailing list