View Issue Details

IDProjectCategoryView StatusLast Update
0000250OpenFOAMBugpublic2011-07-15 17:39
Reporteruser227Assigned Touser4 
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionnot fixable 
PlatformLinuxOSRHELOS Version5.6
Summary0000250: decomposePar does work with ptscotch or scotch
DescriptionOpenFOAM-2.0.0
(1)When run decomposePar ontutorials/mesh/snappyHexMesh/flange with ptscotch method, there is en error as followings:


Time = 0
Create mesh

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.
Guanghao
TagsNo tags attached.

Activities

user4

2011-07-14 11:43

  ~0000552

Dear Guanghao,

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.

Issue History

Date Modified Username Field Change
2011-07-14 10:42 user227 New Issue
2011-07-14 11:43 user4 Note Added: 0000552
2011-07-15 17:39 user4 Status new => closed
2011-07-15 17:39 user4 Assigned To => user4
2011-07-15 17:39 user4 Resolution open => not fixable