Versions Compared

Key

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

...

You will also need to disable python when building ecFlow.  See the instruction under cmake
 

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

    Code Block
    languagebash
    titleBuild boost libraries 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 python3 libs
    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/exe  to regenerate project-config.jam
    ./b2 --with-python --clean                                                # Clean previous build. *VERY* important
    $WK/build_scripts/boost_build.sh                                          # Build boost python2 libs


Build

cmake

As configure, CMake  will run some tests on the customer's system to find out if required third-party software libraries are available and notes their locations (paths). Based on this information it will produces the Makefiles needed to compile and install ecFlow

...