en:hpc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:hpc [2022/04/14 13:24] – grikiete | en:hpc [2022/04/15 06:09] – [Software] grikiete | ||
---|---|---|---|
Line 13: | Line 13: | ||
The processor below = CPU = core - a single core of the processor (with all hyperthreads if they are turned on). | The processor below = CPU = core - a single core of the processor (with all hyperthreads if they are turned on). | ||
+ | |||
+ | ====== Software ====== | ||
+ | |||
+ | In **main** and **gpu** partitions there are installed [[https:// | ||
+ | |||
+ | You can check the list of OS package with the command '' | ||
+ | |||
+ | With the command [[https:// | ||
+ | |||
+ | With singularity you can prepare your container, for example: | ||
+ | <code shell> | ||
+ | $ singularity build --sandbox /tmp/python docker:// | ||
+ | $ singularity exec -w /tmp/python pip install package | ||
+ | $ singularity build python.sif /tmp/python | ||
+ | $ rm -rf /tmp/python | ||
+ | </ | ||
+ | Similarly, you can use R, Julia or other containers that do not require root privileges to install packages. | ||
+ | |||
+ | If you want to add OS packages to the singularity container, you need root/ | ||
+ | <code shell> | ||
+ | $ singularity build --sandbox /tmp/python docker:// | ||
+ | $ cp / | ||
+ | $ fakeroot -l / | ||
+ | $ fakeroot -l / | ||
+ | $ fakeroot -l / | ||
+ | $ rm -rf / | ||
+ | $ singularity build python.sif /tmp/python | ||
+ | $ rm -rf /tmp/python | ||
+ | </ | ||
+ | |||
+ | There are ready-made scripts to run your **hadoop** tasks using the [[https:// | ||
+ | |||
+ | With [[https:// | ||
+ | |||
+ | <code shell> | ||
+ | $ python3.7 -m pip install --upgrade pip setuptools wheel | ||
+ | $ python3.7 -m pip install --ignore-installed batchspawner jupyterlab | ||
+ | </ | ||
+ | |||
+ | Alternatively, | ||
+ | <code shell> | ||
+ | #!/bin/sh | ||
+ | exec singularity exec --nv myjupyterlab.sif batchspawner-singleuser " | ||
+ | </ |
en/hpc.txt · Last modified: 2024/02/21 12:50 by rolnas