3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-07 06:33:48 +01:00

[tools] Parallelize k sum in spaghettis

This commit is contained in:
Priyanka Seth 2015-04-01 19:42:10 +02:00
parent ceaabf50ae
commit e387f3ed21

View File

@ -263,7 +263,8 @@ class SumkDFTTools(SumkDFT):
for block,inner in gf_struct_parproj ], make_copies = False) for block,inner in gf_struct_parproj ], make_copies = False)
G_loc.zero() 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) G_latt_w = self.lattice_gf(ik=ik,mu=mu,iw_or_w="w",broadening=broadening)