Repository navigation
Conversation
|
I just tried this fix on the UMass (Massachuetts USA) Slurm cluster I first found the jobid = "that" error. With the current main branch, I still get "that"; with the fixed branch, it runs nicely. Success! |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
runOSCommand()merged stderr into stdout, so informational messages fromsbatchorbsubended up in the output that the backends parse for the batch id.On sites that print such messages, jobs got ids like
"will"or"that"and showed up as expired.Changes:
runOSCommand()gainsstdoutandstderrarguments, following @HenrikBengtsson's version in future.batchtools. The defaults keep the old behavior. Withstderr = NA, stderr is returned separately asres$stderr, andOSError()includes it in the error message.sbatch --parsableand parses only stdout. The check for transient submission errors still looks at both streams, sincesbatchprints those to stderr. An unparseable id now gives a submit error instead of a garbage id.Job <id>part of thebsuboutput, as proposed in Trouble with LSF support #244.The one visible API change is that the list returned by
runOSCommand()has a fifth element,stderr.Tested live on Slurm 25.11.8 (plain and array jobs). That cluster prints no banner, so the banner case itself is covered only by the unit tests and by the stdout/stderr split @bwcompton showed in #314.
@HenrikBengtsson @bwcompton, if you could try this branch on a site that prints such messages, that would close the gap.
Closes #243
Closes #244
Closes #314
🤖 Generated with Claude Code