I try to run code_saturne 5.0.4 from a compilation
when I want to run a case I have the following error when doing the preprocessing:
The prepcocessor doesn't give me more information./home/denis/Code_Saturne/5.0.4/code_saturne-5.0.4/arch/Linux_x86_64/libexec/code_saturne/cs_preprocess: error while loading shared libraries: libhdf5.so.9.0.0: cannot open shared object file: No such file or directory
Error running the preprocessor.
Check the preprocessor.log file for details.
I compiled code_saturne with the salome_meca 2017 libraries by using the setup config as follow
the compilation is running ok#========================================================
# Setup file for Code_Saturne installation
#========================================================
#
#--------------------------------------------------------
# Download packages ?
#--------------------------------------------------------
download no
#
#--------------------------------------------------------
# Language
# default: "en" english
# others: "fr" french
#--------------------------------------------------------
language fr
#
#--------------------------------------------------------
# Install Code_Saturne with debugging symbols
#--------------------------------------------------------
debug no
#
#--------------------------------------------------------
# Installation directory
#--------------------------------------------------------
prefix /home/denis/Code_Saturne/5.0.4
#
#--------------------------------------------------------
# Optional architecture Name (installation subdirectory)
#--------------------------------------------------------
use_arch no
arch Linux_x86_64
#
#--------------------------------------------------------
# C compiler and optional MPI wrapper
#--------------------------------------------------------
compC /usr/bin/cc
mpiCompC /usr/bin/mpicc
#
#--------------------------------------------------------
# Fortran compiler
#--------------------------------------------------------
compF /usr/bin/f95
#
#--------------------------------------------------------
# C++ compiler and MPI wrapper for optional packages
#
# Required only for static builds using the MED library
# or for build of optional modules such as MEDCoupling
# support.
#--------------------------------------------------------
compCxx /usr/bin/c++
mpiCompCxx /usr/bin/mpicxx
#
#--------------------------------------------------------
# Python interpreter.
#--------------------------------------------------------
python /usr/bin/python
#
#--------------------------------------------------------
# Disable the Graphical user Interface ?
#--------------------------------------------------------
disable_gui no
#
#--------------------------------------------------------
# Disable frontend (also disables GUI) ?
# May be useful for debug builds and HPC cluster builds
# installed side-by side with a full build.
#--------------------------------------------------------
disable_frontend no
#
#--------------------------------------------------------
# Optional SALOME platform install path.
#
# This is the path for the main SALOME directory,
# not the application directory.
#
# If Code_Saturne is built with SALOME support,
# running "code_saturne salome" will launch the
# associated application, containing the CFDSTUDY module.
#--------------------------------------------------------
salome /home/denis/salome_meca/V2017
#
#--------------------------------------------------------
# Optional packages:
# ------------------
#
# MED / HDF5 For MED file format support
# (used by SALOME and by Gmsh)
#
# CGNS / HDF5 For CGNS file support
# (used by many meshing tools)
#
# Scotch (includes PT-Scotch) and/or ParMetis
# for parallel partitioning
#
# For Linux workstations, HDF5, CGNS, and even MED
# packages may be available through the package manager.
# HDF5 is also often available on large systems.
# When building with SALOME, the platform distribution's
# packages may be used, by setting 'salome' in the
# matching entry under the "Use" column.
#
# Scotch and Pt-Scotch are available in some Linux
# distributions, but may be built with options
# incompatible with non-threaded Code_Saturne runs.
#
# To install CGNS or ParMetis, the CMake
# configuration/installation tool is required
# (it is available in most Linux distributions)
#
# Libxml2 is needed to read XML files output by the
# Graphical User Interface. It is generally available
# through the package manager.
#--------------------------------------------------------
#
# Name Use Install Path
#
hdf5 auto no /home/denis/salome_meca/V2017/prerequisites/Hdf5-1814
cgns yes no /home/denis/salome_meca/V2017/prerequisites/Cgnslib-3134
med yes no /home/denis/salome_meca/V2017/tools/Medfichier-321
scotch yes no /home/denis/salome_meca/V2017/prerequisites/Scotch-5111
parmetis yes no /home/denis/salome_meca/V2017/prerequisites/Metis_aster-510_aster1
libxml2 auto no /home/denis/salome_meca/V2017/prerequisites/Libxml2-290
#
#========================================================
I tried to use the system HDF5 libraries but the compilation fails to find it
does anyone knows how to solve that?