Why my program cannot ran in parallel???
Hi FOAMers,
I am doing some modifications on interFOAM, OpenFOAM v6. It is something about the dynamic mesh and I have changed the functions "pimple.loop()" to another one which is developed by myself. My new program runs good with the single core but will crash if I run it parallel. Here is the error information: Code:
[1] --> FOAM FATAL IO ERROR: Code:
[1] --> FOAM FATAL IO ERROR: Code:
I don't know much about the parallel running, but I am very confused why this happens? Could anyone give me some suggestions? Thanks a lot! WDX |
Quote:
Code:
|
Quote:
Thank you for your reply. The entire code is a little bit complicated because I modified both the solver and the sixDof module. So updating the entire code is not an easy thing... I think the problem is due to my newly added criterion for the pimple outer loop. Once the pimple outer loop is stopped by it, the program will crash (when parallel running). I'll continue to find out the reason why this error occurs. :D |
Quote:
I doubt that the problem would be because of "CourantNo.H". Cause interFoam already works perfectly fine in parallel :). To pinpoint the real trouble you might switch to run in debug mode. Moreover, a basic understanding of how MPI works and how OF manages it is needed(at the very least, in case you want to remedy this on your own). |
Quote:
|
Quote:
Examples, Code:
// Exit when there are more than N cells with excess temperature There are several remedies, depending on which logic you actually intend. For example, Code:
// Break on overall value. Code:
// Break on local logic |
All times are GMT -4. The time now is 06:35. |