diff --git a/doc.zih.tu-dresden.de/docs/data_lifecycle/workspaces.md b/doc.zih.tu-dresden.de/docs/data_lifecycle/workspaces.md index cad27c4df4070206644612d85d7fadc7658e15f4..35f18e935e93a2c287d62c46584862456077953d 100644 --- a/doc.zih.tu-dresden.de/docs/data_lifecycle/workspaces.md +++ b/doc.zih.tu-dresden.de/docs/data_lifecycle/workspaces.md @@ -130,6 +130,14 @@ marie@login$ ws_extend -F scratch my-workspace 40 it will now expire in 40 days **not** 130 days. +### Send Reminder for Workspace Expiry Date + +Send a calendar invitation by Email to ensure that the expiration date of a workspace is not forgotten + +```console +ws_send_ical -F scratch my-workspace -m marie.testuser@tu-dresden.de +``` + ### Deletion of a Workspace To delete a workspace use the `ws_release` command. It is mandatory to specify the name of the diff --git a/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_profiling.md b/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_profiling.md index 273a87710602b62feb97c342335b4c44f30ad09e..175333cb01be36b74ab8eb906eae05430345ecb1 100644 --- a/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_profiling.md +++ b/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_profiling.md @@ -60,3 +60,38 @@ More information about profiling with Slurm: - [Slurm Profiling](http://slurm.schedmd.com/hdf5_profile_user_guide.html) - [`sh5util`](http://slurm.schedmd.com/sh5util.html) + +## Memory Consumption of a Job + +If you are only interested in the maximal memory consumption of your job, you don't need profiling +at all. This information can be retrieved from within [job files](slurm.md#batch-jobs) as follows: + +```bash +#!/bin/bash + +#SBATCH [...] + +module purge +module load [...] + +srun a.exe + +# Retrieve max. memory for this job for all nodes +srun max_mem.sh +``` + +The script `max_mem.sh` is: + +```bash +#!/bin/bash + +echo -n "$(hostname): " +cat /sys/fs/cgroup/memory/slurm/uid_${SLURM_JOB_UID}/job_${SLURM_JOB_ID}/memory.max_usage_in_bytes +``` + +!!! note + + * Make sure that the script `max_mem.sh` is executable (e.g., `chmod +x max_mem.sh`) and add the + path to this script if it is not within the same directory. + * The `srun` command is necessary to gather the max. memory from all nodes within this job. + Otherwise, you would only get the data from one node. diff --git a/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css b/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css index 5505ff954a79532a27f55f2b0ad0d82eecd095de..2314b545cfae7a8bdbc8a668ef28577012961f9b 100644 --- a/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css +++ b/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css @@ -13,10 +13,23 @@ } :root { --md-text-font-family: 'Open Sans Regular', sans-serif; + /* TUD CD colors */ + /* primary colors */ --md-primary-fg-color: rgb(0, 37, 87); --md-primary-fg-color--light: rgb(39, 66, 117); --md-footer-bg-color: rgb(0, 37, 87); + + --tud-blue-20: rgb(191, 201, 215); + --tud-blue-10: rgb(207, 214, 225); + --ms-blue: rgb(233, 237, 242); + /* secondary colors */ --tud-grey-100: rgb(51, 51, 51); + --tud-grey-95: rgb(102, 102, 102); + --tud-grey-90: rgb(153, 153, 153); + --tud-grey-80: rgb(199, 199, 199); + --grey-75: rgb(222, 222, 222); + --tud-grey-70: rgb(245, 245, 245); + /* interaction color */ --tud-red-90: rgb(221, 29, 29); } @@ -73,6 +86,9 @@ strong { .md-typeset code { word-break: normal; + #background-color: var(--grey-75); + #background-color: var(--tud-blue-10); + background-color: var(--ms-blue); } .md-typeset .admonition, diff --git a/doc.zih.tu-dresden.de/util/grep-forbidden-patterns.sh b/doc.zih.tu-dresden.de/util/grep-forbidden-patterns.sh index f3cfa673ce063a674cb2f850d7f7da252a6ab093..4dfba33d1a073ba3b4b7e976bc822d822f630030 100755 --- a/doc.zih.tu-dresden.de/util/grep-forbidden-patterns.sh +++ b/doc.zih.tu-dresden.de/util/grep-forbidden-patterns.sh @@ -40,6 +40,9 @@ i \<todo\> <!--.*todo.*--> Replace variations of \"Coming soon\" with real content. i \(\<coming soon\>\|This .* under construction\|posted here\) +Add table column headers. + +i ^[ |]*|$ Avoid spaces at end of lines. doc.zih.tu-dresden.de/docs/accessibility.md i [[:space:]]$