Med File Library (libmed)¶
To download, configure, build, and install libmed, one may proceed as shown below.
wget --content-disposition https://files.salome-platform.org/Salome/other/med-4.1.0.tar.gz
tar xvf med-4.1.0.tar.gz
cd med-4.1.0
wget --content-disposition https://github.com/hfp/xconfigure/raw/main/configure-get.sh
chmod +x configure-get.sh
./configure-get.sh libmed
Please make the intended compiler available on the command line. For instance, many HPC centers rely on module load
.
source /opt/intel/compilers_and_libraries_2020.4.304/linux/bin/compilervars.sh intel64
Note: Please make the "hdf5-tools" command available, or pay attention to the console output after configuring libmed. In general, an HDF5 development package is necessary to pass the default configuration as implemented by XCONFIGURE. One can adjust the configure wrapper script for custom-built HDF5 by pointing to an (non-default) installation location.
For example, to configure and make for an Intel Xeon Scalable processor ("SKX"):
make distclean
./configure-med-skx.sh
make -j; make install
References¶
https://salome-platform.org/downloads/
http://wiki.opentelemac.org/doku.php?id=installation_linux_med
http://opentelemac.org/