Skip to content

Commit

Permalink
Updated SLURM docs
Browse files Browse the repository at this point in the history
  • Loading branch information
micheles committed Oct 3, 2024
1 parent 91fdaef commit 2e13139
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions doc/getting-started/installation-instructions/slurm.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,16 @@ After installing the engine, the sysadmin has to edit the file
```
[distribution]
oq_distribute = slurm
num_cores = 128
max_cores = 1024
serialize_jobs = 2
python = /apps/openquake/3.21/bin/python
slurm_time = 12:00:00
submit_cmd = sbatch --account=myaccount oq run
[directory]
# optionally set it to something like /mnt/large_shared_disk
shared_dir =
[dbserver]
host = local
shared_dir = /home
custom_tmp = /scratch
```
With `serialize_jobs = 2` at most two jobs per user can be run concurrently. You may want to
increase or reduce this number. Each user will have its own database located in
`$HOME/oqdata/db.sqlite3`. The database will be created automatically
the first time the user runs a calculation.
`<shared_dir>/<username>/oqdata/db.sqlite3`. The database will be created automatically the first time the user runs a calculation, or manually with the command `oq engine --upgrade-db`.

0 comments on commit 2e13139

Please sign in to comment.