3 \page paramedmem_install Configuring and Installing MED from sources
5 The libraries in SALOME MED can be configured in several manners so that it can run inside or outside the Salome platform.
6 Also, partitioning and parallel functionalities are optional.
8 The sources of the library are located in the \a MED_SRC directory.
9 The first step consists in preparing the CMake build precedure :
13 cmake -DCMAKE_BUILD_TYPE=<Mode> -DCMAKE_INSTALL_PREFIX=`pwd`/../MED_INSTALL ../<MED_SRC>
16 , where <Mode> is build mode (Release or Debug).
18 This will create SALOME MED libraries with link to the SALOME Kernel.
19 Sometimes, if it is desirable to have a standalone version of the library to be used independently from SALOME, use :
23 cmake -DCMAKE_BUILD_TYPE=<Mode> -DCMAKE_INSTALL_PREFIX=`pwd`/../MED_INSTALL _DSALOME_MED_STANDALONE=ON ../<MED_SRC>
26 This will configure the library without splitting functionalities. ParaMEDMEM will be compiled if an MPI version has been found.
28 The following options can be useful to configure SALOME MED :
29 - \a -DSALOME_MED_PARTITIONER_METIS=ON enables metis graph library in MEDPartitioner,
30 - \a -DSALOME_MED_PARTITIONER_PARMETIS=ON enables parmetis graph library in MEDPartitioner,
31 - \a -DSALOME_MED_PARTITIONER_SCOTCH=ON enables scotch graph library in MEDPartitioner,
32 - \a -DSALOME_MED_MICROMED=ON build MED with MED file dependancy,
33 - \a -DSALOME_MED_ENABLE_PYTHON=ON builds PYTHON bindings,
34 - \a -DSALOME_MED_ENABLE_PARTITIONER builds MEDPartitioner,
35 - \a -DSALOME_MED_ENABLE_RENUMBER builds Renumber,
36 - \a -DSALOME_USE_MPI=ON uses MPI containers.