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

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 Magics.

CMake is a cross-platform free software program for managing the build process of software using a compiler-independent method.

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