diff --git a/doc.zih.tu-dresden.de/docs/index.md b/doc.zih.tu-dresden.de/docs/index.md index c2b122e008d51f7826aa784f6adbb727e5c4297a..1f7822551acc94ce17b0fa378606da0cba30da9c 100644 --- a/doc.zih.tu-dresden.de/docs/index.md +++ b/doc.zih.tu-dresden.de/docs/index.md @@ -32,4 +32,4 @@ We offer a rich and colorful bouquet of courses from classical *HPC introduction [Training Offers](https://tu-dresden.de/zih/hochleistungsrechnen/nhr-training) for a detailed overview of the courses and the respective dates at ZIH. -* [HPC introduction slides](misc/HPC-Introduction.pdf) (Sep. 2021) +* [HPC introduction slides](misc/HPC-Introduction.pdf) (Nov. 2022) diff --git a/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md b/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md index ebfd52972ac785b851a0c02758904a68dd09af8f..8e51c36e09344c2005f70f703874632500057ad5 100644 --- a/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md +++ b/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md @@ -92,6 +92,21 @@ below. echo "All parallel job steps completed!" ``` +### Request Resources for Parallel Make + +From time to time, you want to build and compile software and applications on a compute node. +But, do you need to request tasks or CPUs from Slurm in order to provide resources for the parallel +`make` command? The answer is "CPUs". + +!!! example "Interactive allocation for parallel `make` command" + + ```console + marie@login$ srun --ntasks=1 --cpus-per-task=16 --mem=16G --time=01:00:00 --pty bash --login + [...] + marie@compute$ # prepare the source code for building using configure, cmake or so + marie@compute$ make -j + ``` + ## Requesting GPUs Slurm will allocate one or many GPUs for your job if requested. Please note that GPUs are only diff --git a/doc.zih.tu-dresden.de/docs/misc/HPC-Introduction.pdf b/doc.zih.tu-dresden.de/docs/misc/HPC-Introduction.pdf index 71d47f04b75004fad2b9fd7181051c2beae4e2fe..955c681758a3830afa88f053d7342809c9785b26 100644 Binary files a/doc.zih.tu-dresden.de/docs/misc/HPC-Introduction.pdf and b/doc.zih.tu-dresden.de/docs/misc/HPC-Introduction.pdf differ diff --git a/doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md b/doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md index 129b1d9dd053415617e77f3abad603c2d6b68809..42731ed06a429f223f636db38dacdb3a86252ce4 100644 --- a/doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md +++ b/doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md @@ -249,8 +249,8 @@ Recreate the conda virtual environment with the packages from the created `environment.yml` file: ```console -marie@compute$ mkdir workshop_env #Create directory for environment +marie@compute$ mkdir /scratch/ws/1/marie-conda_virtual_environment/conda-env #Create directory for environment marie@compute$ module load Anaconda3 #Load Anaconda marie@compute$ conda config --set channel_priority strict -marie@compute$ conda env create --prefix workshop_env --file environment.yml #Create conda env in directory with packages from environment.yml file +marie@compute$ conda env create --prefix /scratch/ws/1/marie-conda_virtual_environment/conda-env --file environment.yml #Create conda env in directory with packages from environment.yml file ```