Skip to content
Snippets Groups Projects
Commit 774de09e authored by Caughlin Bohn's avatar Caughlin Bohn
Browse files

Merge branch 'conda_activate_common' into 'master'

Add activation and license note for conda

See merge request !381
parents 80ae4a7a 5d0ee502
No related branches found
No related tags found
1 merge request!381Add activation and license note for conda
......@@ -18,13 +18,13 @@ straightforward.
- [Using Anaconda](#using-anaconda)
- [Searching for Packages](#searching-for-packages)
- [Creating custom Anaconda Environments](#creating-custom-anaconda-environments)
- [Creating Custom Anaconda Environments](#creating-custom-anaconda-environments)
- [Using /common for environments](#using-common-for-environments)
- [Adding and Removing Packages from an Existing Environment](#adding-and-removing-packages-from-an-existing-environment)
- [Moving and Recreating Existing Environment](#moving-and-recreating-existing-environment)
- [Remove Unused Anaconda Packages and Caches](#remove-unused-anaconda-packages-and-caches)
- [Creating custom GPU Anaconda Environment](#creating-custom-gpu-anaconda-environment)
- [Creating custom MPI Anaconda Environment](#creating-custom-mpi-anaconda-environment)
- [Creating Custom GPU Anaconda Environment](#creating-custom-gpu-anaconda-environment)
- [Creating Custom MPI Anaconda Environment](#creating-custom-mpi-anaconda-environment)
- [Using an Anaconda Environment in a Jupyter Notebook](#using-an-anaconda-environment-in-a-jupyter-notebook)
- [Using Mamba](#using-mamba)
......@@ -252,6 +252,18 @@ conda remove -n mynumpy --all
{{< /highlight >}}
{{% /panel %}}
The migrated environment can then be activated with:
{{% panel theme="info" header="Activate new environment" %}}
{{< highlight bash >}}
conda activate $COMMON/mynumpy
{{< /highlight >}}
{{% /panel %}}
**Please note** that you'll need to add the `#SBATCH --licenses=common` directive to your submit scripts
as described [here]({{< relref "using_the_common_file_system" >}}) in order to use environments
in `$COMMON`.
### Remove Unused Anaconda Packages and Caches
By default, conda environments are installed in the user’s home directory at `~/.conda/envs`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment