
rwxr-+ 1 username hpc 668 Jan 7 12:19 submit.sh Your job 2037792 ("submit.sh") has been submitted # on CIRRUS-A (Lisbon) choose for example hpc # on CIRRUS-B (Minho) choose for example HPC_4_Days # Be sure to request the correct partition to avoid the job to be held in the queue, furthermore Load conda environment on a batch jobĬreate a submit script: ~]$ cat submit.sh We advise the user to install a package from only one repository in order to guarantee perfect behaviour. The pip repository has the right combination of tensorflow-gpu and keras packages.

If the applications available on conda virtual environment do not match your version requirements you may need to use packages from pip repostory check the availability of conda search and pip search command line interfaces.Īs an example we have the tensorflow-gpu package, when used with keras, the conda repository downgrades * tensorflow-gpu to version 1.15, but you most likely will prefer version 2.0. For example: ~]$ conda activate ~]$ pip install -upgrade ~]$ pip install -upgrade ~]$ pip install ~]$ pip install keras It is possible to complemment the conda virtual environment packages list with pip.

Or remove a specific application: ~]$ conda uninstall tensorflow-gpuĬheck the conda help for more information: ~]$ conda ~]$ conda install -help

You can update your software bandle on the conda virtual environment with the command: ~]$ conda update It is possible to include additional packages to your conda environment, for example: ~]$ conda activate ~]$ conda install numpy On the first command, where we create the conda virtual environment, you can include a list of applications to include on your environmnet, for example: ~]$ conda create -n myconda python=3.6 ipython-notebook numpy=1.6

So, we will create a python virtual environment: ~]$ conda create -n myconda ~]$ conda activate myconda The default python version for CentOS 7.x is 2.7.5 which is not suitable for many applications. Login on the cluster submission node, check the page How to Access for more information: $ ssh -l ~]$ _ Another example of conda environment setup.
