|
[Sponsors] |
October 10, 2010, 06:37 |
openfoam 1.7.1 compilation
|
#1 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Dear Foamer
In compiling OF 1.7.1, I get the following error: cannot find -lfiniteVolume I had already installed OF 1.6.X in my PC and I don't thing I lack gcc, which other packages you think I lack that results in this problem? I use ubuntu 8.04 Thanks Ehsan |
|
October 10, 2010, 06:55 |
|
#2 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Hi Ehsan,
As I understand OpenFOAM-1.7 needs gcc-4.3.x or later to compile while ubuntu 8.04 comes with gcc-4.2. My advice is to upgrade your distro to 10.04 which is a Long Term Support version. If you can't upgrade talk to your admin, he'll have to install gcc-4.3 or later. You could also try to compile the gcc version that comes with openfoam-1.6 and then use that gcc to compile 1.7. There is a good thread that you might want to check out http://www.cfd-online.com/Forums/ope...er-ubuntu.html The packages I needed to install on ubuntu 10.04 where Code:
binutils-dev flex bison git-core build-essential python-dev libreadline5-dev wget zlib1g-dev cmake libpng12-dev libxt-dev libxi-dev libxrender-dev libxrandr-dev libxcursor-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev libglib2.0-dev freeglut3-dev libqt4-dev qt4-dev-tools Nicolas |
|
October 10, 2010, 09:28 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
To complement Nicolas answer: Automated scripts for building gcc 4.4.x and 4.5.x for using with OpenFOAM 1.7 series Best regards, Bruno
__________________
|
|
December 5, 2010, 19:52 |
OpenFoam 1.7.1 compilation
|
#4 |
New Member
Join Date: Dec 2010
Posts: 4
Rep Power: 16 |
I am a newbie to OpenFOAM....I am trying the source pack installation of Openfoam 1.7.1. I was able to compile Openfoam without any error but when I used the utility to test the installation (i.e. foamInstallationTest), it gave me following output:
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: ubuntu OS: Linux version 2.6.32-26-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/abhishek/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/abhishek/OpenFOAM/abhishek-1.7.1 no no $WM_THIRD_PARTY_DIR /home/abhishek/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/abhishek/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 no no $WM_DIR ...hishek/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 ...M/abhishek-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.3 /usr/bin/gcc gzip 1.3.12 /bin/gzip tar 1.22 /bin/tar icoFoam 1.7.1 ...penFOAM-1.7.1/applications/bin/linux64GccDPOpt/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. done. Does this output indicates a successful compilation or something is not correct? If anybody knows about this stuff, please help me out. I appreciate your help in advance. Thanks Abhi |
|
December 5, 2010, 20:13 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Abhi and welcome to the forum!
Quote:
Best regards, Bruno
__________________
|
||
December 6, 2010, 21:44 |
|
#6 |
New Member
Join Date: Dec 2010
Posts: 4
Rep Power: 16 |
Hey Bruno,
Thanks for the quick reply...!! OpenFoam test-cases seem to be working fine so far... Abhishek |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam 1.7.1 in Ubuntu 10.04 won't start working | Leech | OpenFOAM Installation | 8 | August 10, 2014 21:42 |
Compatibility OpenFOAM 1.6 and 1.7.1 | Ale_galleria | OpenFOAM | 2 | September 20, 2010 10:14 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |