我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the ecFlow installation package.
    tar -xvf ecFlow-5.5.2-Source.tar.gz
  3. Decompress the Boost installation package.
    tar -xvf boost_1_72_0.tar.gz
  4. 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
  5. 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

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

  7. Go to the directory generated after the ecFlow decompression.
    cd $WK
  8. Create an independent directory for ecFlow.
    mkdir build
    cd build
  9. 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:

  10. Perform the compilation.
    make -j 8

  11. Perform the installation.
    make install