@@ -14,7 +14,7 @@ For the Hackathon, reservations are available for each day; please use these res
There are large reservations during the active working hours of the Hackathon (9:00 to 18:00) and smaller reservations during the night (18:00 to 9:00). Please see the note on the night reservations below!
It will put the name of the night-time reservation into environment variable `$GPU_HACK_RESERVATION_NIGHTLY`. The day-time reservation is available at `$GPU_HACK_RESERVATION`, but will be used by Slurm automatically as the responsible environment variables are set (like `$SLURM_RESERVATION`).
### Interactive Jobs
#### Allocating Resources
...
...
@@ -50,11 +58,13 @@ Further useful options:
**Note**: A new shell is launched after allocating resources.
If you sourced the *useful variables*, partition and time do not need to be given to the `salloc` call as some defaults have been exported to Slurm environment variables.
* Forward X11: `srun --pty --forward-x /bin/bash -i`; as a first step after starting an interactive compute shell, please fix your X11 environment by calling `source $PROJECT_training1908/common/environment/juwels-xforward-fix.sh` (or by invoking `x11fix` in case you sourced the *useful variables*)
There are scripts available to configure the environment for the GPU Hackathon. Use them like this (replacing `environment.sh` with the respective script)
*`environment.sh`: Source all of the following scripts
*`activate.sh`: Prepare the environment for accounting to `training1909` with `jutil`
*`reservation.sh`: Set the Slurm reservation for the current day by exporting responsible environment variables; it will also export the associated nightly reservation name to `$GPU_HACK_RESERVATION_NIGHTLY` to be used manually
*`useful_variables.sh`: Set some useful variables and shortcuts
- Set the Slurm environment variables to use the `gpus` partition, such that `--partition gpus` does not need to be appended for each `salloc` command
- Set the Slurm environment variables to use an allocation time of 4 h, such that `--time 4:00:00` does not need to be appended for each `salloc` command
- Set some `$GPU_HACK_` convenience function
- Teach the module system to use module files of `$PROJECT_training1908/common/applications`; see them with `module avail`
- Export an alias, `x11fix`, needed when working with GUI applications on JUWELS compute nodes