|
[Sponsors] |
July 19, 2008, 10:31 |
userfiles between parallel
|
#1 |
Guest
Posts: n/a
|
Hi. I am made a moving mesh model that computed the new mesh with some variables in mine "newxyz.f". I would like to use more than 1 processor. How can I make the comunication between different processors?
I have the variables in vectors in common blocks. thanks for reading Duarte Albuquerque |
|
July 29, 2008, 11:17 |
Re: userfiles between parallel
|
#2 |
Guest
Posts: n/a
|
Newxyz works on all processors, so you should be able to calculate everything locally.
If you want to make sure a value is the same on all processors then the way I have had sucess is that I initialise the variable to be a large negative number on all processors, perform the calculation on processor X (which results in a positive number) and the perform a GMAX operation on the variable. This guarantees that the values are the same on all processors. If the number is -ve, then use the GMIN operation and a large positive initial number. Other operations are IGMAX/IGMIN for integers and sums of varibles via GSUM and IGSUM. Your local Agent can help here. Steve |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel UDF | Karo | FLUENT | 2 | April 25, 2017 01:36 |
Parallel | pi | FLUENT | 1 | December 25, 2008 12:46 |
parallel CCM+ | tom | Siemens | 5 | May 8, 2008 18:54 |
Parallel UDF | ccc | FLUENT | 0 | December 3, 2004 22:17 |
CFX-5.5 Parallel NT | Kawena | CFX | 4 | March 13, 2002 20:24 |