Closed d3sm0 closed 2 years ago
It seems that in some cases the extra_slurm_header is not well formatted as a result sometimes we get:
extra_slurm_header
#!/bin/bash #SBATCH --mem=24GB #SBATCH --cpus-per-task=4
Instead we can force a list of string each of them containing an sbatch argument, strip each item and write it in the appropriate row.
#!/bin/bash #SBATCH --mem= #SBATCH --cpus-per-task=4
It seems that in some cases the
extra_slurm_header
is not well formatted as a result sometimes we get:Instead we can force a list of string each of them containing an sbatch argument, strip each item and write it in the appropriate row.