|
[Sponsors] |
October 4, 2010, 05:58 |
OF 1.7.1 installation problems
|
#1 |
New Member
Manuel Goller
Join Date: Oct 2010
Posts: 11
Rep Power: 15 |
Hy guys
I'm new in the world of OpenFoam and Linux and I have a Problem with my OF installation. I'm using Ubuntu 9.04 and I tryed the Source Pack Installation from OF hompage. The problem is, that I have done all the steps until changing the bashrc file. I changed the last line of the file: . $home/peter/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc Then I tried if it works with icoFoam -help in a new terminal window. But I got an error. Can anybody help me please?! |
|
October 4, 2010, 08:32 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Manuel and welcome to the forum!
So, did you run Allwmake? In other words, if you are installing from source, you'll need to build OpenFOAM. Without doing that, you will not be able to run icoFoam. Additionally, for Ubuntu, the usual packages necessary for building OpenFOAM can be found here: Building OpenFOAM1.7.0 from source post #4 and onward Best regards, Bruno
__________________
|
|
October 4, 2010, 08:54 |
|
#3 |
New Member
Manuel Goller
Join Date: Oct 2010
Posts: 11
Rep Power: 15 |
Ok thank's for your support. Now I've done Allwmake and got another error:
bash: /home/peter/OpenFoam/OpenFOAM-1.7.1/etc/bashrc: Permission denied |
|
October 4, 2010, 09:14 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Manuel,
Quote:
OK, lets go through this step by step:
Bruno
__________________
|
||
October 4, 2010, 09:48 |
|
#5 |
New Member
Manuel Goller
Join Date: Oct 2010
Posts: 11
Rep Power: 15 |
Thank's a lot for your help.
I started ./Allwmake from the wrong directory so that was the problem. Now it works. thx manu |
|
October 5, 2010, 05:35 |
|
#6 |
New Member
Manuel Goller
Join Date: Oct 2010
Posts: 11
Rep Power: 15 |
So new problem
I've done the whole SourcePack installation step by step. Now if I'm trying for example icoFoam he says: Code:
bash: icoFoam: command not found |
|
October 5, 2010, 05:41 |
|
#7 |
New Member
Manuel Goller
Join Date: Oct 2010
Posts: 11
Rep Power: 15 |
Additionaly here is my foamInstallationTest
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: simulant-linux OS: Linux version 2.6.28-13-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/peter/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/peter/OpenFOAM/peter-1.7.1 yes no $WM_THIRD_PARTY_DIR /home/peter/OpenFOAM/ThirdParty-1.7.1 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/peter/OpenFOAM/OpenFOAM-1.7.1 yes yes yes $FOAM_APPBIN ...7.1/applications/bin/linux64GccDPOpt no yes $FOAM_SITE_APPBIN ...nFOAM/site/1.7.1/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...7.1/applications/bin/linux64GccDPOpt no no $WM_DIR .../peter/OpenFOAM/OpenFOAM-1.7.1/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.7.1/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...nFOAM/site/1.7.1/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...FOAM/peter-1.7.1/lib/linux64GccDPOpt no no $MPI_ARCH_PATH ...1/platforms/linux64Gcc/openmpi-1.4.1 no yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- [: 514: -lt: unexpected operator gcc /usr/bin/gcc gzip 1.3.12 /bin/gzip tar 1.20 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/peter/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- 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. |
|
October 5, 2010, 07:47 |
|
#8 |
New Member
Manuel Goller
Join Date: Oct 2010
Posts: 11
Rep Power: 15 |
thx for your patience. I've solved all problems OF is now running Now the real problems can start.
thx manu |
|
October 5, 2010, 08:35 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Manuel,
Sorry about that, I didn't manage to answer you sooner But I'm glad you've got it working Good luck and happy foaming Best regards, Bruno
__________________
|
|
November 3, 2010, 04:49 |
conflicting installations
|
#10 |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 15 |
Hello
I am trying to make OpenFoam 1.7.1 working on a RHEL 5.3. I resolved gcc problems. run the ./Allwmake correctly but it stopped. If I run the installtion diagnosis I have almsot the same results than goma. It seems unable to find icoFoam which is right as in the path, it is empty. [...] Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.4.4 /usr/local/bin/gcc gzip 1.3.5 /usr/bin/gzip tar 1.15.1 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /nishome/nhl/OpenFOAM/OpenFOAM-1.7.1/applic ations/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- 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. Any help would be great, is that can be linked to the 1.6 that it is already installed? Thanks, Nicolas |
|
November 4, 2010, 18:14 |
|
#11 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Nicolas,
CentFOAM? Have you tried CentFOAM? It has a support thread here: http://www.cfd-online.com/Forums/ope...-released.html Either way, lets move on to the next questions: Quote:
Code:
./Allwmake > make.log 2>&1 tar -czf make.log.tar.gz make.log Mmmm... do you mean to try and use the ThirdParty-1.6 folder instead of ThirdParty-1.7.1? Best regards, Bruno
__________________
|
||
November 5, 2010, 04:17 |
|
#12 |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 15 |
Hello Bruno,
Thank for your help again. Sorry I was not aware of CentFOAM. I will have a look Please find in attachment the log file. My question with the 1.6 was because my error was conflicting installations. It was one of my first diagnosis. But maybe not appropriate ! I will keep the third party 1.7.1. Nicolas |
|
November 5, 2010, 10:09 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Nicolas,
Well this is odd... it's the same exact error that Sale got here: http://www.cfd-online.com/Forums/ope...tml#post282120 I hope you can install CentFOAM with success, because this error isn't completely unfamiliar, but I can't remember how to fix it As for using multiple versions of OpenFOAM, see this post: OpenFoam Installation in Redhat Enterprise linux 5 post #17 Best regards, Bruno
__________________
|
|
November 13, 2010, 09:08 |
|
#14 |
New Member
|
Hi,
I also have a problem. I am new user Debian GNome 2.23.3 When I am using sudo apt-get install openfoam171 I get: Need: libopenmpi1.3 but can't install it Need: libscotch-5.1 but can't install it Need: libstdc++6 (>= 4.4.0) ale 4.3.2-1.1 have to be install Do you know what I am doing wrong? Can you help me? Really sorry for my English, Looking forward from you. Regards, Tom |
|
November 13, 2010, 17:10 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Thomas and welcome to the forum!
Sadly the Debian version you are using is too old for the OpenFOAM deb packages that were made available by OpenCFD. You will either have to:
If you want more performance out of your OpenFOAM build, then consider building gcc 4.4.4/5 or 4.5.1: Automated scripts for building gcc 4.4.x and 4.5.x for using with OpenFOAM 1.7 series Best regards and good luck! Bruno
__________________
|
|
November 15, 2010, 06:29 |
|
#16 |
New Member
|
Thanks a lot, its working! I only have to learn how to use it.
|
|
December 2, 2010, 10:19 |
|
#17 |
New Member
Maike
Join Date: Dec 2010
Posts: 8
Rep Power: 15 |
Hi,
i'm completely new in OpenFOAM and just tried to install it. I've followed the instructions on http://www.openfoam.com/download/source.php. In the installation it only says: make: Target `application' not remade because of errors. you can find the whole log file of the compilation in attached. The foamInstallationTest gives me: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: localhost OS: Linux version 2.6.31.12-0.2-desktop ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/smaike/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/smaike/OpenFOAM/smaike-1.7.1 yes no $WM_THIRD_PARTY_DIR /home/smaike/OpenFOAM/ThirdParty-1.7.1 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/smaike/OpenFOAM/OpenFOAM-1.7.1 yes yes yes $FOAM_APPBIN ...7.1/applications/bin/linux64GccDPOpt yes yes yes $FOAM_SITE_APPBIN ...nFOAM/site/1.7.1/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...7.1/applications/bin/linux64GccDPOpt yes yes no $WM_DIR ...smaike/OpenFOAM/OpenFOAM-1.7.1/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.7.1/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...nFOAM/site/1.7.1/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...OAM/smaike-1.7.1/lib/linux64GccDPOpt no no $MPI_ARCH_PATH ...1/platforms/linux64Gcc/openmpi-1.4.1 yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.4.1 /usr/bin/gcc gzip 1.3.12 /usr/bin/gzip tar 1.21 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/smaike/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- 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. I saw this error in this post before but I couldn't follow what was the solution on that. I recognized the error when I tried to check the installation with the tutorial... it didn't find blockMesch and says in the log.blockMesh: home/smaike/OpenFOAM/OpenFOAM-1.7.1/bin/tools/RunFunctions: line 45: blockMesh: command not found I'm thankfull for every help! Thanks, Maike. |
|
December 4, 2010, 08:50 |
|
#18 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Maike and welcome to the forum!
OK, I believe that you are running OpenSUSE 11.2 (2.6.31.12-0.2-desktop seems familiar to me). The log you posted was very helpful and it indicates that your system is missing the library "libiberty.so". Since you are running OpenSUSE (or so I think), I suggest that you check Alberto's instructions for building OpenFOAM and ParaView in OpenSUSE: Installing OpenFOAM 1.7 on openSUSE 11.3 But I believe the most important item from that tutorial for you is this: Quote:
Best regards, Bruno
__________________
|
||
December 8, 2010, 06:00 |
|
#19 |
New Member
Maike
Join Date: Dec 2010
Posts: 8
Rep Power: 15 |
Hi Bruno,
Thanks for your help! By now I managed to install OpenFOAM and the PV3FoamReader but I'm still not able to install Paraview because I have no QT4 (I mean I thaught I installed it but Paraview is not able to find it.) echo $QT_QMAKE_EXECUTABLE gives nothing. So there is really nothing in it. I'm scared to try to install QT4 by hand because there is QT3 on my system and I know that the system needs parts of QT3... So I don't know what to do... (I already crashed my linux at home with installing QT4) Do you (or someone else) have an Idea? The error of the ParaView compilation is: CMake Error at CMakeLists.txt:96 (MESSAGE): Qt 4.5.0 or greater not found. Please check the QT_QMAKE_EXECUTABLE variable. Thanks for any help, Maike. |
|
December 11, 2010, 07:00 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Maike,
Mmm, that's odd, crashing Linux because you installed Qt4... As for collisions between Qt3 and Qt4, there shouldn't be any, since this has been going on since Qt4 has been released. I wrote in the previous post about Alberto's blog and there you can also find instructions for building ParaView. But if you don't want to "waste" more time in trying to build it, see this blog post of mine: Using the official pre-built ParaView 3.8.0 version with OpenFOAM... Best regards and good luck! Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF 1.7.0/CentOS/paraFoam installation problems | bhh | OpenFOAM Installation | 6 | July 14, 2010 05:45 |
OpenFOAM Installation Ubuntu 9.04 Problems | Sumontro | OpenFOAM Installation | 8 | July 21, 2009 21:40 |
Installation problems | indy | OpenFOAM Installation | 7 | April 3, 2009 09:40 |
installation problems on upgrade from win 3.26 to | mic | Siemens | 5 | June 20, 2007 09:40 |
Installation problems | shellbell1999 | OpenFOAM Installation | 9 | April 6, 2006 13:29 |