CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Parallel conjugate gradient for poisson equations (https://www.cfd-online.com/Forums/main/69922-parallel-conjugate-gradient-poisson-equations.html)

rahulv November 9, 2009 11:55

Parallel conjugate gradient for poisson equations
 
Hi friends

I am working on implementation of conjugate gradient method specifically for sparse matrix, which arises after discretisation of Poisson equation. i implemented ILU0 preconditioner.
Now i am trying to parallelise the code using MPI command..
In current code needs to exchange information three times among various processor in each iteration of CG , which takes lots of time.
can anyone please suggest me some way to reduce number of data exchange per iterations.


Regards
RV

rahulv April 26, 2011 05:11

i got it..
 
i did it... :)
if anyone need the source code for CG,PCG, parallel CG and parallel PCG for solving poisson equation . please mail me rah00002004[at]gmail.com .


All times are GMT -4. The time now is 21:12.