[MOAB-dev] r1966 - in MOAB/trunk: . parallel

dcthomp at mcs.anl.gov dcthomp at mcs.anl.gov
Mon Jun 30 12:54:42 CDT 2008


Author: dcthomp
Date: 2008-06-30 12:54:42 -0500 (Mon, 30 Jun 2008)
New Revision: 1966

Modified:
   MOAB/trunk/CMakeLists.txt
   MOAB/trunk/parallel/CMakeLists.txt
Log:
COMP: mbparallelcomm_test.cpp is now in parallel subdir.


Modified: MOAB/trunk/CMakeLists.txt
===================================================================
--- MOAB/trunk/CMakeLists.txt	2008-06-30 17:53:54 UTC (rev 1965)
+++ MOAB/trunk/CMakeLists.txt	2008-06-30 17:54:42 UTC (rev 1966)
@@ -315,14 +315,6 @@
   # Point to the input decks for the tests
   configure_file( ${MOAB_SOURCE_DIR}/cmake/TestingConfig.h.in ${MOAB_BINARY_DIR}/testdir.h )
 
-  if ( MOAB_USE_MPI AND MPI_FOUND )
-     add_executable ( mbparallelcomm_test mbparallelcomm_test.cpp )
-     target_link_libraries( mbparallelcomm_test MOAB )
-     add_test( TestParallelCommunications ${EXECUTABLE_OUTPUT_PATH}/mbparallelcomm_test )
-     set_source_files_properties( mbparallelcomm_test.cpp
-       COMPILE_FLAGS "-DIS_BUILDING_MB ${MOAB_DEFINES}" )
-  endif ( MOAB_USE_MPI AND MPI_FOUND )
-
   add_executable( moab_test MBTest.cpp )
   target_link_libraries( moab_test MOAB )
   add_test( TestMOAB ${EXECUTABLE_OUTPUT_PATH}/moab_test -nostress )

Modified: MOAB/trunk/parallel/CMakeLists.txt
===================================================================
--- MOAB/trunk/parallel/CMakeLists.txt	2008-06-30 17:53:54 UTC (rev 1965)
+++ MOAB/trunk/parallel/CMakeLists.txt	2008-06-30 17:54:42 UTC (rev 1966)
@@ -42,3 +42,12 @@
   ${MPI_LIBRARY}
   ${MPI_EXTRA_LIBRARY}
 )
+
+if ( MOAB_USE_MPI AND MPI_FOUND )
+   add_executable ( mbparallelcomm_test mbparallelcomm_test.cpp )
+   target_link_libraries( mbparallelcomm_test MOAB )
+   add_test( TestParallelCommunications ${EXECUTABLE_OUTPUT_PATH}/mbparallelcomm_test )
+   set_source_files_properties( mbparallelcomm_test.cpp
+     COMPILE_FLAGS "-DIS_BUILDING_MB ${MOAB_DEFINES}" )
+endif ( MOAB_USE_MPI AND MPI_FOUND )
+




More information about the moab-dev mailing list