fixes
This commit is contained in:
parent
648683fb9d
commit
0b77699fc5
@ -156,9 +156,9 @@ class Slate():
|
|||||||
num_jobs = 1
|
num_jobs = 1
|
||||||
|
|
||||||
last_job_idx = num_jobs - 1
|
last_job_idx = num_jobs - 1
|
||||||
num_parallel_jobs = min(self.consume(config, 'slurm.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, **config['slurm'])
|
job = pyslurm.JobSubmitDescription(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