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

DecomposePar

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Bernhard
  • 1 Post By danishdude

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2011, 11:12
Default DecomposePar
  #1
Member
 
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14
Danath is on a distinguished road
hello i want to run my case in parallel my computer has 2 processors

so from decompose picture am i right ?

when i write
"mpirun -npsimpleFoam -parrallel >log& i have a problem (mpirun picture)

mpi run was unable to launch the specified application...

executable :-p

why p is not executable where am i wrong ?
Attached Images
File Type: jpg decompose.jpg (34.0 KB, 7 views)
File Type: jpg mpirun.jpg (57.5 KB, 15 views)
File Type: jpg p.jpg (41.4 KB, 5 views)
Danath is offline   Reply With Quote

Old   November 30, 2011, 11:18
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
Don't forget the space between -np and simpleFoam!
Danath likes this.
Bernhard is offline   Reply With Quote

Old   November 30, 2011, 16:30
Default
  #3
Member
 
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14
Danath is on a distinguished road
ok! i fix the first problem now i have another one

can you help me ?
Attached Images
File Type: png problem.PNG (51.0 KB, 24 views)
Danath is offline   Reply With Quote

Old   November 30, 2011, 17:57
Default
  #4
New Member
 
Michael Ahlmann
Join Date: Feb 2010
Posts: 27
Rep Power: 16
danishdude is on a distinguished road
The correct command is the following:

mpirun -np 2 simpleFoam -parallel >> log &

mpirun is the name of the parallel message passing interface launch script.
-np specifies number of processors, in your case 2. Best of luck,

-Michael
Danath likes this.
danishdude is offline   Reply With Quote

Old   December 1, 2011, 15:24
Default
  #5
Member
 
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14
Danath is on a distinguished road
hello Foamers

i am a little bit confused check my picture please can you tell me what i've done ?

[1] - Done mpirun....
[2] + Done mpirun....

why two mpirun commands?
Attached Images
File Type: jpg mpirun 1.jpg (69.9 KB, 26 views)
Danath is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 05:27
checkMesh and decomposePar crashes with salome IDEAS mesh pajofego OpenFOAM 0 June 23, 2011 08:43
decomposePar: can use this decomposition method only for the whole mesh aloeven OpenFOAM Bugs 0 March 16, 2011 10:15
Strange behaviour 1.6 decomposePar vs 1.7 decomposePar BlueyTheDog OpenFOAM 7 January 16, 2011 18:12
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 20:32.