Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to go to the main program installation directory:
    cd /path/to/ECFLOW_BUILD
  3. Run the following commands to decompress the Boost installation package:
    tar -xvf boost_1_72_0.tar.gz
  4. Run the following command to decompress the ecFlow installation package:
    tar -xvf ecFlow-5.5.2-Source.tar.gz
  5. 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
  6. 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
  7. Run the following command to compile the Boost library using ecFlow:
    $WK/build_scripts/boost_build.sh
  8. Run the following command to go to the directory generated after decompression:
    cd $WK
  9. Run the following commands to create an independent directory for ecFlow:
    mkdir build
    cd build
  10. Run the following commands to perform compilation and installation:
    cmake .. -DENABLE_UI=OFF -DENABLE_PYTHON=OFF
    make -j 16
    make install