CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Multiple MPI jobs are not using all CPU's

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2017, 10:15
Question Multiple MPI jobs are not using all CPU's
  #1
New Member
 
Join Date: May 2017
Posts: 2
Rep Power: 0
OnePeople is on a distinguished road
Dear all,
I have strange issue with OpenFOAM and mpirun - they are not utilizing all cores if I run multiple jobs at once.

I.e. now I have 2 machines with 2xX5650 - which gives 24 cores in total per machine.

Now I'm trying to run 3 jobs, 8 cores each:
user1: mpirun -np 8 sonicFoam -parallel
user2: mpirun -np 8 simpleFoam -parallel
user2: mpirun -np 8 simpleFoam -parallel

Problem is, that jobs only uses 16 out of 24 cores and I don't have any idea why it happens. Thermal and RAM looks OK, so it doesn't look like throttling.

htop: https://pastebin.com/nV6tT5SD
lm-sensors: https://pastebin.com/9UnnEHSF

Same happens on the machine with: 2x8 core jobs, 2x4 core jobs and 2x2 core jobs. Also 16/24 cores are under load.

Have you any idea why it happens?
OnePeople is offline   Reply With Quote

Old   May 8, 2017, 15:49
Default
  #2
New Member
 
Join Date: May 2017
Posts: 2
Rep Power: 0
OnePeople is on a distinguished road
I found a solution.

Problem was caused by default binding/mapping routines in MPICH. If you use --bind-by socket instead of default bind.
OnePeople is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
mpirun, best parameters pablodecastillo Hardware 18 November 10, 2016 12:36
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
Error using LaunderGibsonRSTM on SGI ALTIX 4700 jaswi OpenFOAM 2 April 29, 2008 10:54
Is Testsuite on the way or not lakeat OpenFOAM Installation 6 April 28, 2008 11:12


All times are GMT -4. The time now is 09:31.