|
[Sponsors] |
problem in running parallel: ./Allrun: 62: shift: can't shift that many |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 17, 2013, 06:03 |
problem in running parallel: ./Allrun: 62: shift: can't shift that many
|
#1 |
Senior Member
|
Hi everybody
I've been used parallel running till this morning. I restart my system and when I want to run my case in parallel, which I had ran it in parallel this morning correctly, It said: Code:
Create time Time = 0 Create mesh Calculating distribution of cells Selecting decompositionMethod scotch Finished decomposition in 0.12 s Calculating original mesh data Distributing cells to processors Distributing faces to processors Distributing points to processors Constructing processor meshes Processor 0 Number of cells = 7513 Number of faces shared with processor 1 = 90 Number of faces shared with processor 2 = 112 Number of processor patches = 2 Number of processor faces = 202 Number of boundary faces = 15228 Processor 1 Number of cells = 7493 Number of faces shared with processor 0 = 90 Number of faces shared with processor 2 = 150 Number of processor patches = 2 Number of processor faces = 240 Number of boundary faces = 15168 Processor 2 Number of cells = 7494 Number of faces shared with processor 0 = 112 Number of faces shared with processor 1 = 150 Number of processor patches = 2 Number of processor faces = 262 Number of boundary faces = 15204 Number of processor faces = 352 Max number of cells = 7513 (0.173333% above average 7500) Max number of processor patches = 2 (0% above average 2) Max number of faces between processors = 262 (11.6477% above average 234.667) Processor 0: field transfer Processor 1: field transfer Processor 2: field transfer End. anyone knows where is the problem? I attach the decomposeParDict file. thanks Mostafa |
|
August 17, 2013, 07:11 |
|
#2 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Hi,
try following descriprtion, i think that it will work. In the use of scotch u shoul also define the processorWeights. it work fine with my calculations [CODE] numberOfSubdomains 3; method scotch; scotchCoeffs { processorsWeights ( 1 1 1 ) } // ************************************************** *********************** // |
|
August 17, 2013, 11:53 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Mostafa: Well, you didn't exactly indicate the error message in particular, only on the title itself, which isn't much information. My guess is that you copied the case folder from one place to another and in the new location, somewhere, there is a name with a space in it. Best regards, Bruno
__________________
|
|
August 17, 2013, 12:47 |
|
#4 | |
Senior Member
|
Quote:
the error is: ./Allrun: 62: shift: can't shift that many as you see in my last post there isnt any error in running decomposepar but in terminal the above message is shown. I changed the sort of solving my equations and it worked!!! I had been solving Ueqn, Teqn, Ceqn, peqn. I changed the sort to Ueqn, peqn, Teqn, Ceqn and it worked!!! do you know what is the reason??? thank you Mostafa |
||
August 17, 2013, 12:56 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi Mostafa
which solver you use?see the solved code if the order is important or not.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 17, 2013, 13:25 |
|
#6 |
Senior Member
|
||
August 17, 2013, 13:27 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
What was the exact command you tried to use in the Allrun script for running in parallel?
__________________
|
|
August 17, 2013, 13:36 |
|
#8 | |
Senior Member
|
Quote:
Code:
#!/bin/sh cd ${0%/*} || exit 1 # run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions application=`getApplication` #runApplication $application runApplication decomposePar runParallel $application 3 runApplication reconstructPar streamFunction foamToTecplot360 |
||
August 17, 2013, 13:43 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OK, now we're getting somewhere
That error you got is related to this line: Code:
runParallel $application 3
Bruno
__________________
|
|
August 17, 2013, 13:58 |
|
#10 |
Senior Member
|
thank you Bruno for your quick reply.
as I refer in the http://www.cfd-online.com/Forums/ope...tml#post446313 post, with changing the sort of equation my problem solved, but I cannot understand why this message is shown? |
|
May 11, 2015, 10:31 |
|
#11 |
Member
Timm Severin
Join Date: Mar 2014
Location: Munich
Posts: 63
Rep Power: 12 |
For anyone coming here via google, this might be related to a "bug" in the RunFunctions tools, where tab characters in dictionaries are not accepted as whitespace separators between option-name and option-value
(See: http://www.openfoam.org/mantisbt/view.php?id=1689)
__________________
PhD Student at the Institute of Biochemical Engineering at TU München Modelling of fluid dynamics in open photobioreactors. System: OpenFOAM 2.3.x, 64bit, 8 Core Xeon Workstation |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam Parallel running | shipman | OpenFOAM Running, Solving & CFD | 3 | August 17, 2013 11:50 |
Problem in Running OpenFoam in Parallel | himanshu28 | OpenFOAM Running, Solving & CFD | 1 | July 11, 2013 10:19 |
Running in parallel | Djub | OpenFOAM Running, Solving & CFD | 3 | January 24, 2013 17:01 |
RSH problem for parallel running in CFX | Nicola | CFX | 5 | June 18, 2012 19:31 |
Problem running a parallel fluent job on local machine via mpd | highhopes | FLUENT | 0 | March 3, 2011 06:07 |