Skip to content

Commit

Permalink
gaussian.py avoids opt=(calcfc) for some opt job method types
Browse files Browse the repository at this point in the history
  • Loading branch information
JintaoWu98 committed Jan 13, 2024
1 parent cc4e68d commit 3419db3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arc/job/adapters/gaussian.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ def write_input_file(self) -> None:
keywords.extend(['tight', 'maxstep=5'])
else:
keywords.extend(['tight', 'maxstep=5'])
input_dict['job_type_1'] = f"opt=({', '.join(key for key in keywords)})"
input_dict['job_type_1'] = "opt" if self.level.method_type not in ['dft', 'composite', 'wavefunction']\
else f"opt=({', '.join(key for key in keywords)})"

elif self.job_type == 'freq':
input_dict['job_type_2'] = f'freq IOp(7/33=1) scf=(tight, direct) integral=(grid=ultrafine, {integral_algorithm})'
Expand Down

0 comments on commit 3419db3

Please sign in to comment.