CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem with finite area method in parallel (foam-extend-4.0) (https://www.cfd-online.com/Forums/openfoam-solving/187283-problem-finite-area-method-parallel-foam-extend-4-0-a.html)

andlog May 3, 2017 06:55

Problem with finite area method in parallel (foam-extend-4.0)
 
Hi all,

I would like to run finite area solvers in parallel.

I copied both liquidFilmFoam and surfactantFoam tutorials, adding in the system folder the decomposeParDict from incompressible/simpleFoam/pitzDaily tutorial.

After blockMesh and makeFaMesh, I've decompose the case using decomposePar without a hitch.

Finally, I've tried to run the case in parallel typing "runParallel surfactantFoam 4 &", getting this error:

Code:

/*---------------------------------------------------------------------------*\

| =========                |                                                |

| \\      /  F ield        | foam-extend: Open Source CFD                    |

|  \\    /  O peration    | Version:    4.0                                |

|  \\  /    A nd          | Web:        http://www.foam-extend.org        |

|    \\/    M anipulation  | For copyright notice see file Copyright        |

\*---------------------------------------------------------------------------*/

Build    : 4.0-4fad65ce7cac

Exec    : surfactantFoam -parallel

Date    : May 02 2017

Time    : 13:03:33

Host    : ManDybHig_clust

PID      : 5971

CtrlDict : "/stoc/andrea/OpenFOAM_EXT/andrea-4.0/tutorial/FAM/planTransport/system/controlDict"

Case    : /stoc/andrea/OpenFOAM_EXT/andrea-4.0/tutorial/FAM/planTransport

nProcs  : 4

Slaves :

3

(

ManDybHig_clust.5972

ManDybHig_clust.5973

ManDybHig_clust.5974

)



Pstream initialized with:

    nProcsSimpleSum  : 0

    commsType        : nonBlocking

SigFpe  : Enabling floating point exception trapping (FOAM_SIGFPE).



// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Create time



Create mesh for time = 0



[0]

[0]

[0] --> FOAM FATAL ERROR:

[0] otherProcNo:2 : illegal communicator -1650115904

Communicator should be within range 0..0

[0]

[0]    From function PstreamGlobals::checkCommunicator(const label, const label)

[0]    in file db/IOstreams/Pstreams/PstreamGlobals.C at line 72.

[0]

FOAM parallel run aborting

[0]

[1]

[1]

[1] --> FOAM FATAL ERROR:

[1] otherProcNo:0 : illegal communicator -1104586048

Communicator should be within range 0..0

[1]

[1]    From function PstreamGlobals::checkCommunicator(const label, const label)

[1]    in file db/IOstreams/Pstreams/PstreamGlobals.C at line 72.

[1]

FOAM parallel run aborting

[1]

[2]

[2]

[2] --> FOAM FATAL ERROR:

[2] otherProcNo:0 : illegal communicator -886773056

Communicator should be within range 0..0

[2]

[2]    From function PstreamGlobals::checkCommunicator(const label, const label)

[2]    in file db/IOstreams/Pstreams/PstreamGlobals.C at line 72.

[2]

FOAM parallel run aborting

[2]

[3]

[3]

[3] --> FOAM FATAL ERROR:

[3] otherProcNo:2 : illegal communicator 1469405888

Communicator should be within range 0..0

[3]

[3]    From function PstreamGlobals::checkCommunicator(const label, const label)

[3]    in file db/IOstreams/Pstreams/PstreamGlobals.C at line 72.

[3]

FOAM parallel run aborting

[3]

--------------------------------------------------------------------------

MPI_ABORT was invoked on rank 2 in communicator MPI_COMM_WORLD

with errorcode 1.



NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.

You may or may not see output from other processes, depending on

exactly when Open MPI kills them.

--------------------------------------------------------------------------





I get the same error with all the finite-area-method tutorials. I haven't found any suggestion for this.

Is the above procedure correct?

I'm not able to figure out where this error came from :confused:.



Thanks,



Andrea

andlog May 3, 2017 12:47

This afternoon I've tried the same tutorials in parallel using foam-extend-3.2 and all successfully run.
Therefore, I guess it is an issue related to foam-extend-4.0.

Andrea


All times are GMT -4. The time now is 06:31.