MPI and OpenMP setup issues #956
-
The memory leak was fixed in 948, but when testing with this example, I found that with MPI.x OpenMP=1.x 54, the cpu utilisation was high at 5397%. with MPI .x OpenMP=1 .x 27, the cpu utilisation was high at 2685%. But when set to 2 .x 27, the cpu utilisation per process seems to be stuck at 200%. Do you know just what causes this please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi, how does your pinning mask / OpenMP worker affinity map look like in each of these cases? (it's printed at the start of the simulation) And how have you set the environment variables there? |
Beta Was this translation helpful? Give feedback.
-
the environment variables:
MPI .x OpenMP=2 .x 27
MPI .x OpenMP=1 .x 27
|
Beta Was this translation helpful? Give feedback.
The first one is broken:
Thu Sep 21 15:56:46, Info: OpenMP worker affinity (this process): "0---------|----------|----------|----------|----------|------" Thu Sep 21 15:56:46, Info: OpenMP worker affinity (this node) : "0-2-------|----------|----------|----------|----------|------" Thu Sep 21 15:56:46, Info: Communication thread affinity : "----4-6-8-|0-2-4-6-8-|0-2-4-6-8-|0-2-4-6-8-|0-2-4-6-8-|0-2-4-"
means that you that all OpenMP threads use the same physical core. Are you sure that the enviromental variable OMP_PLACES is set correctly?