CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   ChannelOodles in parallel (http://www.cfd-online.com/Forums/openfoam-bugs/62558-channeloodles-parallel.html)

maka August 17, 2007 05:42

if no of cells in the directio
 
if no of cells in the direction that we decompose over is not dividable by no of processors. decompose Par works OK but we get the following error when running.

To reproduce the error:
-------------------------
tut; cd channelOodles/channel395
rm -r 0;
cp -r 0.org 0;
modify blockMeshDict to have 63 cell in x direction.
decomposePar with :
method simple;

simpleCoeffs
{
n (2 1 1);
delta 0.000001;
}
nohup mpirun -np 2 channelOodles .. channel395.50 -parallel;

To remove the error:
-----------------------
make no of cell 64 in x dir.

--------------------------------
DECOMPOSEPAR OUTPUT:


Time = 0
Create mesh


Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.27 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Calculating processor boundary addressing

Distributing points to processors

Constructing processor meshes

Processor 0
Number of cells = 47250
Number of faces shared with processor 1 = 3118
Number of boundary faces = 4996

Processor 1
Number of cells = 47250
Number of faces shared with processor 0 = 3118
Number of boundary faces = 4996

Processor 0: field transfer
Processor 1: field transfer

End.
----------------------------------------------

ERROR MESSAGE:
Create time

Create mesh for time = 0

[0]
[0]
[0] --> FOAM FATAL ERROR : Cannot find patch edge with vertices (11 1630) on patch procBoundary0to1
Can only find edges
4
(
(11 86)
(8 11)
(11 14)
(10 11)
)
connected to first vertex
[0]
[0] From function processorPolyPatch::updateMesh()
[0] in file meshes/polyMesh/polyPatches/derivedPolyPatches/processorPolyPatch/processorPolyP atch.C at line 351.
[0]
FOAM parallel run aborting
[0]
[1]
[1]
[1] --> FOAM FATAL ERROR : Cannot find patch edge with vertices (1608 9) on patch procBoundary1to0
Can only find edges
4
(
(1608 1555)
(1605 1608)
(1608 1611)
(1609 1608)
)
connected to first vertex
[1]
[1] From function processorPolyPatch::updateMesh()
[1] in file meshes/polyMesh/polyPatches/derivedPolyPatches/processorPolyPatch/processorPolyP atch.C at line 351.
[0] Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
[0] Foam::error::abort()
[0] Foam::processorPolyPatch::updateMesh()
[0] Foam::polyBoundaryMesh::updateMesh()
[0] Foam::polyMesh::polyMesh(Foam::IOobject const&)
[0] Foam::fvMesh::fvMesh(Foam::IOobject const&)
[0] Foam::regIOobject::write(Foam::IOstream::streamFor mat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const
[0] __libc_start_main
[0] __gxx_personality_v0
[1]
FOAM parallel run aborting
[1]
-----------------------------------------------------------------------------
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.

PID 7241 failed on node n0 (127.0.0.1) with exit status 1.
-----------------------------------------------------------------------------

mattijs August 20, 2007 13:23

I followed your steps but cann
 
I followed your steps but cannot repeat your problem. You are running 1.4.1 I hope?

maka August 21, 2007 04:04

no. I'm using V1.3. Was there
 
no. I'm using V1.3. Was there a problem in that version? I do not know if it is too much to ask you what are the files that had the probelm (decompostPar only or others). Sorry, to move to 1.4.1 I need to do lots of testing. I will do it as soon as I can. Thanks Mattijs.

Best regards,
Maka.

mattijs August 21, 2007 17:30

By heart: check processorPolyP
 
By heart: check processorPolyPatch.C and coupledPolyPatch.C for differences between the two.


All times are GMT -4. The time now is 15:18.