From: vsr Date: Tue, 24 Jan 2012 14:55:36 +0000 (+0000) Subject: 0021481: [CEA 538] autoconf and med 3 X-Git-Tag: V6_main_FINAL~903 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b874a17d4bd76b2b7708b8120e19a58d414381ef;p=tools%2Fmedcoupling.git 0021481: [CEA 538] autoconf and med 3 --- diff --git a/doc/doxygen/medmem.dox b/doc/doxygen/medmem.dox index ed955abaa..fb02f403d 100644 --- a/doc/doxygen/medmem.dox +++ b/doc/doxygen/medmem.dox @@ -285,7 +285,7 @@ The following options can be useful to configure MEDMEM : - \a --enable-splitter=yes will trigger the compilation of the MEDSPLITTER tool, - \a --with-metis=${METISDIR} will specify a location for the METIS library, - \a --with-scotch=${SCOTCHDIR} will specify a location for the SCOTCH library, -- \a --with-med2=${MED2DIR} specifies a location for MED-file library, +- \a --with-med3=${MED3DIR} specifies a location for MED-file library, - \a --with-hdf5=${HDF5DIR} specifies a location for the HDF5 library (must be the same as that used for the MED-file library) - \a --with-lam=${LAMDIR} specifies an install path for a LAM MPI library, - \a --with-mpich=${MPICHDIR} specifies an install path for a MPICH-1 library. diff --git a/src/INTERP_KERNELTest/Makefile.am b/src/INTERP_KERNELTest/Makefile.am index 38030550d..b5697acdb 100644 --- a/src/INTERP_KERNELTest/Makefile.am +++ b/src/INTERP_KERNELTest/Makefile.am @@ -93,7 +93,7 @@ if !MED_ENABLE_MICROMED libInterpKernelTest_la_CPPFLAGS += \ -DDISABLE_MICROMED \ - $(MED2_INCLUDES) $(HDF5_INCLUDES) \ + $(MED3_INCLUDES) $(HDF5_INCLUDES) \ -I$(srcdir)/../MEDWrapper/V2_1/Core \ -I$(srcdir)/../MEDMEM @@ -131,7 +131,7 @@ PerfTest_SOURCES = \ MeshTestToolkit.txx PerfTest_CPPFLAGS = $(libInterpKernelTest_la_CPPFLAGS) -PerfTest_LDADD = $(MED2_LIBS) $(libInterpKernelTest_la_LDFLAGS) libInterpKernelTest.la +PerfTest_LDADD = $(MED3_LIBS) $(libInterpKernelTest_la_LDFLAGS) libInterpKernelTest.la if MED_ENABLE_KERNEL TestINTERP_KERNEL_LDADD += -lSALOMEBasics diff --git a/src/MEDLoader/Makefile.am b/src/MEDLoader/Makefile.am index 99be5b856..7dca7f2a1 100755 --- a/src/MEDLoader/Makefile.am +++ b/src/MEDLoader/Makefile.am @@ -46,11 +46,11 @@ MEDFileMesh.cxx MEDFileMeshElt.cxx MEDFileBasis.cxx \ MEDFileMeshLL.cxx MEDFileField.cxx MEDFileData.cxx \ SauvMedConvertor.cxx SauvReader.cxx SauvWriter.cxx -libmedloader_la_CPPFLAGS= $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ +libmedloader_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ -I$(srcdir)/../INTERP_KERNEL \ -I$(srcdir)/../INTERP_KERNEL/Geometric2D \ -I$(srcdir)/../INTERP_KERNEL/Bases \ -I$(srcdir)/../MEDCoupling libmedloader_la_LDFLAGS= ../MEDCoupling/libmedcoupling.la \ -../INTERP_KERNEL/libinterpkernel.la $(MED2_LIBS_C_ONLY) $(HDF5_LIBS) +../INTERP_KERNEL/libinterpkernel.la $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) diff --git a/src/MEDLoader/Swig/Makefile.am b/src/MEDLoader/Swig/Makefile.am index 1c306bd2c..88e9b0b50 100644 --- a/src/MEDLoader/Swig/Makefile.am +++ b/src/MEDLoader/Swig/Makefile.am @@ -39,12 +39,12 @@ MEDLoader_wrap.cxx: $(SWIG_DEF) $(SWIG) $(SWIG_FLAGS) -o $@ $< _MEDLoader_la_CPPFLAGS = $(PYTHON_INCLUDES) \ - $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ + $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ -I$(srcdir)/../../INTERP_KERNEL \ -I$(srcdir)/.. -I$(srcdir)/../../MEDCoupling_Swig -I$(srcdir)/../../INTERP_KERNEL/Bases \ -I$(srcdir)/../../MEDCoupling -_MEDLoader_la_LDFLAGS = -module $(MED2_LIBS_C_ONLY) $(HDF5_LIBS) $(PYTHON_LIBS) \ +_MEDLoader_la_LDFLAGS = -module $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(PYTHON_LIBS) \ ../../MEDCoupling/libmedcoupling.la ../../INTERP_KERNEL/libinterpkernel.la \ ../libmedloader.la diff --git a/src/MEDLoader/Test/Makefile.am b/src/MEDLoader/Test/Makefile.am index 0d008b8f5..5abddaf6a 100755 --- a/src/MEDLoader/Test/Makefile.am +++ b/src/MEDLoader/Test/Makefile.am @@ -22,7 +22,7 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am bin_PROGRAMS= TestMEDLoader TestSauvLoader TestMEDLoader_CPPFLAGS=@CPPUNIT_INCLUDES@ @PTHREAD_CFLAGS@ -I$(srcdir)/.. -I$(srcdir)/../../INTERP_KERNEL/Bases -I$(srcdir)/../../INTERP_KERNELTest -I$(srcdir)/../../INTERP_KERNEL -I$(srcdir)/../../INTERP_KERNEL/Geometric2D -I$(srcdir)/../../MEDCoupling -TestSauvLoader_CPPFLAGS=$(TestMEDLoader_CPPFLAGS) $(MED2_INCLUDES) $(HDF5_INCLUDES) +TestSauvLoader_CPPFLAGS=$(TestMEDLoader_CPPFLAGS) $(MED3_INCLUDES) $(HDF5_INCLUDES) TestMEDLoader_LDFLAGS = @CPPUNIT_LIBS@ ../libmedloader.la ../../MEDCoupling/libmedcoupling.la ../../INTERP_KERNEL/libinterpkernel.la TestSauvLoader_LDFLAGS=$(TestMEDLoader_LDFLAGS) diff --git a/src/ParaMEDLoader/Makefile.am b/src/ParaMEDLoader/Makefile.am index aa3a49046..b9b761cb3 100755 --- a/src/ParaMEDLoader/Makefile.am +++ b/src/ParaMEDLoader/Makefile.am @@ -28,7 +28,7 @@ dist_libparamedloader_la_SOURCES= \ ParaMEDLoader.cxx #libmedmem_la_LDFLAGS= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome -libparamedloader_la_CPPFLAGS= $(MPI_INCLUDES) $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ +libparamedloader_la_CPPFLAGS= $(MPI_INCLUDES) $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ -I$(srcdir)/../INTERP_KERNEL \ -I$(srcdir)/../INTERP_KERNEL/Geometric2D \ -I$(srcdir)/../INTERP_KERNEL/Bases \ @@ -39,4 +39,4 @@ libparamedloader_la_CPPFLAGS= $(MPI_INCLUDES) $(MED2_INCLUDES) $(HDF5_INCLUDES) libparamedloader_la_LDFLAGS= ../ParaMEDMEM/libparamedmem.la \ ../MEDLoader/libmedloader.la \ ../MEDCoupling/libmedcoupling.la \ - ../INTERP_KERNEL/libinterpkernel.la $(MPI_LIBS) $(MED2_LIBS) $(HDF5_LIBS) + ../INTERP_KERNEL/libinterpkernel.la $(MPI_LIBS) $(MED3_LIBS) $(HDF5_LIBS) diff --git a/src/ParaMEDMEM/README_JR b/src/ParaMEDMEM/README_JR index 865af2b1d..f2073c79f 100644 --- a/src/ParaMEDMEM/README_JR +++ b/src/ParaMEDMEM/README_JR @@ -90,14 +90,14 @@ C MED_SRC/src/ParaMEDMEM/Test/Makefile.in : instrumentation du code . Prise en compte de $(MED_WITH_KERNEL) avec : ifeq ($(MED_WITH_KERNEL),yes) - LDFLAGSFORBIN += $(LDFLAGS) -lm $(MED2_LIBS) $(HDF5_LIBS) $(MPI_LIBS) \ + LDFLAGSFORBIN += $(LDFLAGS) -lm $(MED3_LIBS) $(HDF5_LIBS) $(MPI_LIBS) \ -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome -lmed_V2_1 -lparamed -lmedmem \ ${KERNEL_LDFLAGS} -lSALOMELocalTrace -lSALOMEBasics \ $(CPPUNIT_LIBS) \ -lParaMEDMEMTest endif ifeq ($(MED_WITH_KERNEL),no) - LDFLAGSFORBIN += $(LDFLAGS) -lm $(MED2_LIBS) $(HDF5_LIBS) $(MPI_LIBS) \ + LDFLAGSFORBIN += $(LDFLAGS) -lm $(MED3_LIBS) $(HDF5_LIBS) $(MPI_LIBS) \ -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome -lmed_V2_1 -lparamed -linterpkernel -lmedmem \ ${KERNEL_LDFLAGS} ${FVM_LIBS} ${CPPUNIT_LIBS} -L/data/tmpawa/vb144235/bft_install/lib -lbft\ -lParaMEDMEMTest diff --git a/src/ParaMEDMEMTest/Makefile.am b/src/ParaMEDMEMTest/Makefile.am index 8e06c6455..8d60fdaa8 100644 --- a/src/ParaMEDMEMTest/Makefile.am +++ b/src/ParaMEDMEMTest/Makefile.am @@ -106,7 +106,7 @@ dist_ParaMEDMEMTestMPI2_2_SOURCES = \ endif -LDADD = $(MED2_LIBS) $(libMEDMEMTest_la_LDFLAGS) -lm $(MPI_LIBS) \ +LDADD = $(MED3_LIBS) $(libMEDMEMTest_la_LDFLAGS) -lm $(MPI_LIBS) \ libParaMEDMEMTest.la \ ../INTERP_KERNEL/libinterpkernel.la $(CPPUNIT_LIBS) \ ../ParaMEDMEM/libparamedmem.la \ diff --git a/src/ParaMEDMEM_Swig/Makefile.am b/src/ParaMEDMEM_Swig/Makefile.am index e032967a0..6856f2a6d 100644 --- a/src/ParaMEDMEM_Swig/Makefile.am +++ b/src/ParaMEDMEM_Swig/Makefile.am @@ -41,12 +41,12 @@ ParaMEDMEM_wrap.cxx: $(SWIG_DEF) $(SWIG) $(SWIG_FLAGS) -o $@ $< _ParaMEDMEM_la_CPPFLAGS = $(PYTHON_INCLUDES) \ - $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ + $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ -I$(srcdir)/../INTERP_KERNEL \ $(MPI_INCLUDES) -I$(srcdir)/../ParaMEDMEM -I$(srcdir)/../MEDCoupling_Swig -I$(srcdir)/../INTERP_KERNEL/Bases \ -I$(srcdir)/../MEDCoupling -I$(srcdir)/../ParaMEDLoader -I$(srcdir)/../MEDLoader -I$(srcdir)/../MEDLoader/Swig -_ParaMEDMEM_la_LDFLAGS = -module $(MED2_LIBS) $(HDF5_LIBS) $(PYTHON_LIBS) $(MPI_LIBS) \ +_ParaMEDMEM_la_LDFLAGS = -module $(MED3_LIBS) $(HDF5_LIBS) $(PYTHON_LIBS) $(MPI_LIBS) \ ../MEDCoupling/libmedcoupling.la ../INTERP_KERNEL/libinterpkernel.la \ ../ParaMEDMEM/libparamedmem.la ../ParaMEDLoader/libparamedloader.la diff --git a/src/RENUMBER/Makefile.am b/src/RENUMBER/Makefile.am index 96daaa727..5b5088110 100644 --- a/src/RENUMBER/Makefile.am +++ b/src/RENUMBER/Makefile.am @@ -51,14 +51,14 @@ if BOOST_IS_OK dist_librenumber_la_SOURCES+= RENUMBER_BOOSTRenumbering.cxx endif -librenumber_la_CPPFLAGS= $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ +librenumber_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \ $(BOOST_CPPFLAGS) \ -I$(srcdir)/../MEDMEM -I$(srcdir)/../MEDWrapper/V2_1/Core -I$(srcdir)/../INTERP_KERNEL/Bases \ -I$(srcdir)/../INTERP_KERNEL/GaussPoints \ -I$(srcdir)/../INTERP_KERNEL librenumber_la_LDFLAGS= -#libmedsplitter_la_LDFLAGS= $(MED2_LIBS) $(HDF5_LIBS) $(STDLIB) \ +#libmedsplitter_la_LDFLAGS= $(MED3_LIBS) $(HDF5_LIBS) $(STDLIB) \ # ../MEDMEM/libmedmem.la ../MEDWrapper/V2_1/Core/libmed_V2_1.la if MED_ENABLE_METIS @@ -74,7 +74,7 @@ if MED_ENABLE_KERNEL librenumber_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace endif -librenumber_la_LDFLAGS+= $(MED2_LIBS) $(HDF5_LIBS) $(STDLIB) \ +librenumber_la_LDFLAGS+= $(MED3_LIBS) $(HDF5_LIBS) $(STDLIB) \ ../MEDMEM/libmedmem.la ../MEDWrapper/V2_1/Core/libmed_V2_1.la ../INTERP_KERNEL/libinterpkernel.la # Executables targets