diff --git a/misc/201903_finiterectlat_AaroBEC_Mie.py b/misc/201903_finiterectlat_AaroBEC_Mie.py index 3458835..5f3e899 100755 --- a/misc/201903_finiterectlat_AaroBEC_Mie.py +++ b/misc/201903_finiterectlat_AaroBEC_Mie.py @@ -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 diff --git a/misc/201903_finiterectlat_AaroBEC_fatMie.py b/misc/201903_finiterectlat_AaroBEC_fatMie.py index 2976e35..7a0b205 100755 --- a/misc/201903_finiterectlat_AaroBEC_fatMie.py +++ b/misc/201903_finiterectlat_AaroBEC_fatMie.py @@ -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