Differences

This shows you the differences between two versions of the page.

Link to this comparison view

installation_linux_med [2018/03/09 15:22]
y.audouin
installation_linux_med [2024/02/08 08:23] (current)
b.basic
Line 1: Line 1:
 ====== Installation of MED on Linux ====== ====== Installation of MED on Linux ======
  
-You can download ​the sources from [[http://​files.salome-platform.org/​Salome/​other/​med-3.2.0.tar.gz|here]] ​+The MED format is built on top of <color darkorange>​HDF5</​color>​ and as such, requires ​the HDF5 library and tools.\\
 \\ \\
-Unzip it.\\ +After installing HDF5, you can download the MED sources from here [[http://​files.salome-platform.org/​Salome/​medfile/​med-4.1.1.tar.gz|here]]  
-Then run the following commands: +\\ 
-<box round+Uncompress them and run the following commands ​from the uncompressed folder
-./configure\\ +<code
-make\\+./​configure ​CFLAGS=-O2 CXXFLAGS=-O2 FFLAGS=-O2 --disable-python 
 +make
 sudo make install sudo make install
-</box+</code
- +\\ 
-If hdf5 is not installed ​in /usr replace: +If HDF5 is not installed ​using your package manager, you need to replace: 
-<box round>+<code>
 ./configure ./configure
-</box+</code
-by +with 
-<box round+<code
-<​nowiki>​./configure --with-hdf5=<​path-to-hdf5></​nowiki+./configure --with-hdf5=<​path-to-hdf5>​ 
-</box+</code
-Where ''​<​path-to-hdf5>​'' ​is the path to your hdf5 installation.\\+Where <color darkorange>​<​path-to-hdf5>​</​color> ​is the path to your HDF5 installation.\\
 \\  \\ 
-If you want to specify where to install the software ​replace:  +If you want to specify where to install the MED library (required if you don't have sudo rights), ​replace:  
-<box round>+<code>
 ./configure ./configure
-</box+</code
-by +with 
-<box round+<code
-<​nowiki>​./configure --prefix=<​install-path></​nowiki+./configure --prefix=<​install-path>​ 
-</box+</code> 
-Where ''​<​install-path>​'' ​is where you want to install ​it. \\ +\\ 
-This folder ​can not be the one containing the sources.+Where <color darkorange>​<​install-path>​</​color> ​is the path where you want to install ​the MED library.\\ 
 +This folder ​must not be the one containing the sources.