The ugly compilation of foamMeshToMED

I want to test Code Saturne. Then it would be nice to use OpenFOAM meshes. This i how I did

first install
Build OpenFOAM 3.0.0 on CentOS 6.6and
Install Salome-Platform on CentOS
then download foamMeshToMED

to create an compilation environment:

module load openfoam/3.0.0
. /opt/salome/7.3.0/
as root: ln -s /opt/salome/7.3.0/med-3.0.7/lib/ /usr/lib64/
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/opt/salome/7.3.0/med-3.0.7/include/
export LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/salome/7.3.0/med-3.0.7/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/salome/7.3.0/med-3.0.7/lib



to use it just do:

module load openfoam/3.0.0
. /opt/salome/7.3.0/

Leave a Reply

Your email address will not be published. Required fields are marked *