|
[Sponsors] |
May 31, 2023, 17:33 |
MPI bug?
|
#1 |
Senior Member
Join Date: May 2012
Posts: 552
Rep Power: 16 |
Hey Foamers,
I have added a simple scalar transport to interFoam (let's say it is Temperature). It runs well in serial. However, when running in parallel it diverges if the diffusivity is too high (but works well if the diffusivity is low). Simple or scotch decomposition both diverges although at different points in the simulation. Similarly, if using a different number of processes (other than one), it diverges at different points in time. Any thoughts? OpenFOAM v9 |
|
June 1, 2023, 03:26 |
|
#2 |
Senior Member
|
Please make sure that sure that linear system is solved to same accuracy independent of the number of processors.
The block Jacobi preconditioner that openFoam implements is known to be less performant on larger number of processors (cfr. literature of iterative solution methods, see below). More iterations of the Krylov acceleration are thus required to reach the same level of accuracy. Good luck. References |
|
June 1, 2023, 06:18 |
|
#3 |
Senior Member
Join Date: May 2012
Posts: 552
Rep Power: 16 |
Thank you, switching from PBiCG to PBiCGStab or a smooth solver solved the issue.
|
|
June 1, 2023, 07:07 |
|
#5 |
Senior Member
Join Date: May 2012
Posts: 552
Rep Power: 16 |
I have no idea. All solvers have the same convergence criteria (absolute 1e-16) and they all perform nicely for a few hundred time-steps. Depending on how the domain is decomposed, the PBiCG solver crashes at different points. The other solvers mentioned do not. Some message passing problem perhaps? All solvers behave nicely in serial. Last edited by Simbelmynė; June 1, 2023 at 13:19. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating Point overflow and MPI tuning parms | lstonebr | STAR-CCM+ | 0 | September 1, 2019 18:41 |
mpirun, best parameters | pablodecastillo | Hardware | 18 | November 10, 2016 13:36 |
[OpenFOAM.org] MPI compiling and version mismatch | pki | OpenFOAM Installation | 7 | June 15, 2015 17:21 |
Error using LaunderGibsonRSTM on SGI ALTIX 4700 | jaswi | OpenFOAM | 2 | April 29, 2008 11:54 |
Is Testsuite on the way or not | lakeat | OpenFOAM Installation | 6 | April 28, 2008 12:12 |