|
[Sponsors] |
October 13, 2014, 18:45 |
Tag issue with MPI
|
#1 |
Senior Member
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15 |
Hey everyone!
I am using MPI to exchange a large number of values between many processors, more or less simultaneously. I have been using mpi_send/mpi_recv, but I am not sure what to do regarding the tags. At some point, I am afraid that two 'sends' will get the same tag value, which I assume will generate some problems. Is there a way to deal with this? Right now, I have been using tags like 1000*a + 10000*b, etc where a and b are the indices associated with my parameters. It is working just fine, but my code is quickly becoming messy. Is there a more elegant way to solve this problem? Thanks! Joachim |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MPI issue on multiple nodes | sail | OpenFOAM Running, Solving & CFD | 32 | November 2, 2022 05:48 |
AVL start problem :MPI issue | gafoorcp | AVL FIRE | 1 | June 21, 2022 02:27 |
Multi-region MPI parallel issue | psosnows | OpenFOAM Running, Solving & CFD | 0 | June 29, 2011 15:46 |
Error using LaunderGibsonRSTM on SGI ALTIX 4700 | jaswi | OpenFOAM | 2 | April 29, 2008 10:54 |
Is Testsuite on the way or not | lakeat | OpenFOAM Installation | 6 | April 28, 2008 11:12 |