Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use the module name miniconda3 to discover versions available and to load the application.Check the required dependencies for a particular version. For example, on teton version 4.9.2 has a dependency on gcc/7.3.0, while 4.10.3 does not

Note

When using miniconda3 via an interactive session (salloc) or submitting a script via sbatch, please make sure to explicitly load the miniconda3 module once you have your interactive session on the compute node, and within you bash script.

If you do not, you’ll see an error of the form: CondaError: Run 'conda init' before ...

Training:

ARCC’s training pages are currently under review/revision.

...

The following commands are useful for creating and using environments in your home directory:

conda info --envs

show environments

conda create -n NAME

create an environment named NAME in your home related conda location.

conda create -n NAME python=3.4

create an environment named NAME, with specified Python version

conda create -p NAME

create an environment named NAME in your current location.

conda activate NAME

activate environment NAME

conda install PKG

install package PKG into the current environment

conda install -c CHANNEL PKG

install package PKG from channel CHANNEL into the current environment

conda list

show packages in current environment

conda list -n NAME

show packages in environment NAME

conda deactivate

deactivate current environment

Installing Python Packages

...