|
[Sponsors] |
January 5, 2011, 05:18 |
Installation OpenFOAM-1.6-ext
|
#1 |
New Member
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 17 |
Hello,
I tried to install OpenFOAM-1.6-ext on SuSE SLES 11, but there were some problems with the environment variables e. g. the variable of the location of the third party software. Before I tried to installe OpenFOAM-1.6-ext I installed OpenFoam-1.7.x. After downloading OpenFoam-1.6-ext and adding and sourcing the necessary line in the .bashrc, I run the foamInstallationTest script and got the following output: Executing bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: linux-z508 OS: Linux version 2.6.27.19-5-default ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/ofu/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/ofu/OpenFOAM/ofu-1.7.x no no $WM_THIRD_PARTY_DIR /home/ofu/OpenFOAM/ThirdParty-1.7.x yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/ofu/OpenFOAM/OpenFOAM-1.6-ext yes yes yes $FOAM_APPBIN ...ext/applications/bin/linux64GccDPOpt no yes $FOAM_SITE_APPBIN ...OAM/site/1.6-ext/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...7.x/applications/bin/linux64GccDPOpt no no $WM_DIR .../ofu/OpenFOAM/OpenFOAM-1.6-ext/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...OpenFOAM-1.6-ext/lib/linux64GccDPOpt no yes $FOAM_SITE_LIBBIN ...OAM/site/1.6-ext/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...enFOAM/ofu-1.7.x/lib/linux64GccDPOpt no no $MPI_ARCH_PATH --------- env variable not set --------- yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.3 User version : 4.3.2 Minimum required: 4.3.1 gcc 4.3.2 WARNING: Conflicting installations: OpenFOAM settings : /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.3.12 /usr/bin/gzip tar 1.20 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/ofu/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 2 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. done. Some variables have still the path of the OpenFoam-1.7.x installation and some were updated and have now the right path of the OpenFOAM-1.6-ext installation. E.g. the WM_THIRD_PARTY_DIR variable has the wrong value and therefore I can't execute ./Allwmake correctly. Does anyone know, what I did wrong and how to correct it? Thanks Jennifer |
|
January 5, 2011, 08:43 |
|
#2 |
Member
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17 |
You have to check your .bashrc file: is there the line
. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc After this close the console and open a new one, it should work! |
|
January 5, 2011, 08:51 |
|
#3 |
New Member
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 17 |
Hello Giovanni,
Yes, the line . /home/ofu/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrcis in the .bashrc file and when I open a new console and run foamInstallationTest I get the output I described. And its curios that some variables are right and other wrong. Therefore the problem must be somewhere else, but where? |
|
January 5, 2011, 09:03 |
|
#4 |
Member
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17 |
Is the line
. $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc commented or absent in your .bashrc file? |
|
January 5, 2011, 09:08 |
|
#5 |
New Member
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 17 |
These are the entries in the .bashrc file which correspond to OpenFoam. All entries are commented out except the entry for OpenFoam-1.6-ext.
#*********** OpenFOAM ************************************ #*** Version 1.5 #. $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc #*** Version 1.6 #. $HOMEu/OpenFOAM/OpenFOAM-1.6/etc/bashrc #*** Version 1.6-ext . $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc #*** Version 1.7.x #. $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc |
|
January 5, 2011, 09:51 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Jennifer, I suggest that you change the lines you posted from "~/.bashrc", to something like this: Code:
#*********** OpenFOAM ************************************ #*** Version 1.5 alias of15='. $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc' #*** Version 1.6 alias of16='. $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc' #*** Version 1.6-ext alias of16ext='. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc' #*** Version 1.7.x alias of17x='. $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc' Code:
export | grep -i "foam" When all is fixed and working, then whenever you start a new console or terminal, you can choose which OpenFOAM version you want, by running of17x or of16ext and so on. Keep in mind that you can only use each alias command in a new console/terminal, otherwise you will get the crazy environment like the one you are getting right now! Best regards, Bruno
__________________
|
|
February 11, 2011, 16:57 |
|
#7 | |
Member
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16 |
Quote:
Dear Sir, can You kindly tell me where I can get Openfoam 1.6-ext and the other required files? Moreover, can You kindly tell me (briefly) How can i successfully install the package on my Ubuntu 10.04 LTS platform? Thank You in advance. Claudio Comis |
||
February 11, 2011, 19:00 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Claudio,
You didn't need to ask this more than in one thread! If you did feel that need, then it's very likely you're not trying hard enough to look for the answer OK, the easy peasy installation instructions: OpenFOAM-dev-1.5 or OpenFOAM-1.6-ext under Ubuntu Lucid 10.04 LTS The BIY instructions: http://www.cfd-online.com/Forums/ope...e-1-6-ext.html - only read the first post. Best regards, Bruno
__________________
|
|
February 12, 2011, 06:39 |
|
#9 | |
Member
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16 |
Quote:
Dear Bruno, I must confess You that I have already try with the instructions given at : OpenFOAM-dev-1.5 or OpenFOAM-1.6-ext under Ubuntu Lucid 10.04 LTS ; however this package does not contain tutorials and other solvers I need. Moreover, I downloaded the package from SourceForge server. It semmes to be complete. I compiled it but 2 errors occurs at the end of the compilation ( It takes me 2 hours). The messages regard some missing package (lincompressibleRasmodel and so on). Best, Claudio |
||
February 12, 2011, 09:26 |
|
#10 |
Senior Member
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17 |
What are the tutorials? What are the solvers? What are the error messages?
__________________
David A. Boger |
|
February 14, 2011, 14:36 |
|
#11 |
Member
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16 |
Dear All,
I installed version 1.6 ext, and the enclosed log file is the result of the foamInstallationTest. Can You kindly help me please? I followed step-by-step the instructions contained in the README file. Executing /opt/OpenFOAM/OpenFOAM-1.6-ext/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: claudio-laptop OS: Linux version 2.6.32-29-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /opt/OpenFOAM yes yes $WM_PROJECT_USER_DIR /root/OpenFOAM/root-1.6-ext no no $WM_THIRD_PARTY_DIR ...OpenFOAM/OpenFOAM-1.6-ext/ThirdParty yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /opt/OpenFOAM/OpenFOAM-1.6-ext yes yes yes $FOAM_APPBIN ...ext/applications/bin/linux64GccDPOpt yes yes yes $FOAM_SITE_APPBIN ...OAM/site/1.6-ext/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...ext/applications/bin/linux64GccDPOpt no no $WM_DIR /opt/OpenFOAM/OpenFOAM-1.6-ext/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...OpenFOAM-1.6-ext/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...OAM/site/1.6-ext/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...OAM/root-1.6-ext/lib/linux64GccDPOpt no no $MPI_ARCH_PATH --------- env variable not set --------- yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.3 User version : 4.4.3 Minimum required: 4.3.1 gcc 4.4.3 WARNING: Conflicting installations: OpenFOAM settings : /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.3.12 /bin/gzip tar 1.22 /bin/tar icoFoam ...nFOAM-1.6-ext/applications/bin/linux64GccDPOpt/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 1 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. done. Thank You in advance. Claudio P.S.: I use the UBUNTU 10.04 LTS version, updated. |
|
February 14, 2011, 18:50 |
|
#12 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Claudio,
Quote:
For us to get a better understanding of what went wrong with your build process, please run Allwmake again like this: Code:
./Allwmake > make.log 2>&1 tar -czf make.log.tar.gz make.log Best regards, Bruno
__________________
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6 installation in Debian 5.06 lenny IA64 | icingfish | OpenFOAM Installation | 8 | October 8, 2010 03:42 |
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 7 | January 19, 2010 16:39 |
OpenFOAM 1.6 installation in Ubuntu 9.1 | jsm | OpenFOAM Installation | 4 | January 3, 2010 23:53 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |