3.0+ Cannot find commands when installing on RHEL
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 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? |
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 |
All times are GMT -4. The time now is 20:55. |