-
Activate proxy authentication (use NNI and Sesame password):
$ edf-proxy-cli.py
-
Install the Openquake Engine for development. Detailed instructions are provided here: https://github.com/gem/oq-engine/blob/master/doc/installing/development.md#installing-the-openquake-engine-for-development
-
Clone the vector-engine repository in your
src
directory (where you already cloned the Openquake Engine, according to the instructions above):$ cd src
$ https_proxy=https://vip-users.proxy.edf.fr:3128 git clone https://github.com/guyomd/vector-engine
-
Add path to vector-engine in the
PYTHONPATH
environment variable. Add the following line at the bottom of your~/.bashrc
file:$ export PYTHONPATH="$PATH_TO_VECTORENGINE_PARENT_DIRECTORY:$PYTHONPATH"
-
Activate Openquake Environment
$ source openquake/bin/activate
-
Run program help:
(openquake) $ python3 v-engine.py -h
-
Run demo:
(openquake) $ python3 v-engine.py AreaSourceClassicalPSHA/test_job.ini