|
[Sponsors] |
command not found issue through an ssh server |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 16, 2017, 23:10 |
command not found issue through an ssh server
|
#1 |
New Member
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 9 |
I am new to open foam and ssh servers.
my problem is I need to run openFoam (simpleFoam simulation) through the university server which is an ssh server . when I execute the (simpleFoam -help command) it gives me : command not found although the open foam 2.3.0 files are in the root of the uni server. what could be the problem? is it a setup issue? how can I fix that? thanks in advance... |
|
February 17, 2017, 02:35 |
|
#2 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20 |
Did you source OpenFoam's bashrc file?
Or rather, since this is a cluster, did you load OpenFoam's module? Code:
module avail module <<INSERT OPENFOAM NAME FROM ABOVE OUTPUT HERE>> |
|
February 17, 2017, 11:14 |
|
#3 | |
New Member
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 9 |
Quote:
the OpenFoam 2.3.0 are already loaded in the cluster, as you see below in the image. bear in mind that paraview software is working properly in the cluster. |
||
February 19, 2017, 18:08 |
|
#4 | |
New Member
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 9 |
when I try to excute ( simpleFoam) command through the terminal ,I got the following:
Quote:
|
||
February 20, 2017, 03:17 |
|
#5 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20 |
All your figure shows is that OpenFoam is installed on the cluster. It does not show that OpenFoam is loaded.
Show us the output of these commands: Code:
module avail echo $FOAM_APPBIN echo -e ${PATH//:/\\n} which simpleFoam |
|
February 20, 2017, 03:50 |
|
#6 | |
New Member
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 9 |
Quote:
these are the outputs what could be the issue?? |
||
February 20, 2017, 04:20 |
|
#7 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
Hi,
Have you tried to source the bashrc file for OF using the command below? Code:
source /opt/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc Antimony |
|
February 20, 2017, 04:38 |
|
#8 |
New Member
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 9 |
||
February 20, 2017, 07:26 |
|
#9 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20 |
Your output shows two things:
1) OpenFoam is indeed not loaded. 2) OpenFoam is not installed as a module on your cluster. The latter is no problem, it just means that you have to source OpenFoam's bashrc file - which is exactly what Antimony just asked you to do. Hence, the only thing we can help you with is with this question: What exactly did you type? And what exactly happened when you did so? "It didn't work" is so unspecific that we cannot help you. |
|
February 20, 2017, 15:28 |
|
#10 | ||
New Member
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 9 |
Quote:
Quote:
I got the same output in the terminal command: simpleFoam: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory I need to make the airfoil model run through the cluster |
|||
October 28, 2019, 21:35 |
same problem with two nodes
|
#11 |
Member
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 12 |
Hello,
I am trying to run the cavity example using two nodes (it works on both nodes in single node mode...), but I am having a problem similar to what is described above. - When I run: mpirun --hostfile machines -np 4 icoFoam -parallel the application just hangs without any error message. - When I try from node1: ssh node2 "icoFoam -help" I get the following error message "bash: icoFoam: command not found" Openfoam is installed on both nodes, the command "icoFoam -help" works when run on each node, and simple commands such as "ssh node2 'ls' " ran from node1 give the expected result. I am using windows10 WSL help please!!! |
|
November 20, 2022, 12:57 |
|
#12 |
New Member
Matheus Montenegro Nunes
Join Date: Sep 2018
Posts: 3
Rep Power: 7 |
||
November 20, 2022, 12:58 |
|
#13 |
New Member
Matheus Montenegro Nunes
Join Date: Sep 2018
Posts: 3
Rep Power: 7 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
[Other] Compiling hacFoam (Ubuntu 10.04)(OF2.0.0)(LAMMPS13Jul2010)) | Henrik_E | OpenFOAM Installation | 3 | September 29, 2016 16:16 |
[General] Mac Os x system can't connect to X server when using ssh to access Linux system | Ivy Zhou | ParaView | 2 | September 30, 2013 10:21 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 01:30 |