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

Tim Tautges tautges at mcs.anl.gov
Thu Aug 25 10:22:51 CDT 2011


Log message: moving parallel structured mesh partition testing to new test file, restoring previous parallel structured 
mesh test, and putting partition test behind conditional on pnetcdf.  This should fix the test failure we saw last night.

- tim

On 08/25/2011 10:15 AM, tautges at mcs.anl.gov wrote:
> 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";
>

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list