dependencies
- python 2.7 ( Python 3.0 not tested )If you intend to use ecFlow Python api, You will need to install python.Please ensure that python is accessible on $PATH otherwise, you may need tocustomise $BOOST_ROOT/tools/build/v2/site-config.jamThe python installation should include the development packages
Xlib, X11, XMotif for ecflowview . Do not use Lesstif library to compile ecflowview as a replacement for Motif. OpenMotif can be downloaded from http://www.ist.co.uk/downloads/motif_download.html
- cmake (optional, alternative build system, see http://www.linuxfromscratch.org/blfs/view/svn/general/cmake.html)
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
...
To use the ecFlow Python Api , you need to add/change PYTHONPATH .
Code Block | ||
---|---|---|
| ||
export PYTHONPATH=$PYTHONPATH:/usr/local/apps/ecflow/4.0.7/lib/python2.7/site-packages/ecflow |
...