Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to go to the main program installation directory:
cd /path/to/ECFLOW_BUILD
- Run the following commands to decompress the Boost installation package:
tar -xvf boost_1_72_0.tar.gz
- Run the following command to decompress the ecFlow installation package:
tar -xvf ecFlow-5.5.2-Source.tar.gz
- Run the following commands to create the two environment variables:
export WK=/path/to/ECFLOW_BUILD/ecFlow-5.5.2-Source export BOOST_ROOT=/path/to/ECFLOW_BUILD/boost_1_72_0
- Run the following commands to go to the Boost installation directory and build the Boost library:
cd $BOOST_ROOT ./bootstrap.sh ./b2 install --prefix=/path/to/ECFLOW_BUILD/boost_1_72_0
- Run the following command to compile the Boost library using ecFlow:
$WK/build_scripts/boost_build.sh
- Run the following command to go to the directory generated after decompression:
cd $WK
- Run the following commands to create an independent directory for ecFlow:
mkdir build cd build
- Run the following commands to perform compilation and installation:
cmake .. -DENABLE_UI=OFF -DENABLE_PYTHON=OFF make -j 16 make install
Parent topic: ecFlow 5.5.2 Porting Guide (CentOS 7.6)