|
[Sponsors] |
[OpenFOAM.com] 3.0+ Cannot find commands when installing on RHEL |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 14, 2016, 21:45 |
3.0+ Cannot find commands when installing on RHEL
|
#1 |
Member
Hilbert
Join Date: Aug 2015
Location: Australia
Posts: 50
Rep Power: 10 |
Dear Foamers,
I have installed OpenFoam on my university clusters, which is based on red-hat via the wiki instructions: https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL . Just after install everything worked beautifully. The second time I logged on though I got 'cannot find command' error when I tried to execute OpenFoam. This looked like a standard case of not properly sourcing the '/etc/bashrc' file, but from after checking this it seems to be fine. The current lines in my bashrc file are Code:
module load openmpi-x86_64 source /home/z502/OpenFOAM/OpenFOAM-v3.0+/etc/bashrc Since the above looks good to me and I cannot find any errors, I am not to sure where to start debugging this problem. Does anybody have any idea's? |
|
August 16, 2016, 02:55 |
|
#2 |
Member
Hilbert
Join Date: Aug 2015
Location: Australia
Posts: 50
Rep Power: 10 |
I found the problem. Attached is the line I put in my bashrc file which solves the problem:
Code:
source /home/z502/OpenFOAM/OpenFOAM-v3.0+/etc/bashrc WM_LABEL_SIZE=64 foamCompiler=ThirdParty WM_COMPILER=Gcc48 FOAMY_HEX_MESH=yes ] |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 12:38 |
accessing dpm data commands, help!!! | TedBrogan | FLUENT | 4 | May 19, 2011 16:58 |
Cant find UDF commands | Ronnfors | FLUENT | 2 | September 29, 2009 05:57 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 04:48 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 20:30 |