using cthyb with MPI via python API #157
FangXieTHU
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi @FangXieTHU, setting
However, now you have to do the extra communication between the nodes. This has to be balanced, depending which task takes how much time. Best, P.S. since this is not really an issue, I moved this to the discussions page. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Triqs developers,
So I am trying to use the cthyb library to perform a self-consistent DMFT calculation for benchmark. In a self-consistent calculation, G0_iw in the next iteration is obtained from the self-consistent condition in the current iteration. I am wondering if I have to use
if mpi.is_master_node(): S.G0_iw << evaluate_next_G0(S.G_iw)
when calculating the next G0_iw. I tried the case without this if statement, which means every cpu is calculating its G0_iw separately, but it seems that the next iteration for different cpus will start at different time. May I ask whether I should only use master_node for self-consistent condition or not? Any help would be appreciated!Version
triqs 3.1.1
triqs_cthyb 3.1.0
Environment: macOS Ventura on Apple Silicon w/ Rosetta, for single core tests the results are reasonable.
Beta Was this translation helpful? Give feedback.
All reactions