Installing preCICE
Procedure
- Download the installation package.
cd /path/to wget https://github.com/precice/precice/archive/v2.3.0.tar.gz -O precice-2.3.0.tar.gz tar xvf precice-2.3.0.tar.gz cd precice-2.3.0
- Create a build directory.
mkdir build cd build export Eigen3_ROOT=/path/to/eigen3-install cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/precice-install -DPRECICE_PETScMapping=OFF -DPRECICE_PythonActions=OFF
If Could NOT find Boost is displayed when you run the cmake command, run the yum install boost boost-devel command and run the preceding command again.
- Perform the installation.
make make install
- Set the environment variable.
export LD_LIBRARY_PATH=/path/to/precice-install/lib64:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment