CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Syncronizing the processors or forcing them to wait for each other in parallel comp? (http://www.cfd-online.com/Forums/openfoam-solving/109117-syncronizing-processors-forcing-them-wait-each-other-parallel-comp.html)

cuba November 9, 2012 10:26

Syncronizing the processors or forcing them to wait for each other in parallel comp?
 
Hi everyone,

How can I make the processors synchronized or force them to wait for each other or for some user defined duration (say 5min) before evaluating a piece of code?

I have worked on the below given (most probably misused) before the line under consideration
but I could not get them work and make the code wait all processors?

variableunderconsiderationinthenextline.correctBou ndaryConditions();

or

OPstream::waitRequests();
IPstream::waitRequests();

or

wait();


Thanks in advance
I have also asked this in the topic:
http://www.cfd-online.com/Forums/ope...-parallel.html


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