[MOAB-dev] r5114 - MOAB/trunk/test/parallel
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Thu Aug 25 10:15:38 CDT 2011
Author: tautges
Date: 2011-08-25 10:15:36 -0500 (Thu, 25 Aug 2011)
New Revision: 5114
Added:
MOAB/trunk/test/parallel/scdpart.cpp
Modified:
MOAB/trunk/test/parallel/Makefile.am
MOAB/trunk/test/parallel/scdtest.cpp
Log:
Modified: MOAB/trunk/test/parallel/Makefile.am
===================================================================
--- MOAB/trunk/test/parallel/Makefile.am 2011-08-24 22:28:45 UTC (rev 5113)
+++ MOAB/trunk/test/parallel/Makefile.am 2011-08-25 15:15:36 UTC (rev 5114)
@@ -23,6 +23,7 @@
uber_parallel_test \
scdtest \
pcomm_serial \
+ $(PNETCDF_TESTS) \
$(HDF5_TESTS)
if PARALLEL_HDF5
@@ -31,6 +32,12 @@
HDF5_TESTS =
endif
+if PNETCDF_FILE
+ PNETCDF_TESTS = scdpart
+else
+ PNETCDF_TESTS =
+endif
+
check_PROGRAMS = $(TESTS) mbparallelcomm_test partcheck structured3 parmerge
pcomm_unit_SOURCES = pcomm_unit.cpp
@@ -45,6 +52,7 @@
partcheck_SOURCES = partcheck.cpp
structured3_SOURCES = structured3.cpp
parmerge_SOURCES = parmerge.cpp
+scdpart_SOURCES = scdpart.cpp
# Other files to clean up (e.g. output from tests)
MOSTLYCLEANFILES = mhdf_ll.h5m tmp0.h5m tmp1.h5m tmp2.h5m tmp3.h5m
Added: MOAB/trunk/test/parallel/scdpart.cpp
===================================================================
--- MOAB/trunk/test/parallel/scdpart.cpp (rev 0)
+++ MOAB/trunk/test/parallel/scdpart.cpp 2011-08-25 15:15:36 UTC (rev 5114)
@@ -0,0 +1,80 @@
+#include "TestUtil.hpp"
+#include "moab/Core.hpp"
+#include "moab/ParallelComm.hpp"
+#include "moab/ScdInterface.hpp"
+#include "moab/ProgOptions.hpp"
+
+using namespace moab;
+
+#ifdef MESHDIR
+static const char example[] = STRINGIFY(MESHDIR) "/io/cam18x40x48.t2.nc";
+#else
+static const char example[] = "/io/cam18x40x48.nc";
More information about the moab-dev
mailing list