CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

parallel bug

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 13, 2009, 16:33
Default parallel bug
  #1
New Member
 
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 8
ranas is on a distinguished road
hello all,
I am calculate a foil pitching.

$ mpirun -np 2 `which icoDyMFoam` -parallel < /dev/null >& log &

The error is shown below.Can anyone tell me what this error message means?

-------------------------------------------------------
PID : 20238
Case :
nProcs : 2
Slaves :
1
(
node31.20239
)
Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: velocityLaplacian
[1]
[1] [0]
[0]
[0] size 580 is not equal to the given value of 292
[0]
[0] file: /home/qqj/OpenFOAM/qqj-1.5.x/run/naca0012_test/processor0/0/pointMotionU::foil from line 46 to line 637.[0][0] From function Field<Type>::Field(const word& keyword, const dictionary& dict, const label s)[0] in file /home/qqj/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/Field.C at line 224.[0]
FOAM parallel run exiting[0][node31:20238] MPI_ABORT invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1
[1] size 580 is not equal to the given value of 292[1][1] file: /home/qqj/OpenFOAM/qqj-1.5.x/run/naca0012_test/processor1/0/pointMotionU::foil from line 46 to line 637.[1][1] From function Field<Type>::Field(const word& keyword, const dictionary& dict, const label s)[1] in file /home/qqj/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/Field.C at line 224.[1]
FOAM parallel run exiting[1]
[node31:20239] MPI_ABORT invoked on rank 1 in communicator MPI_COMM_WORLD with errorcode 1
ranas is offline   Reply With Quote

Old   August 13, 2009, 20:50
Default
  #2
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 8
chiven is on a distinguished road
Hi, ranas, your mpi command seems ok, please run it without parallel at first. Maybe the problem is not at the point of prallel. please also check your B.C. setting of pointMotionU.

best regards,
Chiven
chiven is offline   Reply With Quote

Old   August 13, 2009, 22:46
Default
  #3
New Member
 
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 8
ranas is on a distinguished road
Hi,chiven,it works well without parallel. I find another similar problem, but i don not understand what they said.

Parallel Moving Mesh Bug for Multi-patch Case

best wish
ranas
ranas is offline   Reply With Quote

Old   August 14, 2009, 01:11
Default
  #4
Member
 
Cem Albukrek
Join Date: Mar 2009
Posts: 50
Rep Power: 8
albcem is on a distinguished road
Try changing your decomposePar dictionary settings to use metis and see if it helps:


FoamFile
{
version 2.0;
format ascii;

root "";
case "";
instance "";
local "";

class dictionary;
object decomposeParDict;
}

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


numberOfSubdomains 2;

method metis;


metisCoeffs
{
processorWeights
(
1
1
);
}


distributed no;


// ************************************************** *********************** //
albcem is offline   Reply With Quote

Old   August 14, 2009, 03:10
Default
  #5
New Member
 
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 8
ranas is on a distinguished road
Hi, cem
I tried and it dosn't work. The log file:

Exec : /home/qqj/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linux64GccDPOpt/icoDyMFoam -parallel
Date : Aug 14 2009
Time : 15:02:42
Host : node31
PID : 21961
Case : /home/qqj/OpenFOAM/qqj-1.5.x/run/naca0012_test
nProcs : 2
Slaves :
1
(
node31.21962
)
Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: velocityLaplacian
[0]
[0]
[0] size 580 is not equal to the given value of 340
[0]
[0] file: /home/qqj/OpenFOAM/qqj-1.5.x/run/naca0012_test/processor0/0/pointMotionU::foil from line [1]
46 to line 637.
[0]
[0] From function Field<Type>::Field(const word& keyword, const dictionary& dict, const label s)
[0] in file /home/qqj/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/Field.C at line 224.
[0]
FOAM parallel run exiting
[0]
[1]
[1] size 580 is not equal to the given value of 244
[1]
[1] file: /home/qqj/OpenFOAM/qqj-1.5.x/run/naca0012_test/processor1/0/pointMotionU::foil from line 46 to line 637.
[1]
[1] From function Field<Type>::Field(const word& keyword, const dictionary& dict, const label s)
[1] in file /home/qqj/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/Field.C at line 224.
[1]
FOAM parallel run exiting
[1]
[node31:21961] MPI_ABORT invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1
[node31:21962] MPI_ABORT invoked on rank 1 in communicator MPI_COMM_WORLD with errorcode 1
ranas is offline   Reply With Quote

Old   August 14, 2009, 03:15
Default
  #6
New Member
 
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 8
ranas is on a distinguished road
I found that 580 is the number of grid on the nacafoil. It said "size 580 is not equal to the given value of 340". I guess the grid on the nacafoil is not decomposed into two part.
ranas is offline   Reply With Quote

Old   August 17, 2009, 11:28
Default
  #7
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 185
Rep Power: 8
podallaire is on a distinguished road
Hi,

I have the same problem, posted my error here :

Parallel Moving Mesh Bug for Multi-patch Case

Regards,

PO
podallaire is offline   Reply With Quote

Old   August 19, 2009, 05:35
Default
  #8
New Member
 
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 8
ranas is on a distinguished road
Hi, PO
Modify the files pointMotionU in the processor0/0 processor1/0 .... after you execute the command "decomposePar" . I found that the boundary condition can not be divided into several parts. You can do it youself. I do not know why the command does not work, may be it is a bug. Hope it is helpful.

best regards

ranas
ranas is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Moving Mesh Bug for Multi-patch Case albcem OpenFOAM Bugs 17 April 28, 2013 23:44
interDyMFoam parallel bug? nikos_fb16 OpenFOAM Bugs 6 March 4, 2011 15:49
Parallel Moving Mesh Bug for Multi-patch Case albcem OpenFOAM 0 May 21, 2009 00:23
OpenFOAM 14 stock version parallel bug msrinath80 OpenFOAM Bugs 2 May 30, 2007 14:47
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 13:00


All times are GMT -4. The time now is 12:34.