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
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
若执行cmake该步骤出现Could NOT find Boost则输入命令yum install boost boost-devel,再重新执行上述命令。
make make install
export LD_LIBRARY_PATH=/path/to/precice-install/lib64:$LD_LIBRARY_PATH