Empty submission script generated for Slurm
Opened this issue · 0 comments
jamierajewski commented
Cedar cluster
Python 3.7.7
Pyglidein 1.1.10
Slurm 20.11.4
When attempting to launch glideins after the update to python 3.7.7 and latest pyglidein version, submissions seem to work but then end with the following error:
sbatch: error: Batch script is empty!
Traceback (most recent call last):
File "pyglidein/client.py", line 255, in <module>
main()
File "pyglidein/client.py", line 232, in main
scheduler.submit(s, partition)
File "/scratch/iceprod/pyglidein/pyglidein/submit.py", line 395, in submit
subprocess.check_call(cmd, shell=True)
File "/cvmfs/soft.computecanada.ca/gentoo/2020/usr/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'sbatch --account=rpp-kenclark submit.pbs' returned non-zero exit status 1.
It was able to submit ~600 jobs prior to this, so it seems like it may experience this once the submission queue becomes empty.