|
[Sponsors] |
Source Pack Installation OpenFOAM Version 2.1.0 on Redhat Linux |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 30, 2012, 05:23 |
Source Pack Installation OpenFOAM Version 2.1.0 on Redhat Linux
|
#1 |
New Member
|
Hello,
I am trying to install Source Pack Installation OpenFOAM Version 2.1.0 on Redhat Linux 5.1. I am doing this in root. I have pasted here what i did. ------------------------------------------------------------------------------------ [root@localhost OpenFOAM]# ls OpenFOAM-2.1.0 OpenFOAM-2.1.0.tgz ThirdParty-2.1.0 ThirdParty-2.1.0.tgz [root@localhost OpenFOAM]# cd OpenFOAM-2.1.0 [root@localhost OpenFOAM-2.1.0]# cd etc [root@localhost etc]# ls bashrc cellModels codeTemplates config controlDict cshrc thermoData [root@localhost etc]# echo $SHELL /bin/bash [root@localhost etc]# “source $HOME/.bashrc” bash: “source: command not found [root@localhost etc]# source $HOME/.bashrc [root@localhost etc]# cd .. [root@localhost OpenFOAM-2.1.0]# ls Allwmake bin doc README.html src wmake applications COPYING etc README.org tutorials [root@localhost OpenFOAM-2.1.0]# cd bin [root@localhost bin]# sh foamSystemCheck Checking basic system... ----------------------------------------------------------------------- Shell: /bin/bash Host: localhost.localdomain OS: Linux version 2.6.18-128.el5 User: root System check: PASS ================== Continue OpenFOAM installation. [root@localhost bin]# gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [root@localhost bin]# flex --version flex version 2.5.4 [root@localhost bin]# cd .. [root@localhost OpenFOAM-2.1.0]# ls Allwmake bin doc README.html src wmake applications COPYING etc README.org tutorials [root@localhost OpenFOAM-2.1.0]# ./Allwmake ./Allwmake: line 4: wmakeCheckPwd: command not found Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. [root@localhost OpenFOAM-2.1.0]# pwd /root/OpenFOAM/OpenFOAM-2.1.0 [root@localhost OpenFOAM-2.1.0]# ------------------------------------------------------------------------------------ When i am trying to run ./Allwake i am getting above error message. Can you help me where i am making mistake or what else i should do ? ------------------------------------------------------------------------------------------- some additinal info [root@localhost OpenFOAM-2.1.0]# pwd /root/OpenFOAM/OpenFOAM-2.1.0 [root@localhost OpenFOAM-2.1.0]# ls Allwmake bin doc make.log README.org tutorials applications COPYING etc README.html src wmake [root@localhost OpenFOAM-2.1.0]# ./Allwmake ./Allwmake: line 4: wmakeCheckPwd: command not found Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. [root@localhost OpenFOAM-2.1.0]# echo $WM_PROJECT_DIR [root@localhost OpenFOAM-2.1.0]# ----------------------------------------------------------------------------------- echo is not throwing any message Thank you in Advance, Indrajit Last edited by Indrajit; March 30, 2012 at 05:58. Reason: adding additional |
|
April 1, 2012, 05:39 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Indrajit and welcome to the forum!
Since you are using RHEL 5.1.0, here's a quote from a recent thread: Quote:
Bruno
__________________
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
OpenFoam 2.0.0 installation | Jan_Peters | OpenFOAM Installation | 86 | April 27, 2012 06:32 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
uninstalling Ubuntu pack and installing source pack | vetnav | OpenFOAM Installation | 2 | July 13, 2010 20:11 |