...
SUMI depends on two powerfull libraries to perform its tasks. These are Paramiko (data transfer) and SAGA (remote job submission). To install the dependencies we need to download python libraries, but given that we do not have root permissions we will make usage of a virtual environment which will allow to install these libraries locally. For this purpose we will use "virtualenv". Virtualenv creates a python environment in local folders and allows to create a virtual python environment where we can install libraries locally. To set it up we run the following commands:
mkdir
Code Block |
---|
mkdir sumi-virtualenv |
...
virtualenv sumi-virtualenv |
Once the virtualenv folder has been configured, we can load the environment.
In the case of TCSH shells (as Gateway) source
Code Block | ||
---|---|---|
| ||
source sumi-virtualenv/bin/activate.csh |
In the case of Bash shells (most used shells)
...