Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • ecFlow uses some of compiled libraries in boost. The following script will build the required lib’s and  configure boost build according to your platform

    Code Block
    languagebash
    titleBuild boost libraries including python3 used by ecflow.
    cd $BOOST_ROOT
    $WK/build_scripts/boost_1_53_fix.sh    # fix for boost, only for some platforms
    $WK/build_scripts/boost_build.sh       # compile boost libs used by ecFlow. Please see notes in boost_build.sh, if you want to build both for python2 and python3 


  •  If you want to build python2 and python3. Then ALWAYS build the python3 first. See earlier steps

    Code Block
    titleBuilding boost python2 libs
    module load python3python
    mv $BOOST_ROOT/project-config.jam $BOOST_ROOT/project-config.jam_python3   # move the python3 config to the side
    ./bootstrap.sh                                                             # || ./bootstrap.sh --with-python=/path/to/python2 to regenerate project-config.jam
    ./b2 --with-python --clean                                                 # Clean previous python3 build *VERY* important
    $WK/build_scripts/boost_build.sh                                           # Build boost python2 libs


...