|
[Sponsors] |
January 15, 2013, 16:53 |
running openFOAM on network
|
#1 |
Member
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 14 |
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? |
|
January 16, 2013, 05:12 |
|
#2 |
Senior Member
|
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... |
|
January 16, 2013, 10:55 |
|
#3 |
Senior Member
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 17 |
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? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 05:23 |
Running Problem using Openfoam solver | cfd_staruser | OpenFOAM | 5 | August 14, 2009 03: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 20:28 |
Running OpenFOAM | Sean | Main CFD Forum | 1 | April 8, 2008 14:26 |