Managing Conda Environments on the Cluster
Introduction
This guide provides a concise overview of managing Conda environments on the BGU HPC cluster.
|
The |
One-Time Configuration
-
Set Up the Conda Configuration File
Define
~/envas the default directory for Conda environments by creating or updating your.condarcfile in your home directory:$ conda config --prepend envs_dirs ~/env
Managing Conda Environments
Once inside the job, you can create, activate, and manage Conda environments:
-
Create a New Environment:
$ conda create --name myenv python=3.11 -
Activate an Environment:
$ conda activate myenv -
Deactivate the Current Environment:
$ conda deactivate -
List All Environments:
$ conda env list
References
-
Check out the official Conda documentation for detailed commands and options.