Skip to content

Commit 1b82baf

Browse files
authored
IDEs_cmd.rst Pelle start spyder
1 parent 47fe82d commit 1b82baf

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

docs/day2/IDEs_cmd.rst

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -583,18 +583,37 @@ Principles
583583

584584
.. tab:: UPPMAX
585585

586-
Spyder is not available centrally on Rackham.
586+
.. tabs::
587587

588-
- Use the conda env you created in Exercise 2 in `Use isolated environments <https://uppmax.github.io/HPC-python/day2/use_isolated_environments.html#exercises>`_
588+
.. tab:: Pelle
589589

590-
.. code-block:: console
590+
ALT 1
591591

592-
ml conda
593-
export CONDA_PKG_DIRS=/proj/hpc-python-uppmax/$USER
594-
export CONDA_ENVS_PATH=/proj/hpc-python-uppmax/$USER
595-
source activate spyder-env
592+
- Within the terminal of the interactive session,
593+
load the ``Spyder`` module compatible with the ``foss2023b`` toolchain (``GCCcore-13.2.0``).
594+
- You get ``Python/3.11.5`` on the fly.
595+
- Also load ``SciPy-bundle`` to get ``numpy`` and ``pandas``
596+
- and ``matplotlib`` that is its own module.
597+
- (You can add any other compatible python package module as well)
596598

597-
* you can install packages with pip install from inside Spyder
599+
.. code-block:: console
600+
601+
ml Spyder/6.0.1-GCCcore-13.2.0
602+
ml SciPy-bundle/2023.11-gfbf-2023b
603+
ml matplotlib/3.8.2-gfbf-2023b
604+
605+
ALT 2
606+
607+
- Use the conda env you created in Exercise 2 in `Use isolated environments <https://uppmax.github.io/HPC-python/day2/use_isolated_environments.html#exercises>`_
608+
609+
.. code-block:: console
610+
611+
ml conda
612+
export CONDA_PKG_DIRS=/proj/hpc-python-uppmax/$USER
613+
export CONDA_ENVS_PATH=/proj/hpc-python-uppmax/$USER
614+
source activate spyder-env
615+
616+
* you can install packages with pip install from inside Spyder
598617

599618
.. tab:: LUNARC
600619

0 commit comments

Comments
 (0)