Installation¶
Setup¶
Conda Environment (Recommended)¶
For Conda environment, a definition file is provided in the repository root. It will create a suitable environment with all dependencies installed.
git clone ssh://git@git.ecmwf.int/ecflow/pyflow.git
cd pyflow
conda env create -f environment.yml
conda activate pyflow
ECMWF Environment Modules¶
On ECMWF systems, Environment Modules can be used to switch on relevant packages and make them available for use.
module load python3 ecflow/5 pyflow
Warning
Please make sure to also set the following environment variable, so pyflow library can be found:
export PYTHONPATH="$PYFLOW_DIR/lib/python3.6/site-packages:$PYTHONPATH"
Todo
The need for PYTHONPATH
variable should be handled in the next release of the module.
Install from Source¶
Follow ecFlow installation instructions and after all steps make sure to set following environment variable to correct paths.
export ECFLOW_DIR=/path/to/ecflow
git clone ssh://git@git.ecmwf.int/ecflow/pyflow.git
cd pyflow
pip3 install .