Skip to content

slurm logs directory name is inconsistent across examples #1

@pvavra

Description

@pvavra

I've just noticed that on the page on slurm jobs, the example code uses inconsistent folder names for where to place the logs. I only noticed because I copy-pasted one example, but then continued integrating stuff from another, and ran into failed job without any logs being written - slurms' error reporting is horrible for this, as it does not explain at all that it's simply the directory for the logs not (yet) existing.

I've seen all of these version in at least one example:
logs
slurm-logs
slurm_logs

So, the documentation should stick to one (e.g. the instructions in the main text mention slurm-logs explicitly).

Only vaguely related:
is there a slurm-setting that would allow slurm to (attempt to) create this folder if it does not yet exist?
Since no error messages are being produced, as a user I would prefer having 3 different folders being created and me having to clean up, than having an incomprehensibly failed job..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions