Skip to content
Snippets Groups Projects
Commit 6a375925 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

update where HPC_force_join is checked

parent fb27db2f
No related branches found
No related tags found
No related merge requests found
......@@ -92,12 +92,14 @@ class HPC(condor,slurm):
print("found {} and {}".format(file,savedfile))
# check for joiningfile again
if os.path.exists(joiningfile):
if self.grid_options['HPC_force_join'] == 1:
print("Forcing join because HPC_force_join is set")
elif os.path.exists(joiningfile):
if vb:
print("cannot join: joiningfile exists at {}".format(joiningfile))
return False
elif vb:
print("joiningfile does not exist")
print("joiningfile does not exist : can join")
if vb:
print("returning True from HPC_can_join()")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment