Fix argument type.
Former-commit-id: 01b4413c9a09882b7da040bbb2eb6fb6dd0864dc
This commit is contained in:
parent
38bd16f94a
commit
eddb8558d8
|
@ -10,7 +10,7 @@ nm = 1e-9
|
|||
|
||||
|
||||
if 'SLURM_CPUS_PER_TASK' in os.environ:
|
||||
scatsystem_set_nthreads(os.environ['SLURM_CPUS_PER_TASK'])
|
||||
scatsystem_set_nthreads(int(os.environ['SLURM_CPUS_PER_TASK']))
|
||||
|
||||
|
||||
rewrite_output = '--rewrite-output' in sys.argv
|
||||
|
|
|
@ -8,7 +8,7 @@ import sys
|
|||
from pathlib import Path
|
||||
|
||||
if 'SLURM_CPUS_PER_TASK' in os.environ:
|
||||
scatsystem_set_nthreads(os.environ['SLURM_CPUS_PER_TASK'])
|
||||
scatsystem_set_nthreads(int(os.environ['SLURM_CPUS_PER_TASK']))
|
||||
|
||||
nm = 1e-9
|
||||
|
||||
|
|
Loading…
Reference in New Issue