Skip to content

Conda Configuration

To use conda, first load the conda module.

ml conda

At first usage, you may need to configure conda. The first time a HiPerGator user loads the conda environment module, a recommended configuration will be created. This configuration can be viewed and modified with the conda config command.

Conda storage locationsΒΆ

The settings for package and environment storage will be of particular interest to HiPerGator users. By default conda will store these files in a user's home directory, which can rapidly lead to the user's 40GB home storage quota being used up.

The first time a HiPerGator user loads the conda environment module, these values will be set to a location in /blue/groupname/username/. If a user's primary group does not have a blue storage allocation, these values will need to be set with conda config.

The conda storage locations are configured with the envs_dirs and pkgs_dirs settings which determine where environments and downloaded packages are stored.

To view your current setttings:

[username@login12 ~]$ conda config --show envs_dirs pkgs_dirs
envs_dirs:
  - /blue/groupname/username/.conda/envs
pkgs_dirs:
  - /blue/groupname/username/.conda/pkgs

These settings are lists of locations. To add new locations as the defaults, run these commands:

conda config --prepend envs_dirs /blue/othergroup/username/.conda/envs 
conda config --prepend pkgs_dirs /blue/othergroup/username/.conda/pkgs

Info

You do not need to manually create the folders that you setup in your conda configuration. conda will take care of that for you when you create environments.

Next: Environment Creation