|
[Sponsors] |
August 13, 2009, 17:33 |
parallel bug
|
#1 |
New Member
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 17 |
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 |
|
August 13, 2009, 21:50 |
|
#2 |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17 |
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 |
|
August 13, 2009, 23:46 |
|
#3 |
New Member
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 17 |
Hi,chiven,it works well without parallel. I find another similar problem, but i don not understand what they said.
http://www.cfd-online.com/Forums/ope...atch-case.html best wish ranas |
|
August 14, 2009, 02:11 |
|
#4 |
Member
Cem Albukrek
Join Date: Mar 2009
Posts: 52
Rep Power: 17 |
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; // ************************************************** *********************** // |
|
August 14, 2009, 04:10 |
|
#5 |
New Member
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 17 |
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 |
|
August 14, 2009, 04:15 |
|
#6 |
New Member
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 17 |
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.
|
|
August 17, 2009, 12:28 |
|
#7 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi,
I have the same problem, posted my error here : http://www.cfd-online.com/Forums/ope...atch-case.html Regards, PO |
|
August 19, 2009, 06:35 |
|
#8 |
New Member
qqj
Join Date: Jun 2009
Posts: 12
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interDyMFoam parallel bug? | nikos_fb16 | OpenFOAM Bugs | 7 | January 19, 2018 06:06 |
Parallel Moving Mesh Bug for Multi-patch Case | albcem | OpenFOAM Bugs | 17 | April 29, 2013 00:44 |
Parallel Moving Mesh Bug for Multi-patch Case | albcem | OpenFOAM | 0 | May 21, 2009 01:23 |
OpenFOAM 14 stock version parallel bug | msrinath80 | OpenFOAM Bugs | 2 | May 30, 2007 15:47 |
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 | Amitava Majumdar | Main CFD Forum | 0 | January 5, 1999 13:00 |