|Anonymous | Login | Signup for a new account||2014-07-24 21:39 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000250||OpenFOAM||[All Projects] Bug||public||2011-07-14 09:42||2011-07-15 16:39|
|Target Version||Fixed in Version|
|Summary||0000250: decomposePar does work with ptscotch or scotch|
(1)When run decomposePar ontutorials/mesh/snappyHexMesh/flange with ptscotch method, there is en error as followings:
Time = 0
Calculating distribution of cells
Selecting decompositionMethod ptscotch
*** The MPI_comm_size() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[f-2.firmflow:6683] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!
(2)It seems to me that decomposePar did not been liked with scotchDecomp or metisDecomp libs...
Thanks in advance.
|Tags||No tags attached.|
the ptscotch method can only be run in parallel since it needs a valid mpi environment. This is what it complains about - mpi_init has not been called.
To use decomposePar you'll have to change the method to e.g. scotch or hierarchical.
As an additional constraint snappyHexMesh does not know about scotch, only ptscotch since these two libraries cannot co-exist in a single executable (this is a known limitation of scotch). So the advice is to run snappyHexMesh with the 'hierarchical' decomposition method and switch to scotch before doing decomposePar.
See e.g. the turbineSiting tutorial on how to run snappyHexMesh in parallel as well.
|2011-07-14 09:42||guanghao||New Issue|
|2011-07-14 10:43||mattijs||Note Added: 0000552|
|2011-07-15 16:39||mattijs||Status||new => closed|
|2011-07-15 16:39||mattijs||Assigned To||=> mattijs|
|2011-07-15 16:39||mattijs||Resolution||open => not fixable|