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

Parallel processing, processors weirdly utilized

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2016, 09:00
Default Parallel processing, processors weirdly utilized
  #1
New Member
 
Join Date: Nov 2015
Posts: 6
Rep Power: 10
wannab_phd is on a distinguished road
Hello, I'm fairly new to OpenFOAM, but have decided today to run a small 2D case of flow around a cylinder, I failed, but that has another reason. The thing is, I ran it with multiple processors, I have an i5 4210H, dual core, but actually 4 cores, right, and I pulled that decomposeParDict, and specified the division of my domain to (2 2 1), z iz my empty direction. Weird thing happened, as I thought my processors would wind up to 99-100%, and the case would be solved in minutes. They instead acted like this:

http://s9.postimg.org/oykr1t4gf/parallel1.png
http://s22.postimg.org/9lgvo4ntd/parallel2.png

Iterations ran in terminal when all 4 processors were fully engaged, and then pause, nothing crashed, it wasn't a crash. The PC responded, and Terminal also responded, it just paused... Then continued to another peak, and paused again. Pauses were irregular.

Can someone explain that? Because I can't.

Thanks!
wannab_phd is offline   Reply With Quote

Old   March 23, 2016, 04:34
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
Do they have a similar amount of cells and shared faces? It is also advised to run the renumberMesh utility for some speedup due to optimized caching. The latter point is probably not related to your issue though.
chriss85 is offline   Reply With Quote

Old   March 23, 2016, 05:16
Default
  #3
New Member
 
Join Date: Nov 2015
Posts: 6
Rep Power: 10
wannab_phd is on a distinguished road
I don't know if they have a similar amount of cells and shared faces. How do I check that? Better yet, how do I make it similar? I will try the renumberMesh, thanks!
wannab_phd is offline   Reply With Quote

Old   March 23, 2016, 05:47
Default
  #4
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

You can take a look at the log file from decomposePar to see the distribution per processor.

To do a better load balance, you could use scotch as the method instead of simple/hierarchical. You don't need to define any coefficients as the code looks at the mesh and partitions it in the way it thinks is best.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   March 23, 2016, 07:16
Default
  #5
New Member
 
Join Date: Nov 2015
Posts: 6
Rep Power: 10
wannab_phd is on a distinguished road
Will do! BTW does it (can it) matter if it's all ran from a live USB stick?
wannab_phd 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
Explicitly filtered LES saeedi Main CFD Forum 16 October 14, 2015 11:58
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
problem for parallel processing minaret OpenFOAM Running, Solving & CFD 14 January 19, 2015 23:41
OF Parallel Processing with Core i7 - How to Handle Hyperthreading dancfd OpenFOAM Running, Solving & CFD 5 March 5, 2012 21:43
Parallel Computing on Multi-Core Processors Upgrading Hardware CFX 6 June 7, 2007 15:54


All times are GMT -4. The time now is 10:04.