Skip to content

fix(slurm): request minimal /scratch allocation#457

Merged
c-dilks merged 1 commit intomainfrom
diskreq
Apr 1, 2026
Merged

fix(slurm): request minimal /scratch allocation#457
c-dilks merged 1 commit intomainfrom
diskreq

Conversation

@c-dilks
Copy link
Copy Markdown
Member

@c-dilks c-dilks commented Mar 31, 2026

From SciComp:

Slurm users: By default, Slurm jobs receive no /scratch allocation. If
your job runs entirely in memory and shared filesystems, this may be
fine. However, many applications implicitly use temporary scratch space.
If you encounter ENOSPC errors, you will need to request disk
explicitly, for example:

#SBATCH --gres=disk:1G

At least module switch coatjava has triggered 'no space left on device' errors, so let's request a bit of space. 32 MB should be way more than needed, but is also still very minimal, hopefully.

From SciComp:

> Slurm users: By default, Slurm jobs receive no /scratch allocation. If
> your job runs entirely in memory and shared filesystems, this may be
> fine. However, many applications implicitly use temporary scratch space.
> If you encounter ENOSPC errors, you will need to request disk
> explicitly, for example:
>
> ```
> #SBATCH --gres=disk:1G
> ```

At least `module switch coatjava` has triggered 'no space left on
device' errors, so let's request a bit of space. 32 MB should be way
more than needed, but is also still very minimal, hopefully.
@c-dilks c-dilks merged commit 4c50c94 into main Apr 1, 2026
9 checks passed
@c-dilks c-dilks deleted the diskreq branch April 1, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant