mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 01:55:56 +01:00
[tools] Parallelize k sum in spaghettis
This commit is contained in:
parent
ceaabf50ae
commit
e387f3ed21
@ -263,7 +263,8 @@ class SumkDFTTools(SumkDFT):
|
||||
for block,inner in gf_struct_parproj ], make_copies = False)
|
||||
G_loc.zero()
|
||||
|
||||
for ik in range(self.n_k):
|
||||
ikarray = numpy.array(range(self.n_k))
|
||||
for ik in mpi.slice_array(ikarray):
|
||||
|
||||
G_latt_w = self.lattice_gf(ik=ik,mu=mu,iw_or_w="w",broadening=broadening)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user