CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Question about an MPI error (

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.



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 21:46.