You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got a few questions regarding the implemented parallelism in triqs:
(1) I linked triqs successfully against the intel mpi and mkl (all tests pass). But if I try to run any of the examples in parallel mode (mpirun -np 2 ...) -- even only on one machine -- the task is started in parallel (e.g. twice), but does not seem to share any information -- so it runs n-times the same task. Do you have any suggestions, where I should look for the error?
(2) I had a short look at the source code, and ask myself what parts of triqs are parallelized. As far as I have got, I think the implemented solver routines are parallized (e.g. hybridization expansion - CT QMC). Am I right?
Thanks for our support,
Marc
The text was updated successfully, but these errors were encountered:
Hi Marc. There is only a quite small subset of TRIQS that will run in parallel without an explicit input of the user. Basically:
The CTQMC solver. It is a Monte Carlo algorithm and will deploy over the nodes if it is run in parallel.
The sums over k-points. The k-sums in the Wien2TRIQS modules and in Base/SumK/SumK_Discrete.py will be split over the nodes. The same is true for the Hilbert transform in Base/DOS/Hilbert_Transform.py
Except for the two cases above, the parallelism has to be taken care of by the user. This is made easier with the pytriqs.Base.Utility.MPI module (which is not described yet in the documentation, sorry). I think you should catch a look at the module. You will see that it has the usual MPI commands like bcast or send, that you can apply on essentially any python object. For example, the following script would read a Green's function on the master node and broadcast it to the other nodes:
I got a few questions regarding the implemented parallelism in triqs:
(1) I linked triqs successfully against the intel mpi and mkl (all tests pass). But if I try to run any of the examples in parallel mode (mpirun -np 2 ...) -- even only on one machine -- the task is started in parallel (e.g. twice), but does not seem to share any information -- so it runs n-times the same task. Do you have any suggestions, where I should look for the error?
(2) I had a short look at the source code, and ask myself what parts of triqs are parallelized. As far as I have got, I think the implemented solver routines are parallized (e.g. hybridization expansion - CT QMC). Am I right?
Thanks for our support,
Marc
The text was updated successfully, but these errors were encountered: