|
[Sponsors] |
March 11, 2015, 05:14 |
gatherList() slow in parallel
|
#1 |
Member
Join Date: Jul 2012
Posts: 67
Rep Power: 14 |
Hi foamers,
I am writing code for a parallel simulation in which I use gatherList() and scatterList() to collect centres of cells that have an alpha value greater than 0.5 (max is 1). Pstream::gatherList(gatheredidCellAlpha); Pstream::scatterList(gatheredidCellAlpha); I will then do some calculations using these cells (adding up their volumes, getting their velocityVectorField, finding all their neigbours). I have written codes for both serial and parallel mode, and with gatherList()/scatterList() parallel mode is slower than the serial mode with the same mesh! Can anyone provide solution to such a problem? Best regards, Carlen |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 18:45 |
the speed of parallel computation for over 3 million grid is very slow | liujmljm | SU2 | 7 | June 27, 2014 16:45 |
Coal combustion, big node, slow calculation, parallel | Whitebear | CFX | 1 | April 8, 2014 03:27 |
Slow down on local parallel | Roger | CFX | 1 | October 9, 2008 17:15 |
slow down running in parallel | laf | FLUENT | 1 | April 4, 2007 02:48 |