|
[Sponsors] |
August 22, 2009, 05:59 |
The install test problem of OpenFOAM1.6
|
#1 |
New Member
M. Li
Join Date: Apr 2009
Posts: 13
Rep Power: 17 |
Hello, everybody
I'm a complete beginner of OF and Linux. I tried my best to install OpenFOAM 1.6 on ubuntu 9.04 according to the readme. However, I excute the command foamInstallationTest in the /bin after the installation, I get the messages as follows: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: ThinkPad-X61 OS: Linux version 2.6.28-15-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/limin/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/limin/OpenFOAM/limin-1.6.x yes no $WM_THIRD_PARTY_DIR /home/limin/OpenFOAM/ThirdParty-1.6.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/limin/OpenFOAM/OpenFOAM-1.6.x yes yes yes $FOAM_APPBIN ...6.x/applications/bin/linux64GccDPOpt yes yes yes $FOAM_SITE_APPBIN ...nFOAM/site/1.6.x/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...6.x/applications/bin/linux64GccDPOpt no no $WM_DIR .../limin/OpenFOAM/OpenFOAM-1.6.x/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 ...M/OpenFOAM-1.6.x/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...nFOAM/site/1.6.x/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...FOAM/limin-1.6.x/lib/linux64GccDPOpt no no $MPI_ARCH_PATH ...nmpi-1.3.3/platforms/linux64GccDPOpt yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.3.3 WARNING: Conflicting installations: OpenFOAM settings : /home/limin/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.3.12 /bin/gzip tar 1.20 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/limin/OpenFOAM/OpenFOAM-1.6.x/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. How can I resolve the 2 critical errors? Thank you! |
|
August 24, 2009, 04:52 |
|
#2 |
New Member
Join Date: Aug 2009
Posts: 9
Rep Power: 17 |
Hi cnlimin,
check your depencies, especially gcc. Check, if the needed software is installed or not AND check the versions. If needed, update your software. Do it with your favourit graphical package manager, if you don't want to use shell-software. Greedings |
|
August 24, 2009, 06:22 |
|
#3 |
New Member
M. Li
Join Date: Apr 2009
Posts: 13
Rep Power: 17 |
Dear az_monger,
Thank you very much for your advices. I upgraded the softrwares including the gcc, python, qmake, camke and so on. The messages seem to tell me gcc have been installed in the wrong place. Any way, thank you again. Best. M. Li |
|
August 27, 2009, 18:13 |
solved?
|
#4 |
New Member
Alex
Join Date: Aug 2009
Posts: 6
Rep Power: 17 |
Hi. I´ve got the same problem.
How did you finally solved the problem? My files are all up to date . Alex |
|
August 28, 2009, 01:05 |
|
#5 | |
New Member
M. Li
Join Date: Apr 2009
Posts: 13
Rep Power: 17 |
Quote:
I have installed OF 1.6 according to the following steps: 1)Download and move the files into the $HOME/OpenFOAM directory 2)extract ALL FOUR downloaded files within $HOME/OpenFOAM directory by: tar -xzf OpenFOAM-1.6.General.gtgz tar -xzf OpenFOAM-1.6.linux64GccDPOpt.gtgz tar -xzf ThirdParty-1.6.General.gtgz tar -xzf ThirdParty-1.6.linux64Gcc.gtgz 3)Then you can execute the foamSystemCheck script in the bin/ directory to check your system: cd $HOME/OpenFOAM/OpenFOAM-1.6/bin/ ./foamSystemCheck 4)Environment variable setting (details see Section 3 of official Readme). for bash users: sudo gedit $HOME/.bashrc then add following line to the .bashrc file (there is a space between the dot and $) . $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc after saving and returning termial, execute following command: . $HOME/.bashrc 5) If everything is OK, you have successfully installed OF except paraView and you can test the setup: $HOME/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest 6) If you want to post-processe with paraView, you need to compile it. before compiling, please confirm you have installed Qt and cmake 2.6. For ubuntu 9.04 users, executing command "sudo apt-get install libq4-dev" in terminal can finish the qt setup. However, cmake 2.6 need to download. after installation of qt and cmake 2.6, execute following command in the ThirdParty-1.6 directory of OF to compile paraview: sh makeParaView All above are my installation processes, hoping they can hellp you. Good luck! M. Li |
||
September 2, 2009, 22:48 |
did you build from source?
|
#6 | |
New Member
Join Date: Sep 2009
Posts: 6
Rep Power: 17 |
Quote:
I am experiencing the same problem. But I am installing by building the source. According to your above steps, I guess you installed the binary, instead of building the source. If it is the case, OpenFOAM-1.6.General.gtgz ThirdParty-1.6.General.gtgz would be unnecessary. Can you share me more details ? Thanks. Niudie Last edited by niudie; September 2, 2009 at 22:50. Reason: found an error |
||
September 3, 2009, 03:22 |
|
#7 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Niudie,
It may be that you need to tell OpenFOAM to use its own gcc and not the system's. You can do this by going to ~/OpenFOAM/OpenFOAM-<your_version>/etc and opening the settings.sh or settings.csh file (depending on your shell) and changing in lines 93-96 Code:
# Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ WM_COMPILER_INST = OpenFOAM | System # WM_COMPILER_INST=OpenFOAM Code:
# Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # WM_COMPILER_INST = OpenFOAM | System WM_COMPILER_INST=OpenFOAM Best regards, Gijs |
|
September 3, 2009, 04:27 |
|
#8 |
New Member
Join Date: Sep 2009
Posts: 6
Rep Power: 17 |
Gijs,
Thanks a lot. I did it that way and is suffering from the lib linking problems, as mentioned in another thread. Thanks. Niudie |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
Problem in Tutorial problem of fluent | Phanindra | FLUENT | 5 | April 17, 2007 10:57 |
problem in solving "wave generation" problem | san | FLUENT | 2 | April 4, 2006 00:37 |
setup vof test problem | Fang Jin | FLUENT | 1 | June 14, 2005 09:27 |
Install problem of X-windows for Tascflow | Alex Deng | CFX | 2 | November 1, 2001 12:33 |