CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

running openFOAM on network

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

LinkBack Thread Tools Display Modes
Old   January 15, 2013, 16:53
Default running openFOAM on network
Join Date: Apr 2011
Posts: 92
Rep Power: 7
hawkeye321 is an unknown quantity at this point
Hi foamer
I am trying to run Openfoam on two machines, but I get this error:

ssh: Could not resolve hostname r-soll41: Name or service not known

The machine file is in text format and contains:
and I am running from r-soll34.

Do you have any idea why I get this error?
Do you have any step by step manual showing how to set SSH settings on the machines?
hawkeye321 is offline   Reply With Quote

Old   January 16, 2013, 05:12
Senior Member
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 182
Blog Entries: 1
Rep Power: 9
Linse is on a distinguished road
No guarantee, Mahdi, I'm just poking at some minor points having only minor experience with ssh-connected machines. But how do you try to use the machinefile?

If I remember correctly, the basic run command should look something like:
mpirun -np 8 -hostfile machines rhoPimpleFoam -parallel
with 8 being the number of your cores and "machines" being the machinefile.
The rest should be clear, I think...

If it really is a SSH-specific problem unfortunately I can not help any further. But the error message to me simply looks like the name of the remote host was passed on like a command, not like an option to sum run-program...
Linse is offline   Reply With Quote

Old   January 16, 2013, 10:55
Senior Member
sail's Avatar
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 10
sail is on a distinguished road
you should edit you host file (ususally is in /etc/host but might depend on distro) and add a line with

r-soll41 iPAddressOfTheMachine

in addition to this, have you set up passwordless ssh access on the 41 machine?

what happens if you try to connect manually with ssh to the server?
Naval architecture and CFD consultancy
sail is offline   Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
facing high courant number while running the case in OpenFOAM Nikhil Thakur Main CFD Forum 1 July 30, 2012 04:23
Running Problem using Openfoam solver cfd_staruser OpenFOAM 5 August 14, 2009 02:28
Eureka, OpenFoam 1.5 is running on OpenSUSE11.1 Ahmed Main CFD Forum 0 March 7, 2009 23:20
Optimal configuration for running OpenFOAM bergantz OpenFOAM Running, Solving & CFD 0 October 14, 2008 19:28
Running OpenFOAM Sean Main CFD Forum 1 April 8, 2008 13:26

All times are GMT -4. The time now is 12:25.