From d416c1fe1e508bb0326516ed0da11a97875f8fcd Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 15 Jul 2010 15:34:54 +0000 Subject: [PATCH] Addition of MPI2 conditional compilation tag. --- src/ParaMEDMEMTest/Makefile.am | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 -- 2.39.2