Salome HOME
Correction of bug EDF10723 for 0D mesh.
[modules/med.git] / doc / doxygen / doxfiles / install.dox
1
2 /*!
3 \page paramedmem_install Configuring and Installing MED from sources
4
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.
7
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 :
10 \verbatim
11 mkdir MED_BUILD
12 cd ${MED_BUILD}
13 cmake -DCMAKE_BUILD_TYPE=<Mode> -DCMAKE_INSTALL_PREFIX=`pwd`/../MED_INSTALL ../<MED_SRC>
14 \endverbatim
15
16 , where <Mode> is build mode (Release or Debug).
17
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 :
20 \verbatim
21 mkdir MED_BUILD
22 cd ${MED_BUILD}
23 cmake -DCMAKE_BUILD_TYPE=<Mode> -DCMAKE_INSTALL_PREFIX=`pwd`/../MED_INSTALL _DSALOME_MED_STANDALONE=ON ../<MED_SRC>
24 \endverbatim
25
26 This will configure the library without splitting functionalities. ParaMEDMEM will be compiled if an MPI version has been found.
27
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.
37 */