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

running openFOAM on network

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2013, 15:53
Default running openFOAM on network
  #1
Member
 
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 14
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:
r-soll34
r-soll41
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, 04:12
Default
  #2
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 15
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, 09:55
Default
  #3
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 16
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?
__________________
http://www.leadingedge.it/
Naval architecture and CFD consultancy
sail 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
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 22: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 00:44.