Environment Modules (or modules) are used to manage the user environment for the installed packages. This makes it simple to use different packages or switch between versions of the same package without conflicts.
The commands for environment modules:
module avail: List of application software that is installed on the HPC
module load packageName: Loads the specified package with specified version
module list: List the uploaded application softwares
module unload packageName: Unloads the specified package with specified version
module purge: Unload all packages from user environment.
⚠️⚠️⚠️ Do not use wget or any other ways to install software. If you do you can have problems about job submitting and it will slow down your remote computer.
⚠️⚠️⚠️ You can load necessary module through job scripts or terminal. But, wise thing to do is creating a job script to load modules such as gcc, cuda and adding to .bashrc file or run it every time. You can create different job scripts which includes necessary modules for specific projects.
If you want any other software installed, or a different version, send a request email email@example.com. Please include a detailed information about the software like web page, version, license etc. Note that if the software requires a licence, the users of the software will need to purchase the licence.
module avail module load anaconda/x.x.x (version you choose)
Now, you will have conda command running since it was added into your PATH.
conda create -n env_name python=x.x.x anaconda
source activate env_name
pip install package_name
module load anaconda/x.x.x source activate env_name
Run your code.
source deactivate env_name
into your job script.
If you want to remove the virtual environment:
conda remove -n env_name -all -y