Skip to content

Commit 2988785

Browse files
authored
use_isolated_environments.rst correct tabs?
1 parent 052fda0 commit 2988785

File tree

1 file changed

+23
-27
lines changed

1 file changed

+23
-27
lines changed

docs/day2/use_isolated_environments.rst

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -749,39 +749,35 @@ Breakout room according to grouping
749749
which python # should point to the conda environment!
750750
python -V # should give python version 3.12.X
751751
752-
.. tab:: UPPMAX
753-
754-
.. tabs::
752+
.. tab:: UPPMAX: Bianca
755753

756-
.. tab:: Bianca
757-
758-
.. code-block::
754+
.. code-block::
759755
760-
ml conda
761-
export CONDA_PKG_DIRS=/proj/hpc-python-uppmax/$USER
762-
export CONDA_ENVS_PATH=/proj/hpc-python-uppmax/$USER
763-
conda create --prefix $CONDA_ENVS_PATH/example python=3.12 -c conda-forge
764-
source activate example
765-
# A prompt "(/path-to/example/)" should show up
766-
# double-check we are using python from the Conda environment!
767-
which python # should point to the conda environment!
768-
python -V # should give python version 3.12.X
756+
ml conda
757+
export CONDA_PKG_DIRS=/proj/hpc-python-uppmax/$USER
758+
export CONDA_ENVS_PATH=/proj/hpc-python-uppmax/$USER
759+
conda create --prefix $CONDA_ENVS_PATH/example python=3.12 -c conda-forge
760+
source activate example
761+
# A prompt "(/path-to/example/)" should show up
762+
# double-check we are using python from the Conda environment!
763+
which python # should point to the conda environment!
764+
python -V # should give python version 3.12.X
769765
770-
.. tab:: Pelle
766+
.. tab:: UPPMAX: Pelle
771767

772-
.. code-block::
768+
.. code-block::
773769
774-
ml Miniforge3/24.11.3-0
775-
export CONDA_PKG_DIRS=/proj/hpc-python-uppmax/$USER #only needed once per session
776-
export CONDA_ENVS_PATH=/proj/hpc-python-uppmax/$USER #only needed once per session
777-
conda create --prefix $CONDA_ENVS_PATH/example python=3.12 -c conda-forge
778-
source activate example
779-
# A prompt "(/path-to/example)" should show up
780-
# double-check we are using python from the Conda environment!
781-
which python # should point to the conda environment!
782-
python -V # should give python version 3.12.X
770+
ml Miniforge3/24.11.3-0
771+
export CONDA_PKG_DIRS=/proj/hpc-python-uppmax/$USER #only needed once per session
772+
export CONDA_ENVS_PATH=/proj/hpc-python-uppmax/$USER #only needed once per session
773+
conda create --prefix $CONDA_ENVS_PATH/example python=3.12 -c conda-forge
774+
source activate example
775+
# A prompt "(/path-to/example)" should show up
776+
# double-check we are using python from the Conda environment!
777+
which python # should point to the conda environment!
778+
python -V # should give python version 3.12.X
783779
784-
.. tab:: HPC2N
780+
.. tab:: HPC2N
785781

786782
Skip this exercise
787783

0 commit comments

Comments
 (0)