|
[Sponsors] |
October 27, 2011, 14:26 |
Problem with parallel run
|
#1 |
Senior Member
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17 |
Dear Foamers,
I am developing a solver. It runs OK as a serial job. I need to run it in parallel. I cannot apply decomposePar! I get this error for the last processor (regardless of number of processors). I have nothing in the code nor the input files that wants this "time-series" thing!!! I tried the decomposeParDict with a tutorial and it runs. Any ideas are appreciated! Error: Code:
Constructing processor meshes Processor 0 Number of cells = 22542 Number of faces shared with processor 1 = 109 Number of processor patches = 1 Number of processor faces = 109 Number of boundary faces = 45409 Processor 1 Number of cells = 22542 Number of faces shared with processor 0 = 109 Number of faces shared with processor 2 = 95 Number of processor patches = 2 Number of processor faces = 204 Number of boundary faces = 45332 Processor 2 Number of cells = 22542 Number of faces shared with processor 1 = 95 Number of faces shared with processor 3 = 97 Number of processor patches = 2 Number of processor faces = 192 Number of boundary faces = 45334 Processor 3 Number of cells = 22542 Number of faces shared with processor 2 = 97 Number of processor patches = 1 Number of processor faces = 97 Number of boundary faces = 45407 Number of processor faces = 301 Max number of cells = 22542 (0% above average 22542) Max number of processor patches = 2 (33.3333% above average 1.5) Max number of faces between processors = 204 (35.5482% above average 150.5) --> FOAM FATAL IO ERROR: file "/home/hisham/OpenFOAM/numubuntu-2.0.0/waveTankFoam/fineTutorial_waveTankFoam/time-series" does not exist file: /home/hisham/OpenFOAM/numubuntu-2.0.0/waveTankFoam/fineTutorial_waveTankFoam/time-series at line 1. From function IFstream::operator() in file db/IOstreams/Fstreams/IFstream.C at line 178. FOAM exiting Code:
numberOfSubdomains 4; method simple; simpleCoeffs { n ( 4 1 1 ); delta 0.001; } hierarchicalCoeffs { n ( 1 1 1 ); delta 0.001; order xyz; } metisCoeffs { processorWeights ( 1 1 1 1 ); } manualCoeffs { dataFile ""; } distributed no; roots ( ); |
|
October 28, 2011, 15:15 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Hisham,
Mmm, that's an odd error message... My guess is that you don't have any time instance folder, such as "0". I can't test this right now, so may I ask you to post the tree list of your case folder: Code:
tree -s Bruno
__________________
|
|
October 28, 2011, 20:02 |
|
#4 |
Senior Member
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17 |
Code:
. ├── [ 4096] 0 │** ├── [ 1309] alpha │** ├── [ 182010] alpha1 │** ├── [ 1333] alpha1~ │** ├── [ 1464] alpha1.org │** ├── [ 1464] alpha1.org~ │** ├── [ 1334] B │** ├── [ 1631] B~ │** ├── [ 1324] cellMotionUx~ │** ├── [ 1383] cellMotionUx.org │** ├── [ 1424] k │** ├── [ 1889] k~ │** ├── [ 1211] nuSgs │** ├── [ 1515] nuSgs~ │** ├── [ 1294] nuTilda │** ├── [ 1624] nuTilda~ │** ├── [ 4096] OldFilesForRANS │** │** ├── [ 1324] cellMotionUx │** │** ├── [ 1923] epsilon │** │** ├── [ 1843] mut │** │** ├── [ 1832] nut │** │** └── [ 2019] R │** ├── [ 1327] pointMotionUx~ │** ├── [ 1386] pointMotionUx.org │** ├── [ 1551] p_rgh │** ├── [ 2001] p_rgh~ │** ├── [ 2588] U │** └── [ 1420] U~ ├── [ 4096] constant │** ├── [ 4096] boundaryData │** │** └── [ 4096] waveMaker │** │** ├── [ 4096] 0 │** │** │** ├── [ 912] alpha1 │** │** │** └── [ 912] alpha1~ │** │** ├── [ 1279] points │** │** └── [ 1156] points~ │** ├── [ 1048] dynamicMeshDict │** ├── [ 939] g │** ├── [ 1780] LESProperties │** ├── [ 4096] polyMesh │** │** ├── [ 8471] blockMeshDict │** │** ├── [ 1573] boundary │** │** ├── [ 1694] boundary~ │** │** ├── [ 531206] cellZones │** │** ├── [ 7335351] faces │** │** ├── [ 877] faceZones │** │** ├── [ 801419] neighbour │** │** ├── [ 1850003] owner │** │** ├── [ 1952171] points │** │** ├── [ 878] pointZones │** │** └── [ 4096] sets │** │** ├── [ 498418] flume │** │** ├── [ 25549] sponge1 │** │** ├── [ 25213] sponge2 │** │** ├── [ 25213] sponge3 │** │** ├── [ 25423] sponge4 │** │** └── [ 25535] sponge5 │** ├── [ 1168] porousZones │** ├── [ 2284] transportProperties │** └── [ 910] turbulenceProperties ├── [ 0] fineTutorial_waveTankFoam.OpenFOAM ├── [ 445603053] log ├── [ 2214] PyFoamHistory ├── [ 4096] system │** ├── [ 1317] controlDict │** ├── [ 1319] controlDict~ │** ├── [ 1234] decomposeParDict │** ├── [ 1234] decomposeParDict~ │** ├── [ 1553] fvSchemes │** ├── [ 2399] fvSolution │** ├── [ 2399] fvSolution~ │** ├── [ 1151] setFieldsDict │** ├── [ 1151] #setFieldsDict# │** ├── [ 1151] setFieldsDict~ │** ├── [ 3577] waterWavesDict │** └── [ 3293] waterWavesDict~ ├── [ 2053] waveTank.geo └── [ 14650731] waveTank.msh |
|
October 29, 2011, 05:50 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Hisham,
You have many files that shouldn't be where they are. Allow me to explain:
You wouldn't leave a screw driver on the ground of a wind tunnel experiment and then turn on the fans, would you? Best regards, Bruno
__________________
|
|
October 29, 2011, 07:02 |
|
#6 |
Senior Member
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17 |
Hi Bruno,
As you've expected. It is the boundaryData that causes the problem. I do not need the timeVaryingMapped BC for now, so I guess your advice for keeping things tidy pays off. I removed the boundaryData altogether and it decomposes now fine. Thanks Hisham |
|
March 7, 2012, 22:26 |
|
#7 |
Senior Member
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15 |
hey, i did this mesh in salome and ideasToUnv worked fine but after that when i decomposed it i had this error
Constructing processor meshes #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/decomposePar" #4 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/decomposePar" #5 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/decomposePar" #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/decomposePar" Segmentation fault i have had no errors so far with my decomposePar ever... please help me I'm just stuck |
|
March 8, 2012, 05:35 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Alhasan,
Did you check the mesh? Code:
checkMesh Best regards, Bruno
__________________
|
|
March 8, 2012, 21:34 |
|
#9 |
Senior Member
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15 |
there was a problem with the mesh...!!!! sorry for the inconvinence... thanks ...
the problem was the there was one extra face on just one wall..!!!! and it couldn't segment the number of cells equally i guess...!!! thanks. |
|
March 13, 2012, 09:31 |
|
#10 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
__________________
|
||
Tags |
decomposepar, parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
area does not match neighbour by ... % -- possible face ordering problem | St.Pacholak | OpenFOAM | 11 | September 4, 2024 05:28 |
First Parallel Run - need some help | Gian Maria | OpenFOAM | 3 | June 17, 2011 13:08 |
nonNewtonianIcoFoam - problem with parallel run | chris_sev | OpenFOAM Bugs | 4 | April 1, 2009 10:13 |
Parallel run with engineFoam | francesco | OpenFOAM Bugs | 1 | November 25, 2008 08:06 |
Problem on Parallel Run Setup | Hamidur Rahman | CFX | 0 | September 23, 2007 18:11 |