CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Question about an MPI error (https://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.

ycui December 5, 2016 10:17

Quote:

Originally Posted by yushiw (Post 369947)
Just got it right.
I put it in a wrong place.

Dear Yushi,

I have the same problem as yours. Would you please told me how to solve the problem?

Best,

ycui


All times are GMT -4. The time now is 08:43.