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

[OpenFOAM.org] Cannot launch openfoam via non-interactive ssh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2015, 02:31
Default Cannot launch openfoam via non-interactive ssh
  #1
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 12
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, 22:06
Default
  #2
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 12
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


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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
OpenFOAM Training Beijing 22-26 Aug 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 May 3, 2016 04:57
SWIG wrappers interactive OpenFOAM mariam OpenFOAM 4 February 19, 2009 06:40
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 23:58.