fix: wrong args for slurm
This commit is contained in:
parent
0b77699fc5
commit
d4fb8858d8
@ -158,7 +158,7 @@ class Slate():
|
|||||||
last_job_idx = num_jobs - 1
|
last_job_idx = num_jobs - 1
|
||||||
num_parallel_jobs = min(self.consume(slurmC, 'num_parallel_jobs', num_jobs), num_jobs)
|
num_parallel_jobs = min(self.consume(slurmC, 'num_parallel_jobs', num_jobs), num_jobs)
|
||||||
array = f'0-{last_job_idx}%{num_parallel_jobs}'
|
array = f'0-{last_job_idx}%{num_parallel_jobs}'
|
||||||
job = pyslurm.JobSubmitDescription(s_name, script=script, array=array, **slurmC)
|
job = pyslurm.JobSubmitDescription(name=s_name, script=script, array=array, **slurmC)
|
||||||
job_id = job.submit()
|
job_id = job.submit()
|
||||||
print(f'[i] Job submitted to slurm with id {job_id}')
|
print(f'[i] Job submitted to slurm with id {job_id}')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user