...
ecfFlow consists of two tar files i.e. :
boost_1_53_0.tar.gz
ecflow_4_0_7.tar.gz
Create a directory for the build:
Code Block language bash 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 language bash gunzip boost_1_53_0.tar.gz gunzip ecflow_4_0_7.tar.gz tar -xf boost_1_53_0.tar tar -xf ecflow_4_0_7.tar
You should have three directories created:
Code Block boost_1_53_0 ecflow_4_0_7 ecbuild
Create two environment variables. These are used by some of scripts:
Code Block language bash export WK=/tmp/ecflow_build/ecflow_4_0_7 export BOOST_ROOT=/tmp/ecflow_build/boost_1_53_0
...
There are two build systems available for ecflow:
- boost-build/bjam
- cmake/ecbuild
It is recommended to try cmake/ecbuild first.
cmake/ecbuild
...
Code Block | ||||
---|---|---|---|---|
| ||||
cd $WK ./configure.sh mkdir build; cd build; cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/apps/ecflow -DCMAKE_BUILD_TYPE=Release make make install |
To use the ecFlow Python Api , you need to add/change PYTHONPATH .
...