Versions Compared

Key

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

...

Setting up the build environment

  • ecfFlow consists of two tar files i.e. :  

    • boost_1_53_0.tar.gz

    •  ecFlow-4.0.8-Source.tar.gz

      Create a directory for the build:

      Code Block
      languagebash
      mkdir /tmp/ecflow_build
  • Copy the the two tar file into this directory, then change directory to /tmp/ecflow_build

  • Un-zip then un-tar the two file files:

    Code Block
    languagebash
    gunzip boost_1_53_0.tar.gz
    gunzip ecFlow-4.0.8-Source.tar.gz
    tar -xf boost_1_53_0.tar
    tar -xf ecFlow-4.0.8-Source.tar
  • You should have two directories created:

    Code Block
    boost_1_53_0
    ecFlow-4.0.8-Source
    
  • Create two environment variables. These are used by some of scripts:

     

    Code Block
    languagebash
    export WK=/tmp/ecflow_build/ecFlow-4.0.8-Source
    export BOOST_ROOT=/tmp/ecflow_build/boost_1_53_0

...

  • Boost uses bjam for building the boost libs.
    bjam source is available in boost, hence we first need to build bjam itself:

     

    Code Block
    languagebash
    cd $BOOST_ROOT
    ./bootstrap.sh
     

    Now make sure bjam is accessible from $PATH

  • 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
    cd $BOOST_ROOT
    $WK/build/boost_1_53_fix.sh    # fix for boost, only for some platforms
    $WK/build/boost_build.sh       # compile boost libs used by ecFlow

...