[MOAB-dev] commit/MOAB: danwu: For serial MOAB, new test case test_read_fv_ghosting() should be skipped.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Nov 20 14:39:53 CST 2013


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/a0e73db891d2/
Changeset:   a0e73db891d2
Branch:      master
User:        danwu
Date:        2013-11-20 21:39:38
Summary:     For serial MOAB, new test case test_read_fv_ghosting() should be skipped.

Affected #:  1 file

diff --git a/test/io/read_nc.cpp b/test/io/read_nc.cpp
index 406fdf6..3c44083 100644
--- a/test/io/read_nc.cpp
+++ b/test/io/read_nc.cpp
@@ -29,7 +29,9 @@ void test_read_fv_onevar();
 void test_read_fv_onetimestep();
 void test_read_fv_nomesh();
 void test_read_fv_novars();
+#ifdef USE_MPI
 void test_read_fv_ghosting();
+#endif
 
 ErrorCode get_options(std::string& opts);
 
@@ -58,8 +60,10 @@ int main(int argc, char* argv[])
   result += RUN_TEST(test_read_fv_nomesh);
   result += RUN_TEST(test_read_fv_novars);
 
+#ifdef USE_MPI
   // Before ghosting issues with ownership were fixed, this test failed on 4 processors
   result += RUN_TEST(test_read_fv_ghosting);
+#endif
 
 #ifdef USE_MPI
   fail = MPI_Finalize();
@@ -498,6 +502,7 @@ void test_read_fv_novars()
   CHECK_ERR(rval);
 }
 
+#ifdef USE_MPI
 void test_read_fv_ghosting()
 {
   Core moab;
@@ -524,6 +529,7 @@ void test_read_fv_ghosting()
   rval = mb.load_file(example_fv, &set, opts.c_str());
   CHECK_ERR(rval);
 }
+#endif
 
 ErrorCode get_options(std::string& opts) 
 {

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