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

gatherList() slow in parallel

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2015, 05:14
Unhappy gatherList() slow in parallel
  #1
Member
 
Join Date: Jul 2012
Posts: 67
Rep Power: 13
Carlen is on a distinguished road
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
Carlen is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 00:13.