Dependencies

Setting up the build environment

Build boost

Build

There are two build systems available for ecflow:

It is recommended to try cmake/ecbuild first.

cmake

cd $WK
mkdir build; cd build;

# Specify the directory where you want ecflow installed, we have used '/usr/local/apps/ecflow' as an example
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/apps/ecflow -DCMAKE_BUILD_TYPE=Release

# If you do not want build the GUI, use:
# 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 .. -DCMAKE_INSTALL_PREFIX=/usr/local/apps/ecflow -DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON=OFF

make
make install

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

 

 

export PYTHONPATH=$PYTHONPATH:/usr/local/apps/ecflow/4.0.8/lib/python2.7/site-packages/ecflow

 

boost-build/bjam