Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
HTML
<div style="background-color: yellow; border: 2px solid red; margin: 4px; padding: 2px; font-weight: bold; text-align: center;">
The HAL documentation has moved to <a href="https://docs.ncsa.illinois.edu/systems/hal/">https://docs.ncsa.illinois.edu/systems/hal/</a>. Please update any bookmarks you may have.
<br>
Click the link above if you are not automatically redirected in 7 seconds.
</br>
</div>
<meta http-equiv="refresh" content="7; URL='https://docs.ncsa.illinois.edu/systems/hal/en/latest/user-guide/prog-env/python.html'" />

Table of Contents

Background

...

Code Block
languagebash
titleCreate a New Env from Existing Env
conda create --name=<newnew_env>env --clone=opence-v1.5.1

The new Conda environment will be located within $HOME/.conda/envs/<newnew_env>env, then users can search and/or install python packages via Conda

Code Block
languagebash
titleExample: Search for a New Package
conda search r-tensorflow

Create Conda Environment from Scratch
Anchor
new_env
new_env

...

Code Block
languagebash
titleCreate a New Env from Existing Env
conda create --name=<newnew_env_name>name

Search Packages in All Default Channels
Anchor
all_channels
all_channels

...

Install a package from the result of the search

Code Block
(<newnew_env_name>name)[<useruser_id>@halid@hal-login2 ~]# conda search openblas
...
openblas                      0.3.12      pthreads_hca0ad1f_0  conda-forge         
openblas                      0.3.12      pthreads_hca0ad1f_1  conda-forge         
openblas                      0.3.13      h6ffa863_0           pkgs/main           
openblas                      0.3.13      h6ffa863_1           pkgs/main           
openblas                      0.3.13      openmp_h25a920f_0    conda-forge         
openblas                      0.3.13      pthreads_h92053e5_0  conda-forge
...
(<newnew_env_name>name)[<useruser_id>@halid@hal-login2 ~]# conda install openblas=0.3.13=openmp_h25a920f_0

...