Versions Compared

Key

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

...

  • 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 -zxf boost_1_53_0.tar.gz
    tar -xfzxf ecFlow-4.0.8-Source.tar.gz
  • 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

...

Code Block
languagebash
titlecmake/ecbuild
cd $WK
mkdir build; cd build;

# Go with defaults
cmake .. 

# Override install prefix, build the most optimised executables , do not build the gui.
# cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/apps/ecflow -DCMAKE_BUILD_TYPE=Release -DENABLE_GUI=OFF

# If you do not need the python api, use:
# cmake .. -DENABLE_PYTHON=OFF

# You can use make -j<n> to speed up the build, where n is the number of cores
make
make install

To use the ecFlow Python Api , you need to add/change PYTHONPATH . 

...