Skip to content

Commit

Permalink
[fix] cthyb measure_chi was not passed into solve params since 3.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed Jan 9, 2025
1 parent 74b69d3 commit ee6da52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/solid_dmft/dmft_tools/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,11 @@ def solve(self, **kwargs):
# fill G0_freq from sum_k to solver
self.triqs_solver.G0_iw << make_hermitian(self.G0_freq)

# pass measure_O_tau which is prepared late in dmft cycle and only ready now
print(self.solver_params['measure_chi'])
if self.solver_params['measure_chi'] is not None:
self.triqs_solver_params['measure_O_tau'] = self.solver_params['measure_O_tau']

# update solver in h5 archive one last time for debugging if solve command crashes
if self.general_params['store_solver'] and mpi.is_master_node():
with HDFArchive(self.general_params['jobname']+'/'+self.general_params['seedname']+'.h5', 'a') as archive:
Expand Down

0 comments on commit ee6da52

Please sign in to comment.