Update Slurm

2024-06-10 14:53:31 +02:00
parent 703b8855cd
commit f26e890b3d

@ -62,7 +62,7 @@ echo "hello"
sleep 1m
```
This script submits a job to the **hourly** partition on the merlin6 cluster. It prints out "hello" and sleeps for 1m (does nothing).
**Important:** SLURM parameters can also be provided directly in the command-line. They will overwrite the SLURM params given in the script!Example:
`sbatch --job-name="bla" myscript.sh` will override the parameter `#SBATCH --job-name="test"` in the script.
@ -99,3 +99,15 @@ Example from Relion:
`scancel <jobid> --cluser=<cluster_name>`
### Priority/Queuing of JOBs
SLURM works with a "fair share" concept, which means that all users should get roughly the same amount of computational resources over time. To guarantee that, a submitted job will get a "priority (number)" assigned that ranks the job in the order of being actually started on the cluster. Depending on different parameters: **Age**, **Partition** , **JobSize** etc.
Example: Users who have consumed fewer resources recently will have their jobs prioritized higher, while those who have used more will have lower priority, promoting balanced and fair resource distribution.
**Some important info: **
- If you request 7 days for a job (maximum time) , the **JobSize** parameter will become