]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Addition of MPI2 conditional compilation tag.
authorageay <ageay>
Thu, 15 Jul 2010 15:34:54 +0000 (15:34 +0000)
committerageay <ageay>
Thu, 15 Jul 2010 15:34:54 +0000 (15:34 +0000)
src/ParaMEDMEMTest/Makefile.am

index d2a12d21f8ef43edcb6b9c8c053ac047e177b7e8..261e4e7689c0207b6c8073c93c2a73af534a4b99 100644 (file)
@@ -62,7 +62,6 @@ dist_libParaMEDMEMTest_la_SOURCES = \
        test_MPI_Access_Time_0.cxx \
        test_MPI_Access_ISend_IRecv_BottleNeck.cxx
 
-
 libParaMEDMEMTest_la_CPPFLAGS = \
        @CPPUNIT_INCLUDES@ \
        $(MPI_INCLUDES) \
@@ -91,6 +90,21 @@ dist_TestMPIAccessDEC_SOURCES = TestMPIAccessDEC.cxx
 dist_TestMPIAccess_SOURCES = TestMPIAccess.cxx
 dist_test_perf_SOURCES = test_perf.cxx
 
+if MPI2_IS_OK
+bin_PROGRAMS += \
+       ParaMEDMEMTestMPI2_1 \
+       ParaMEDMEMTestMPI2_2
+
+dist_ParaMEDMEMTestMPI2_1_SOURCES += \
+       MPI2Connector.cxx \
+       ParaMEDMEMTestMPI2_1.cxx
+
+dist_ParaMEDMEMTestMPI2_2_SOURCES += \
+       MPI2Connector.cxx \
+       ParaMEDMEMTestMPI2_2.cxx
+
+endif
+
 LDADD = $(MED2_LIBS) $(libMEDMEMTest_la_LDFLAGS) -lm $(MPI_LIBS) \
        libParaMEDMEMTest.la \
        ../INTERP_KERNEL/libinterpkernel.la