Skip to content

Commit

Permalink
Set SGE job name to match user-provided name
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Jul 12, 2023
1 parent ce108bf commit dd4aa65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/modloop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ def make_sge_script(runnercls, model, jobname, directory, number_of_tasks):
""" % locals()
r = runnercls(script)
r.set_sge_options("-o output.error -j y -l h_rt=24:00:00 -l scratch=1G "
"-r y -N loop -p -4 -t 1-%d" % number_of_tasks)
"-r y -p -4 -t 1-%d" % number_of_tasks)
r.set_sge_name(jobname)
return r


Expand Down

0 comments on commit dd4aa65

Please sign in to comment.