[gpaw-users] kpt parallel use
Torsten Hahn
Torsten.Hahn at physik.tu-freiberg.de
Fri Jul 20 05:55:53 CEST 2012
Dear Users,
can someone point me to an basic example on how to deal correct with kpt / spin parallelization in GPAW?
As i understand, from an calculator calc = GPAW(...)
i get the
calc.wfs.kpt_u list.
if i iterate over that list
result = np.zeros(len(kpt_u), dtype='d')
for kpt in kpt_u:
# do something to calculate result using kpt, e.g.
result = kpt.C_nM ...
Do i have to "collect" (<- i do not know if this is the correct syntax) result on the master? As i understand if i do it like above the array result is scattered over the nodes?
Best regards,
Torsten.
More information about the gpaw-users
mailing list