OF 1.7.1 installation problems
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?! |
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 |
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 :confused::confused::confused: |
Hi Manuel,
Quote:
OK, lets go through this step by step:
Bruno |
Thank's a lot for your help.
I started ./Allwmake from the wrong directory so that was the problem. Now it works. thx manu |
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 |
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. |
thx for your patience. I've solved all problems OF is now running :) Now the real problems can start.
thx manu |
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 |
conflicting installations
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 |
Hi Nicolas,
Quote:
Either way, lets move on to the next questions: Quote:
Code:
./Allwmake > make.log 2>&1 Quote:
Best regards, Bruno |
1 Attachment(s)
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 |
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 |
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 |
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 |
Thanks a lot, its working! I only have to learn how to use it.
|
1 Attachment(s)
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. |
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 |
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. |
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 |
Hi Bruno,
thank's for your help again. I managed the installation by now. I installed QT4 on the system and everything works fine now! :) Maike. |
All times are GMT -4. The time now is 17:52. |