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

Cannot launch openfoam via non-interactive ssh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2015, 03:31
Default Cannot launch openfoam via non-interactive ssh
  #1
New Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 24
Rep Power: 5
Rojj is on a distinguished road
Dear OpenFOAM users,


I am struggling to run a case via password-less ssh.

The password-less ssh is working. I can ssh the other machine with the usual ssh user@host and then run, for example, simpleFoam.

If instead I try to run the command directly by using

Code:
ssh user@host simpleFoam
I received the 'File not found' error. Please notice that other commands work normally.

Also my ~/.bashrc includes the line

Code:
. /opt/openfoam231/etc/bashrc
Info:
Openfoam 2.3.1
OS: Lubuntu 14.10 (Virtual box)

Thanks for any advice
Rojj is offline   Reply With Quote

Old   March 11, 2015, 23:06
Default
  #2
New Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 24
Rep Power: 5
Rojj is on a distinguished road
Problem sorted.

Code:
. /opt/openfoam231/etc/bashrc
goes BEFORE anything else in .bashrc
Rojj is offline   Reply With Quote

Reply

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
Getting Started with OpenFOAM wyldckat OpenFOAM 16 October 3, 2016 10:44
Compiling OpenFOAM on hpc-fe.gbar.dtu.dk kaergaard OpenFOAM Installation 1 June 16, 2011 01:33
SWIG wrappers interactive OpenFOAM mariam OpenFOAM 4 February 19, 2009 07:40
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50
Can you make OpenFOAM use ssh directly rather than telnet york OpenFOAM Installation 5 November 13, 2006 05:12


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