Versions Compared

Key

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

...

Code Block
languagebash
themeMidnight
titleCustom Rstudio environment
[user@login002 ~]$ srun -p sandbox -c 4 --mem=6g -t 60 --pty /bin/bash
[user@node-0005 ~]$ module purge
[user@node-0005 ~]$ module load lang/RRStudio-Server/32022.507.12+576-foss-2018b-2022a-Java-11-R-4.2.1
[user@node-0005 ~]$ module load data/GDAL/23.25.30-foss-2018b-Python-3.6.62022a
[user@node-0005 ~]$ R
[user@node-0005 ~]$ # Perform install.packages in R of rgdal and exit R
[user@node-0005 ~]$ module save ood_rstudio
[user@node-0005 ~]$ exit

...

Code Block
languagebash
themeMidnight
titleCustom Jupyter Kernel
[user@node-0005 ~]$ module purge
[user@node-0005 ~]$ module load lang/Anaconda3
[user@node-0005 ~]$ condamamba create --name test_env python=3
[user@node-0005 ~]$ source activate test_env
[user@node-0005 ~]$ ### Install your required packages ###
[user@node-0005 ~]$ # ...
[user@node-0005 ~]$ ### Finalize setup with this last package ###
[(test_env) user@node-0005 ~]$ condamamba install ipykernel
[(test_env) user@node-0005 ~]$ python -m ipykernel install --user --name test_env --display-name "test_env"
[(test_env) user@node-0005 ~]$ exit

...

Code Block
languagebash
themeMidnight
titleCustomized Jupyter Environment
[user@node-0005 ~]$ module purge
[user@node-0005 ~]$ module load lang/Anaconda3
[user@node-0005 ~]$ condamamba create -n ood_jupyterlab -c conda-forge jupyterlab=3 xeus-python
[user@node-0005 ~]$ exit

...