From ee6da52fcef6bad42927048cb625ed188c762252 Mon Sep 17 00:00:00 2001 From: the-hampel Date: Thu, 9 Jan 2025 10:16:37 +0100 Subject: [PATCH] [fix] cthyb measure_chi was not passed into solve params since 3.3.x --- python/solid_dmft/dmft_tools/solver.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/solid_dmft/dmft_tools/solver.py b/python/solid_dmft/dmft_tools/solver.py index 0d067298..1ea6633c 100755 --- a/python/solid_dmft/dmft_tools/solver.py +++ b/python/solid_dmft/dmft_tools/solver.py @@ -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: