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

HOWTO fix mpirun problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2011, 11:21
Default HOWTO fix mpirun problem
  #1
Member
 
JunaidAhmad's Avatar
 
Junaid Ahmad Khan
Join Date: Mar 2010
Location: Islamabad
Posts: 43
Rep Power: 16
JunaidAhmad is on a distinguished road
Hi

i am trying to run OF on multi computers [ip's: 10.9.11.3 and 10.9.11.4]
now when i run command

mpirun --hostfile mechine -np 4 simpleFoam -parallel > log

openfoam@10.9.11.4's password:
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not find an executable:

Executable: simpleFoam
Node: 10.9.11.4

while attempting to start process rank 2.
--------------------------------------------------------------------------

So please someone tell me what to do.

I am using Ubuntu 10.10.
JunaidAhmad is offline   Reply With Quote

Old   April 28, 2011, 12:00
Default
  #2
Member
 
longamon's Avatar
 
David Aljure
Join Date: Mar 2011
Location: CTTC Universidad Politécnica de Catalunya. Spain
Posts: 38
Rep Power: 15
longamon is on a distinguished road
try :mpirun -np 4 --hostfile [hostfilename] simpleFoam -parallel > log

also try: foamJob -p simpleFoam with the machines file in the system folder

make sure all nodes have openFoam or can access OF functions. It could be your slave node 10.9.11.4 hasn't OF installed.

see this for more info: http://www.cfd-online.com/Forums/ope...am-solved.html

Last edited by longamon; April 28, 2011 at 12:15.
longamon is offline   Reply With Quote

Old   April 29, 2011, 02:24
Default Thank You
  #3
Member
 
JunaidAhmad's Avatar
 
Junaid Ahmad Khan
Join Date: Mar 2010
Location: Islamabad
Posts: 43
Rep Power: 16
JunaidAhmad is on a distinguished road
Thanks a lot............................................... .........you are a life saver
JunaidAhmad is offline   Reply With Quote

Old   April 29, 2011, 14:21
Default
  #4
Member
 
JunaidAhmad's Avatar
 
Junaid Ahmad Khan
Join Date: Mar 2010
Location: Islamabad
Posts: 43
Rep Power: 16
JunaidAhmad is on a distinguished road
i add [source /opt/openfoam171/etc/bashrc]
in the first line of these files
sudo gedit ~/.Profile and gedit ~/.Bashrc
and it worked
SO if anyone have that kind of message then copy and paste the above line
JunaidAhmad is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
RPI Wall Boiling Problem aliemadi CFX 4 September 1, 2018 22:14
conduction problem venkataramana OpenFOAM 3 December 1, 2013 08:30
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 20:42
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
How to fix this problem? mehul FLUENT 0 February 6, 2007 04:10


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