CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   PROBLEM IN PARALLEL PROGRAMMING WITH MPI (http://www.cfd-online.com/Forums/main/7443-problem-parallel-programming-mpi.html)

Niavarani April 20, 2004 04:29

PROBLEM IN PARALLEL PROGRAMMING WITH MPI
 
Hello, I have written a lattice boltzmann based parallel code for solving natural convection with MPI library. It is not my first time programming with MPI but this time I've got a problem that is when I run my code in one computer and using virtual parallel processing(I mean in one computer I set the MPI_size more than one) it works right but when I run it in a real parallel computer network (9 node) it doesn't work. I do need some help, I will be most grateful if some body could help me. Thank you very much Niavarani

Banaeizadeh April 20, 2004 06:51

Re: PROBLEM IN PARALLEL PROGRAMMING WITH MPI
 
Hello It may cause of your different compilers or MPICH or LAM package. Try to compile it with another compilers such as PETSc. It links with MPICH library, and in this case use include<petsc.h> instead of include<mpi.h> hope this helps Banaeizadeh


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