Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the ecFlow installation package.
tar -xvf ecFlow-5.5.2-Source.tar.gz
- Decompress the Boost installation package.
tar -xvf boost_1_72_0.tar.gz
- Create 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
- Go to the Boost installation directory and build the Boost library.
cd $BOOST_ROOT export CC=`which clang` export CXX=`which clang++` export FC=`which flang` ./bootstrap.sh ./b2 install --prefix=/path/to/ECFLOW_BUILD/boost_1_72_0

- Compile the Boost library using ecFlow.
$WK/build_scripts/boost_build.sh

- Go to the directory generated after the ecFlow decompression.
cd $WK
- Create an independent directory for ecFlow.
mkdir build cd build
- Use the BiSheng Compiler and run the following cmake command:
export CC=`which clang` export CXX=`which clang++` export FC=`which flang` cmake .. -DENABLE_UI=OFF -DENABLE_PYTHON=OFF
Output for the start:

Output for the end:

- Perform the compilation.
make -j 8

- Perform the installation.
make install

Parent topic: ecFlow 5.5.2 Porting Guide (openEuler 20.03)