High Performance Compute Cluster
Using CONDA environments on SCIAMA
Creating and Activating Environments
To create a new conda environment on SCIAMA you will need to load the anaconda3 module first. On creating a new environment it will be created in /mnt/lustre/shared_conda/envs/userid/
e.g. when I create a new conda environment called map2map it is created in /mnt/lustre/shared_conda/envs/tmaule/map2map
Do NOT create environments in your home directory as this will exceed your quota of 20GB!
Please email firstname.lastname@example.org if you would like to share your environment.
gpu_lensing - GPU Lensing
gpubase - Base environment for GPUs
map2map - Map2Map
You can clone an environment or create a new one. If you load someone else's environment you will not be able to add or remove packages so you should clone it, remember to call it something different though!
conda create -n name
To activate the environment, if you haven't done conda init:
All packages are located in a shared directory on Lustre. If the package you require is not already there, it will install automatically when you use conda install packagename. This allows us to save disk space by only needing one copy of the package which can be shared among many environments. When you install the package to your environment, hardlinks to the package are created.
You can add the conda-forge channel with
If you find a package is not available in conda, or you want to install a downloaded package you can use pip but only as a last resort, please contact sciama-support for assistance.
Submitting a Job to SLURM
Below is a simple job submission script when using a CONDA environment; basically you need to source the environment.
#SBATCH -p sciama4.q
module load system
module add anaconda3
source activate envname