-
Notifications
You must be signed in to change notification settings - Fork 80
Add Gaussian harness #442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add Gaussian harness #442
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files |
qcengine/programs/gaussian.py
Outdated
#if input_model.molecule.fix_com or input_model.molecule.fix_orientation: | ||
# keywords["SYM_IGNORE"] = "TRUE" |
Check notice
Code scanning / CodeQL
Commented-out code
#if input_model.driver == 'energy': | ||
# print (cclib.__version__) | ||
# print (output_data) |
Check notice
Code scanning / CodeQL
Commented-out code
qcengine/programs/gaussian.py
Outdated
""" | ||
|
||
import os | ||
import re |
Check notice
Code scanning / CodeQL
Unused import
qcengine/programs/gaussian.py
Outdated
|
||
import os | ||
import re | ||
import tempfile |
Check notice
Code scanning / CodeQL
Unused import
qcengine/programs/gaussian.py
Outdated
import os | ||
import re | ||
import tempfile | ||
import warnings |
Check notice
Code scanning / CodeQL
Unused import
qcengine/programs/gaussian.py
Outdated
data = cclib.io.ccread(tmp_output_file) | ||
cclib_vars = data.getattributes(True) | ||
|
||
last_occupied_energy = data.moenergies[0][data.homos[0]] |
Check notice
Code scanning / CodeQL
Unused local variable
qcengine/programs/gaussian.py
Outdated
|
||
provenance = Provenance(creator="Gaussian", version=self.get_version(), routine='g09').dict() | ||
|
||
stdout = outfiles.pop('stdout') |
Check notice
Code scanning / CodeQL
Unused local variable
qcengine/programs/gaussian.py
Outdated
provenance = Provenance(creator="Gaussian", version=self.get_version(), routine='g09').dict() | ||
|
||
stdout = outfiles.pop('stdout') | ||
stderr = outfiles.pop('stderr') |
Check notice
Code scanning / CodeQL
Unused local variable
qcengine/programs/gaussian.py
Outdated
#print("\nPRINT STDOUT: \n", stdout) | ||
|
||
|
||
method = input_model.model.method.lower() |
Check notice
Code scanning / CodeQL
Unused local variable
I think |
qcengine/programs/gaussian.py
Outdated
output_data['success'] = True | ||
#print ('output_data: ', output_data) | ||
|
||
provenance = Provenance(creator="gaussian", version=self.get_version(), routine='g09').dict() |
Check notice
Code scanning / CodeQL
Unused local variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! Here's some initial queries.
qcengine/programs/gaussian.py
Outdated
#if input_model.molecule.fix_com or input_model.molecule.fix_orientation: | ||
# keywords["SYM_IGNORE"] = "TRUE" | ||
if 'SCF_CONVERGENCE' in keywords: | ||
gaussian_kw.append('SCF=' + keywords["SCF_CONVERGENCE"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the name "SCF_CONVERGENCE" coming from? QCNG tends to want the same keyword names in AtIn.keywords
as the experience user would use in the program natively. Is Conver=N
on https://gaussian.com/scf/ ("Options" tab) what you're targeting?
Description
This is the implementation of Gaussian software into QCEngine