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¶
- This is most easily done from the OOD interface at https://dgxcloud-ood.rc.ufl.edu/.
- From the Clusters menu, select >_DGX Cloud Shell Access.
Use nano to edit your .condarc
file¶
- Type and run:
nano .condarc
- That will open a blank text file in the
nano
text editor. -
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
-
Using your arrow keys to navigate, edit the GROUP and USER for both the
pkg_dirs
andenvs_dirs
sections.- For GROUP, replace this with your group name. That will typically be your course ID, e.g.
eng1234
. - For USER, replace this with your GatorLink username.
- For GROUP, replace this with your group name. That will typically be your course ID, e.g.
-
Save the file using the Crtl-O to Write Out your changes.
- Exit
nano
using Crtl-X.
Run conda init
¶
- Load the conda module:
module load conda
- Type and run:
conda init
- Close the terminal and launch a new one.