Skip to content

Conda configuration

NVIDIA DGX Cloud only!

This page provides resources for using the NVIDIA DGX Cloud, and is not intended for HiPerGator users!

Unlike on HiPerGator, loading the conda module for the first time on the NVIDIA DGX Cloud does not create a default .condarc file.

Users will need to manually create a .condarc file. On Linux, files that start with a "." are hidden by default. You can view them with ls -a.

Warning

It is not recommended to use the OOD Text editor to create this file, as it uses incorrect line breaks.

Open a terminal on the DGX Cloud

  1. This is most easily done from the OOD interface at https://dgxcloud-ood.rc.ufl.edu/.
  2. From the Clusters menu, select >_DGX Cloud Shell Access.

Use nano to edit your .condarc file

  1. Type and run: nano .condarc
  2. That will open a blank text file in the nano text editor.
  3. Paste in the following:

    channels:
    - conda-forge
    - bioconda
    - defaults
    pkgs_dirs:
    - /lustre/fs0/GROUP/USER/conda/pkgs
    envs_dirs:
    - /lustre/fs0/GROUP/USER/conda/envs
    auto_activate_base: false
    anaconda_upload: false
    
  4. Using your arrow keys to navigate, edit the GROUP and USER for both the pkg_dirs and envs_dirs sections.

    1. For GROUP, replace this with your group name. That will typically be your course ID, e.g. eng1234.
    2. For USER, replace this with your GatorLink username.
  5. Save the file using the Crtl-O to Write Out your changes.

  6. Exit nano using Crtl-X.

Run conda init

  1. Load the conda module: module load conda
  2. Type and run: conda init
  3. Close the terminal and launch a new one.