Change time requested for job
Opened this issue · 2 comments
lucygarner commented
Hi,
Is there an option you can pass to P.run()
to change the time requested for a job? I couldn't see an obvious one in https://github.com/CGATOxford/CGATPipelines/blob/master/CGATPipelines/Pipeline/Execution.py? I am using a Slurm server.
Best wishes,
Lucy
TomSmithCGAT commented
Hi Lucy,
You can add further arguments to be passed to the job scheduler by creating a job_options
string, which will be picked up by P.run()
. E.g to ask for 2 hours with slurm
:
job_options = " -t 2:00:00"
P.run()
This repository is also no longer supported. See https://github.com/cgat-developers/cgat-core for the up to date repository.
Best wishes,
Tom
lucygarner commented
Great, thank you. I'll give it a go.