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

[OpenFOAM.com] 3.0+ Cannot find commands when installing on RHEL

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

Like Tree1Likes
  • 1 Post By Hillie

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2016, 21:45
Default 3.0+ Cannot find commands when installing on RHEL
  #1
Member
 
Hilbert
Join Date: Aug 2015
Location: Australia
Posts: 50
Rep Power: 10
Hillie is on a distinguished road
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
and I source my bashrc file with 'source .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?
Hillie is offline   Reply With Quote

Old   August 16, 2016, 02:55
Default
  #2
Member
 
Hilbert
Join Date: Aug 2015
Location: Australia
Posts: 50
Rep Power: 10
Hillie is on a distinguished road
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
]
wyldckat likes this.
Hillie is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:56.