Skip to content

Commit

Permalink
Merge pull request #40 from hjkgrp/disable_max_resub
Browse files Browse the repository at this point in the history
disabled max_resub
  • Loading branch information
aarongarrison authored Nov 20, 2024
2 parents 1e82650 + e740056 commit 83c1d2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions jobmanager/io/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def read_outfile(outfile_path, short_ouput=False, long_output=True):
'finished': False, 'min_energy': None, 'scf_error': False,
'thermo_grad_error': False, 'solvation_energy': None, 'optimization_cycles': None,
'thermo_vib_energy': None, 'thermo_vib_free_energy': None, 'thermo_suspect': None,
'orbital_occupation': None, 'oscillating_scf_error': False}
'orbital_occupation': None, 'oscillating_scf_error': False,
'terminated': False, 'no_scf': False}
return return_dict

output_type = ['TeraChem', 'ORCA'][counter]
Expand Down Expand Up @@ -595,8 +596,8 @@ def strip_new_line(string):
# If global settings not specified, choose defaults:
if (not max_jobs) and isinstance(max_jobs, bool):
max_jobs = 50
if not max_resub:
max_resub = 5
# if not max_resub:
# max_resub = 5
if not levela:
levela = 0.25
if not levelb:
Expand Down
2 changes: 1 addition & 1 deletion jobmanager/resub.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def kill_jobs(kill_names, message1='Killing job: ', message2=' early'):
print(message1 + name + message2)
if machine in ['gibraltar']:
tools.call_bash('qdel ' + str(id_))
elif machine in ['comet', 'bridges','expanse']:
elif machine in ['supercloud', 'comet', 'bridges','expanse']:
tools.call_bash('scancel '+str(id_))
else:
raise ValueError('Sardines.')
Expand Down

0 comments on commit 83c1d2a

Please sign in to comment.