View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000250 | OpenFOAM | Bug | public | 2011-07-14 10:42 | 2011-07-15 17:39 |
Reporter | Assigned To | ||||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | not fixable | ||
Platform | Linux | OS | RHEL | OS Version | 5.6 |
Summary | 0000250: decomposePar does work with ptscotch or scotch | ||||
Description | OpenFOAM-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 | ||||
Tags | No tags attached. | ||||
|
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. |