Skip to content

Commit

Permalink
Merge pull request #326 from TheoChem-VU/325-change-sfositeenergies-t…
Browse files Browse the repository at this point in the history
…o-fmatsfo

Changed default print option `SFOSiteEnergies` to `FmatSFO` in `ADFJob`
  • Loading branch information
YHordijk authored Oct 21, 2024
2 parents b458685 + bf93c71 commit fd5fefd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/tcutility/job/adf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, *args, **kwargs):
self.single_point()

# by default print the fock matrix
self.settings.input.adf.print = "SFOSiteEnergies"
self.settings.input.adf.print = "FmatSFO"
super().__init__(*args, **kwargs)

def __str__(self):
Expand Down Expand Up @@ -451,13 +451,13 @@ def run(self):
self.dependency(child)
log.flow(f'SlurmID: {child.slurm_job_id}', ['straight', 'skip', 'end'])
log.flow()

if self.decompose_elstat:
child_STOFIT = ADFJob(child)
child_STOFIT.name += '_STOFIT'
elstat_jobs[child_STOFIT.name] = child_STOFIT
child_STOFIT.settings.input.adf.STOFIT = ''
child_STOFIT.settings.input.adf.PRINT = 'SFOSiteEnergies Elstat'
child_STOFIT.settings.input.adf.PRINT = 'FmatSFO Elstat'
child_STOFIT.settings.input.adf.pop("NumericalQuality")
child_STOFIT.settings.input.adf.BeckeGrid.Quality = "Excellent"

Expand All @@ -480,7 +480,7 @@ def run(self):
child_NoElectrons.name += '_NoElectrons'
elstat_jobs[child_NoElectrons.name] = child_NoElectrons
child_NoElectrons.settings.input.adf.STOFIT = ''
child_NoElectrons.settings.input.adf.PRINT = 'SFOSiteEnergies Elstat'
child_NoElectrons.settings.input.adf.PRINT = 'FmatSFO Elstat'
child_NoElectrons.charge(molecule.number_of_electrons(child_NoElectrons._molecule))
child_NoElectrons.spin_polarization(0)
child_NoElectrons.settings.input.adf.pop("NumericalQuality")
Expand Down Expand Up @@ -561,7 +561,7 @@ def run(self):
for frag_name in frag_names:
self.settings.input.adf.fragments[frag_name + '_STOFIT'] = j(elstat_jobs['frag_' + frag_name + '_STOFIT'].workdir, 'adf.rkf')
self.settings.input.adf.STOFIT = ''
self.settings.input.adf.PRINT = 'SFOSiteEnergies Elstat'
self.settings.input.adf.PRINT = 'FmatSFO Elstat'

log.flow(log.Emojis.good + ' Submitting complex with STOFIT', ['split'])
super().run()
Expand Down

0 comments on commit fd5fefd

Please sign in to comment.