plucas |
July 14, 2013 22:44 |
simpleFoam in parallel issue
I am working on getting my cases to work in parallel. I use simpleFoam mostly which cannot seem to get to run in parallel. I run my cases using ./Allrun command. Can you all look to see what I am missing. snappyHexMesh runs just fine in parallel so I do not know why simpleFoam will not.
This is my Allrun file
Code:
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -r 0.org 0 > /dev/null 2>&1
runApplication blockMesh
cp system/decomposeParDict.hierarchical system/decomposeParDict
runApplication decomposePar
cp system/decomposeParDict.ptscotch system/decomposeParDict
runParallel snappyHexMesh 8 -overwrite -parallel
find . -type f -iname "*level*" -exec rm {} \;
ls -d processor* | xargs -i cp -r 0.org/* ./{}/0/ $1
runParallel renumberMesh 8 -overwrite
runApplication potentialFoam -noFunctionObjects -writep
runParallel `getApplication` 8
runApplication reconstructParMesh -constant
runApplication reconstructPar -latestTime
# ----------------------------------------------------------------- end-of-file
My log.simpleFoam file
Code:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.1-221db2718bbb
Exec : simpleFoam -parallel
Date : Jul 14 2013
Time : 19:09:54
Host : "hancha-desktop"
PID : 2485
Case : /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike
nProcs : 8
Slaves :
7
(
"hancha-desktop.2486"
"hancha-desktop.2487"
"hancha-desktop.2488"
"hancha-desktop.2489"
"hancha-desktop.2490"
"hancha-desktop.2491"
"hancha-desktop.2492"
)
Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading field p
[1]
[1]
[1] --> FOAM FATAL IO ERROR:
[1] keyword procBoundary1to7 is undefined in dictionary "/home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor1/0/p::boundaryField"
[1]
[1] file: /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor1/0/p::boundaryField from line 27 to line 16.
[1]
[1] From function dictionary::subDict(const word& keyword) const
[1] in file db/dictionary/dictionary.C at line 461.
[1]
FOAM parallel run exiting
[1]
[4]
[4]
[4] --> FOAM FATAL IO ERROR:
[4] keyword procBoundary4to5 is undefined in dictionary "/home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor4/0/p::boundaryField"
[4]
[4] file: /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor4/0/p::boundaryField from line 27 to line 16.
[4]
[4] From function dictionary::subDict(const word& keyword) const
[4] in file db/dictionary/dictionary.C at line 461.
[4]
FOAM parallel run exiting
[4]
[0]
[0]
[0] --> FOAM FATAL IO ERROR:
[0] keyword procBoundary0to1 is undefined in dictionary "/home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor0/0/p::boundaryField"
[0]
[0] file: /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor0/0/p::boundaryField from line 27 to line 16.
[0]
[0] From function dictionary::subDict(const word& keyword) const
[0] in file db/dictionary/dictionary.C at line 461.
[0]
FOAM parallel run exiting
[0]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 1 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.
--------------------------------------------------------------------------
[5]
[5]
[5] --> FOAM FATAL IO ERROR:
[5] keyword procBoundary5to4 is undefined in dictionary "/home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor5/0/p::boundaryField"
[5]
[5] file: /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor5/0/p::boundaryField from line 27 to line 16.
[5]
[5] From function dictionary::subDict(const word& keyword) const
[5] in file db/dictionary/dictionary.C at line 461.
[5]
FOAM parallel run exiting
[5]
[7]
[7]
[7] --> FOAM FATAL IO ERROR:
[7] keyword procBoundary7to1 is undefined in dictionary "/home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor7/0/p::boundaryField"
[7]
[7] file: /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor7/0/p::boundaryField from line 27 to line 16.
[7]
[7] [2]
[2]
[2] --> FOAM FATAL IO ERROR:
[2] keyword procBoundary2to7 is undefined in dictionary "/home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor2/0/p::boundaryField"
[2]
[2] file: /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor2/0/p::boundaryField from line 27 to line 16 From function dictionary::subDict(const word& keyword) const
[7] in file db/dictionary/dictionary.C at line 461.
[7]
FOAM parallel run exiting
[7]
.
[2]
[2] From function dictionary::subDict(const word& keyword) const
[2] in file db/dictionary/dictionary.C at line 461.
[2]
FOAM parallel run exiting
[2]
[3]
[3]
[3] --> FOAM FATAL IO ERROR:
[3] keyword procBoundary3to7 is undefined in dictionary "/home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor3/0/p::boundaryField"
[3]
[3] file: /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor3/0/p::boundaryField from line 27 to line 16.
[3]
[3] From function dictionary::subDict(const word& keyword) const
[3] in file db/dictionary/dictionary.C at line 461.
[3]
FOAM parallel run exiting
[3]
[6]
[6]
[6] --> FOAM FATAL IO ERROR:
[6] keyword procBoundary6to4 is undefined in dictionary "/home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor6/0/p::boundaryField"
[6]
[6] file: /home/hancha/OpenFOAM/hancha-2.1.1/run/transient/motorBike/processor6/0/p::boundaryField from line 27 to line 16.
[6]
[6] From function dictionary::subDict(const word& keyword) const
[6] in file db/dictionary/dictionary.C at line 461.
[6]
FOAM parallel run exiting
[6]
--------------------------------------------------------------------------
mpirun has exited due to process rank 1 with PID 2486 on
node hancha-desktop exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
[hancha-desktop:02484] 7 more processes have sent help message help-mpi-api.txt / mpi-abort
[hancha-desktop:02484] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Help would be appreciated. Let me know if you need any other files.
|