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

How to sync my processors?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 13, 2016, 07:28
Default How to sync my processors?
  #1
New Member
 
Join Date: Feb 2015
Posts: 2
Rep Power: 0
sinsni is on a distinguished road
Hi to FOAMers!

How do I synchronize my processors in OF? I try to do:
Code:
Pout << "before scatter\n";
label x = 1;
Pstream::scatter(x, Pstream::blocking);
Pout << "after scatter\n";
But master processor just ignores Pstream::blocking flag and goes on:
Code:
[0] before scatter
[0] after scatter
What am I doing wrong? And what is the right way?

Guide me, oh jedi masters!..
sinsni is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create uneven load for the processors using decomposePar utility. shinde.gopal OpenFOAM Meshing & Mesh Conversion 1 May 24, 2014 08:49
How do I choose de number of processors with paraFoam? CSN OpenFOAM Post-Processing 0 April 17, 2012 04:44
polyhedral mesh with multiple processors user1 CD-adapco 7 August 22, 2008 10:59
Parallel Computing on Multi-Core Processors Upgrading Hardware CFX 6 June 7, 2007 15:54
64-bit processors for home computing Ananda Himansu Main CFD Forum 2 March 16, 2004 13:48


All times are GMT -4. The time now is 15:55.