Re: [Beowulf] parallelization problem

2009-08-17 Thread Peter Faber
amjad ali wrote: > I am parallelizing a CFD 2D code in FORTRAN+OPENMPI. Suppose that the grid > (all triangles) is partitioned among 8 processes using METIS. Each process > has different number of neighboring processes. Suppose each process has n > elements/faces whose data it needs to sends to cor

Re: [Beowulf] parallelization problem

2009-08-13 Thread Mattijs Janssens
Do a non-blocking receive as well so MPI_IRECV instead of MPI_RECV and make sure you have an MPI_WAITALL for all the requests (both from sending and from receiving). Kind regards, Mattijs On Thursday 13 August 2009 20:15:04 amjad ali wrote: > Hi, all, > > > > I am parallelizing a CFD 2D code i

[Beowulf] parallelization problem

2009-08-13 Thread amjad ali
Hi, all, I am parallelizing a CFD 2D code in FORTRAN+OPENMPI. Suppose that the grid (all triangles) is partitioned among 8 processes using METIS. Each process has different number of neighboring processes. Suppose each process has n elements/faces whose data it needs to sends to corresponding ne