Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when specifying --slurm-leader-job-resource-param #190

Closed
wkc1986 opened this issue Feb 27, 2023 · 1 comment
Closed

Error when specifying --slurm-leader-job-resource-param #190

wkc1986 opened this issue Feb 27, 2023 · 1 comment

Comments

@wkc1986
Copy link

wkc1986 commented Feb 27, 2023

I needed increased time limit for my leader task, so I added

--slurm-leader-job-resource-param "-t 28-0:00"

to caper hpc submit. This gets the message Running shell command: sbatch -t 28-0:00 [etc] and the time limit for the leader job is properly set when viewed with sacct --format=Timelimit. So at first this seems to work. However the leader task fails and slurm-*******.out ends with

caper run: error: argument --slurm-leader-job-resource-param: expected one argument

It seems like the initial interpretation of the argument is correct, but then it gets passed to caper run inside the leader job, and creates a problem there somehow?

@wkc1986
Copy link
Author

wkc1986 commented Feb 28, 2023

My fault, clashed with same setting in default.conf.

@wkc1986 wkc1986 closed this as completed Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant