Skip to content

Commit

Permalink
tweaked submittion instrs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpritchard committed Feb 11, 2025
1 parent a38cf14 commit e234d82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/docs/software-on-jasmin/rocky9-migration-2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,15 +338,16 @@ Replace `mygws` with the name of an account that you belong to (check with the `
```bash
#!/bin/bash
#SBATCH --job-name="My test job"
#SBATCH --time=01:00
#SBATCH --mem=1G
#SBATCH --time=00:01:00
#SBATCH --mem=1M
#SBATCH --account=mygws
#SBATCH --partition=debug
#SBATCH --qos=debug

# rest of script here
```

where {{<link "https://slurm.schedmd.com/sbatch.html#OPT_time">}}`time`{{</link>}} and {{<link "https://slurm.schedmd.com/sbatch.html#OPT_mem" >}}mem{{</link>}} should be specified as per the `sbatch` documentation, which covers all available directives such as `--cpus-per-task`.

Save this script file as e.g.`test_submit.sh`
Then submit this with:
Expand Down

0 comments on commit e234d82

Please sign in to comment.