Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
9f4c17d
NumFreq: For QM/MM and ONIOM theories we now exit with recommendation…
RagnarB83 Jul 22, 2025
9c72521
- DLFIND interface: support for optimizations, NEB, dimer. Instantons…
RagnarB83 Aug 4, 2025
a028819
Turbomole: pc support, not ready
RagnarB83 Aug 4, 2025
358c855
fixes
RagnarB83 Aug 4, 2025
37da7a5
fix2
RagnarB83 Aug 4, 2025
ac97f22
DL-FIND: hessian_choice can be file or numpy array also
RagnarB83 Aug 5, 2025
ac66483
create_ML_training_data has a bug as it tries to create mace formatte…
madhursharmaa Aug 5, 2025
cde1e00
Merge pull request #466 from madhursharmaa/NEW
RagnarB83 Aug 5, 2025
fd55205
MACE interface:
RagnarB83 Aug 5, 2025
02fe475
fix
RagnarB83 Aug 5, 2025
4bfe5ad
MACETheory: max_L is now default
RagnarB83 Aug 5, 2025
39a1dd2
tweak
RagnarB83 Aug 6, 2025
f1e8d21
MACETheory: bugfix
RagnarB83 Aug 6, 2025
c5138d4
NEB changes:
RagnarB83 Aug 8, 2025
4dfe611
mace: grad true if Hessian tru
RagnarB83 Aug 8, 2025
50ec49b
mace: forces as np and torch tensor
RagnarB83 Aug 8, 2025
62b2840
geometric: partial-hessian numpoint=2 option
RagnarB83 Aug 8, 2025
5f51c42
debugging
RagnarB83 Aug 8, 2025
654cedd
Bugfix NumFreq: partial Hessian and masses
RagnarB83 Aug 9, 2025
b4fc67a
debugging
RagnarB83 Aug 9, 2025
173b396
approximate_full_Hessian_from_smaller: fixes
RagnarB83 Aug 9, 2025
83f7821
approximate_full_Hessian_from_smaller: restHessian zero now by deafult
RagnarB83 Aug 9, 2025
88250d0
minor
RagnarB83 Aug 9, 2025
08a67d3
prelim version of fairchem (not ready)
RagnarB83 Aug 10, 2025
393dfc7
bugfix for prev commit: ASE ASHcalc
RagnarB83 Aug 10, 2025
8416106
fairchem: model_name and model_file
RagnarB83 Aug 10, 2025
37c710b
fix
RagnarB83 Aug 10, 2025
fba24d5
fairchem: charge and mult
RagnarB83 Aug 10, 2025
960709b
fixes
RagnarB83 Aug 10, 2025
d610121
device and seet for FairchemTheory
RagnarB83 Aug 10, 2025
42f122d
fairchemtheory: numcores
RagnarB83 Aug 10, 2025
dfd0ae6
fairchem interface: timings
RagnarB83 Aug 10, 2025
eacda78
minor fixed to packmol interface
madhursharmaa Aug 13, 2025
529daa8
Merge pull request #467 from madhursharmaa/NEW
RagnarB83 Aug 14, 2025
eb808d6
-fairchem: minor things
RagnarB83 Aug 14, 2025
a7149f7
fix
RagnarB83 Aug 14, 2025
807b749
torchtheory: now supporting old and new aimnet2, including support f…
RagnarB83 Aug 14, 2025
d99c8df
aimnet2 new interface: now supporting charges
RagnarB83 Aug 14, 2025
1082edb
aimnet2 small update
RagnarB83 Aug 14, 2025
ad66325
ONIOM: fix bug for case PC=True, Grad False, also pointcharges now fl…
RagnarB83 Aug 16, 2025
d6b2086
fix
RagnarB83 Aug 16, 2025
e2c4a6b
- hessatoms list now both sorted and using unique values
RagnarB83 Aug 21, 2025
d818cfd
xtb: grab_charges option
RagnarB83 Aug 22, 2025
c033e3b
packmol interface fixes and also support for sphere shape
madhursharmaa Aug 22, 2025
24417d8
Merge branch 'NEW' into NEW
RagnarB83 Aug 22, 2025
cca24e4
Merge pull request #468 from madhursharmaa/NEW
RagnarB83 Aug 22, 2025
4c28286
- qm/mm: linkatom printing
RagnarB83 Aug 27, 2025
7f2c90c
turbomole: support for non-neutral and open-shell
RagnarB83 Aug 27, 2025
53cf7d8
turbomole: controlfile option
RagnarB83 Aug 27, 2025
c6a422c
fix
RagnarB83 Aug 27, 2025
154c8a6
fixes
RagnarB83 Aug 27, 2025
3e349b1
fix
RagnarB83 Aug 27, 2025
e63b959
fix
RagnarB83 Aug 27, 2025
38c911d
fix
RagnarB83 Aug 27, 2025
5504e0a
fix
RagnarB83 Aug 27, 2025
a55cc82
turbomole fixes
RagnarB83 Aug 28, 2025
9a8ee81
fix
RagnarB83 Aug 28, 2025
fe421c3
fix
RagnarB83 Aug 28, 2025
2db4128
fix
RagnarB83 Aug 28, 2025
ae6b857
fix
RagnarB83 Aug 28, 2025
5b688fa
turbomole: hessian, not ready
RagnarB83 Aug 28, 2025
9b8d1af
hessian
RagnarB83 Aug 28, 2025
b3e5173
pyscf: timing function fix
RagnarB83 Aug 31, 2025
ecfc8c6
bugfix: update_QMregion_charges
RagnarB83 Sep 2, 2025
9fdc724
xtb: now grabbing default charges from file charges instead of output…
RagnarB83 Sep 2, 2025
f52ff97
make_molden_file: added g angmom
RagnarB83 Sep 7, 2025
ed54c8b
- re-enabled constraintsinputfile option
RagnarB83 Sep 15, 2025
9499af2
Block2: chkfile for CASSCF test
RagnarB83 Sep 15, 2025
e0f8518
fix
RagnarB83 Sep 15, 2025
eb2bb6b
Block interface: pySCF_read_MOs, now checking for keys
RagnarB83 Sep 16, 2025
c2484b7
pySCF_read_MOs: import h5py
RagnarB83 Sep 16, 2025
eb2116d
pyscf: solvation options
RagnarB83 Sep 18, 2025
405e96f
OpenMM_MD: when restarting by e.g. statefile, make sure trajfile actu…
RagnarB83 Sep 21, 2025
4a8d93b
geometric interface: IRC
RagnarB83 Sep 23, 2025
f92ea91
- geometric: rigid-opt option, enforce constraint option
RagnarB83 Sep 23, 2025
53258fd
preliminary qbc function (not tested)
RagnarB83 Sep 25, 2025
501abfc
printlevel in create_ML_training_data
RagnarB83 Sep 25, 2025
f9f7a76
fix
RagnarB83 Sep 25, 2025
943c7e8
tests
RagnarB83 Sep 25, 2025
f4fcad8
cleanup
RagnarB83 Sep 25, 2025
1e4ab37
mace interface: model_file used for final trained model now
RagnarB83 Sep 25, 2025
c1bd46a
fix
RagnarB83 Sep 25, 2025
a48ddf7
fix
RagnarB83 Sep 25, 2025
f9221eb
singlepoint: obey result_write_to_disk better
RagnarB83 Sep 26, 2025
9d527cb
create_ML_training_data: reduce printing
RagnarB83 Sep 26, 2025
c866871
query-by-committee cleanup
RagnarB83 Sep 27, 2025
91021d1
fix
RagnarB83 Sep 27, 2025
acdf9aa
fix
RagnarB83 Sep 27, 2025
50c1b99
pyscf debug
RagnarB83 Sep 27, 2025
6e6265f
debug
RagnarB83 Sep 27, 2025
42436a4
debug
RagnarB83 Sep 27, 2025
8301047
pyscftheory: do not convert mf back to cpu if Hessian is True
RagnarB83 Sep 27, 2025
dabefce
proper
RagnarB83 Sep 27, 2025
8d4dec6
cleanup
RagnarB83 Sep 27, 2025
e9f8e62
pyscf: hessian handling bugfix, ir prop for gpu4pyscf, not tested
RagnarB83 Sep 27, 2025
acab1d6
fix
RagnarB83 Sep 27, 2025
3ec71dd
fix
RagnarB83 Sep 27, 2025
bc99d1a
fix
RagnarB83 Sep 27, 2025
c04b937
pyscftheory: for gpu we don't need pyscf.prop
RagnarB83 Sep 27, 2025
11c38f2
create_ML_training_data: bugfix for parallel
RagnarB83 Oct 1, 2025
b233061
create_ML_training_data bugfix: parallel mode: all_fragments renamed …
RagnarB83 Oct 4, 2025
8530156
- ORCA-interface: tddftintens_grab updated for ORCA 6
RagnarB83 Oct 6, 2025
670e2ee
fix due to linter
RagnarB83 Oct 6, 2025
63c1101
optimizer: case atom, return result object not energy
RagnarB83 Oct 7, 2025
8f42117
calc_xyzfiles: handle atoms
RagnarB83 Oct 7, 2025
bff0fde
fix
RagnarB83 Oct 7, 2025
0d822cf
fix
RagnarB83 Oct 7, 2025
79f9f62
fix
RagnarB83 Oct 7, 2025
d60ef49
NEB: debugging
RagnarB83 Oct 7, 2025
8f53d4c
more debug
RagnarB83 Oct 7, 2025
9610af2
NEB: knarr bugfix, for free_end, Ereactant should not be fixed
RagnarB83 Oct 7, 2025
2fa00b3
NEB knarr: removed debug printing. Problem with free_end now fixed
RagnarB83 Oct 7, 2025
ced663f
pyscf theory: neo feature
RagnarB83 Oct 11, 2025
d36d5c0
NEO interface:
RagnarB83 Oct 16, 2025
73afb50
pyscf interface: support for functional="skala", requires Skala insta…
RagnarB83 Oct 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
from .interfaces.interface_Grimme_corrections import DFTD4Theory, calc_DFTD4, calc_gcp, gcpTheory
from .interfaces.interface_torch import TorchTheory
from .interfaces.interface_mace import MACETheory
from .interfaces.interface_fairchem import FairchemTheory
from .interfaces.interface_packmol import packmol_solvate

# MM: external and internal
Expand Down Expand Up @@ -171,6 +172,7 @@

# Geometry optimization
from .functions.functions_optimization import SimpleOpt, BernyOpt
from .interfaces.interface_dlfind import DLFIND_optimizer

# geomeTRIC interface
from .interfaces.interface_geometric_new import geomeTRICOptimizer,GeomeTRICOptimizerClass
Expand Down
2 changes: 1 addition & 1 deletion ash/functions/functions_elstructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ def make_molden_file(fragment, AO_basis, MO_coeffs, MO_energies=None, MO_occs=No
#Basis set
###########
#TODO. Check
shell_to_angmom = {"s":0,"p":1,"d":2,"f":3}
shell_to_angmom = {"s":0,"p":1,"d":2,"f":3,"g":4}
gtostring="""[GTO]
"""
#Looping over each atom in AO_basis object
Expand Down
1 change: 1 addition & 0 deletions ash/interfaces/interface_ASE.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def get_forces(self, atomsobj):
print_time_rel(timeA, modulename="get_forces : new")
return self.forces


#Option 2: Dummy ASE class where we create the attributes and methods we want
#Too complicated

Expand Down
2 changes: 1 addition & 1 deletion ash/interfaces/interface_GPAW.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, printsetting=False, printlevel=2, numcores=1, label="gpaw", f

self.theorynamelabel="GPAW"
self.theorytype="QM"
self.analytic_hessian=True
self.analytic_hessian=False
self.printlevel=printlevel
self.label=label
self.numcores=numcores
Expand Down
2 changes: 1 addition & 1 deletion ash/interfaces/interface_MRCC.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def convert_MRCC_Molden_file(mrccoutputfile=None, moldenfile=None, mrccdensityfi
if os.path.isfile("mrccnew.molden") is False:
print("Error: Multiwfn failed to create new Molden file. Exiting.")
ashexit()
print("Created new Molden file: ")
print("Created new Molden file: mrccnew.molden")
print("This file contains the natural orbitals of the correlated density from MRCC")


Expand Down
10 changes: 4 additions & 6 deletions ash/interfaces/interface_ORCA.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,10 +771,9 @@ def run(self, current_coords=None, charge=None, mult=None, current_MM_coords=Non
if Hessian is True:
print("Reading Hessian from file:", self.filename+".hess")
self.hessian = Hessgrab(self.filename+".hess")

self.ir_intensities = grab_IR_intensities(self.filename+'.hess')

if Grad == True:
if Grad is True:
grad =ORCAgradientgrab(engradfile)
self.grad = self.grad + grad
if self.printlevel >= 3:
Expand Down Expand Up @@ -1261,11 +1260,11 @@ def tddftintens_grab(file):
with open(file) as f:
for line in f:
if tddftgrab==True:
if len(line.split()) == 8:
intensities.append(float(line.split()[3]))
if '->' in line:
intensities.append(float(line.split()[-5]))
if len(line.split()) == 0:
tddftgrab=False
if 'State Energy Wavelength fosc T2 TX TY TZ' in line:
if 'fosc(D2)' in line:
tddftgrab=True
return intensities

Expand Down Expand Up @@ -1299,7 +1298,6 @@ def grab_IR_intensities(filename):
intensities=[]
with open(filename) as f:
for line in f:
print(line)
if grab:
if len(line.split()) == 6:
intens = float(line.split()[2])
Expand Down
13 changes: 6 additions & 7 deletions ash/interfaces/interface_OpenMM.py
Original file line number Diff line number Diff line change
Expand Up @@ -3882,17 +3882,16 @@ def set_sim_reporters(self,simulation,restart=False):
openmm.app.PDBReporter(self.trajfilename+'.pdb', self.traj_frequency,
enforcePeriodicBox=self.enforcePeriodicBox))
elif self.trajectory_file_option == 'DCD':
# NOTE: Disabling for now
# with open('initial_MDfrag_step1.pdb', 'w') as f: openmm.app.pdbfile.PDBFile
# .writeModel(openmmobject.topology, self.simulation.context.getState(getPositions=True,
# enforcePeriodicBox=enforcePeriodicBox).getPositions(), f)
# print("Wrote PDB")

#Note: using append keyword here if restarting
print('DCDReporter added')
# Check first if file exists for restart (OpenMM errors otherwise)
if restart is True and os.path.isfile(f"{self.trajfilename}.dcd") is False:
print("Warning: restart option was active but trajectory file not existing. Will create new file")
restart=False

simulation.reporters.append(
openmm.app.DCDReporter(self.trajfilename+'.dcd', self.traj_frequency, append=restart,
enforcePeriodicBox=self.enforcePeriodicBox))
print('DCDReporter added')
elif self.trajectory_file_option == 'NetCDFReporter':
print("NetCDFReporter traj format selected. This requires mdtraj. Importing.")
mdtraj = MDtraj_import()
Expand Down
Loading
Loading