Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error submitting to a slurm queue #415

@zpalmer618

Description

@zpalmer618

When submitting pbqff to a slurm queue, the following error is printed in the pbqff.log file:
thread 'main' panicked at /home/brent/.cargo/git/checkouts/psqs-bb7f245cb9c9f2af/2b4e5c7/src/queue/slurm.rs:142:17: assertion failed: fields.len() == 8

Investigating the issue in slurm.rs, reveals that it checks squeue -u $USER for 8 fields, but the present compute cluster will potentially print 9 fields due to an additional whitespace in the (REASON) portion of squeue:
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1810906 requeue grad_aqz cpgbn PD 0:00 1 (ReqNodeNotAvail, UnavailableNodes:compute-12-13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions