CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Question about an MPI error (http://www.cfd-online.com/Forums/openfoam-programming-development/104263-question-about-mpi-error.html)

yushiw July 5, 2012 10:45

Question about an MPI error
 
Hi, all,

I am trying to calculate pressure gradient in interFoam by adding
volVectorField gradp = fvc::grad(p);
This working fine in series but if I run in parallel, I got error

*** An error occurred in MPI_Recv
*** on communicator MPI_COMM_WORLD
*** MPI_ERR_TRUNCATE: message truncated
*** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)

I am really appreciated if someone could let me know how I can get this to work.

Greetings

Yushi

yushiw July 5, 2012 11:11

Just got it right.
I put it in a wrong place.


All times are GMT -4. The time now is 01:54.