CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] Cannot launch openfoam via non-interactive ssh (https://www.cfd-online.com/Forums/openfoam-installation/149912-cannot-launch-openfoam-via-non-interactive-ssh.html)

Rojj March 11, 2015 02:31

Cannot launch openfoam via non-interactive ssh
 
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 March 11, 2015 22:06

Problem sorted.

Code:

. /opt/openfoam231/etc/bashrc
goes BEFORE anything else in .bashrc


All times are GMT -4. The time now is 15:10.