From: ageay Date: Thu, 15 Jul 2010 15:34:54 +0000 (+0000) Subject: Addition of MPI2 conditional compilation tag. X-Git-Tag: V5_1_main_FINAL~93 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d416c1fe1e508bb0326516ed0da11a97875f8fcd;p=tools%2Fmedcoupling.git Addition of MPI2 conditional compilation tag. --- diff --git a/src/ParaMEDMEMTest/Makefile.am b/src/ParaMEDMEMTest/Makefile.am index d2a12d21f..261e4e768 100644 --- a/src/ParaMEDMEMTest/Makefile.am +++ b/src/ParaMEDMEMTest/Makefile.am @@ -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