|
[Sponsors] |
September 23, 2010, 10:56 |
Installation on Fedora 12 64-bit
|
#1 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
I am trying to install OpenFOAM 1.7.1 on my Fedora 12 64-bit system. I have not been able to install it successfully. I followed the instructions on the OpenFOAM website. The installation runs but has many errors. Here is the last line in the terminal after trying to install:
Code:
/usr/bin/ld: cannot find -lOpenFOAM collect2: ld returned 1 exit status make[2]: *** [/home/tony/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT] Error 1 make[2]: Leaving directory `/home/tony/OpenFOAM/OpenFOAM-1.7.1/applications/utilities/thermophysical/mixtureAdiabaticFlameT' make[1]: *** [mixtureAdiabaticFlameT] Error 2 make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/tony/OpenFOAM/OpenFOAM-1.7.1/applications/utilities/thermophysical' make: *** [thermophysical] Error 2 make: Target `application' not remade because of errors. Code:
Executing ./foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: localhost.localdomain OS: Linux version 2.6.31.5-127.fc12.x86_64 ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/tony/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/tony/OpenFOAM/tony-1.7.1 no no $WM_THIRD_PARTY_DIR /home/tony/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/tony/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 /home/tony/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 ...nFOAM/tony-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.4 /usr/bin/gcc gzip 1.3.12 /usr/bin/gzip tar 1.22 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/tony/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. |
|
September 25, 2010, 10:24 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Tony,
Ah, Fedora... You better try using OpenFOAM 1.7.x (link). If I'm not mistaken, there were some changes after the release of 1.7.1 that enable the building of OpenFOAM in Fedora to be a lot smoother (link to relevant bug report)... Although it was intended for Fedora 13, but you might have updated 12 so much, that it might look more like 13 right now Additionally, next time you run Allwmake, use: Code:
./Allwmake > make.log 2>&1 edit: Did you install the packages mentioned on this post: http://www.cfd-online.com/Forums/ope...tml#post254189 ? On that post you'll find some pearls of wisdom, but the instructions for changing the rules file is no longer needed with OpenFOAM 1.7.1 and 1.7.x. Best regards, Bruno
__________________
Last edited by wyldckat; September 25, 2010 at 10:28. Reason: Added link to an old post of mine... |
|
September 26, 2010, 02:33 |
|
#3 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
Hi Bruno,
Thanks for your reply. I think I was having a problem because I had tried to install it before. I erased the files but was still having the problem. What I did was I ran the $HOME/OpenFOAM/OpenFOAM-1.7.1/wmake/wcleanAll script and was able to install it afterwards without a problem. Thanks, Tony |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Qt installation in Fedora for OpenFOAM......Required Urgently...... | devesh.baghel | OpenFOAM | 1 | November 17, 2009 10:08 |
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit | nanes | ParaView | 2 | September 11, 2009 10:12 |
AMD 64 bit installation | maka | OpenFOAM Installation | 7 | January 11, 2009 11:42 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
problem in installation of Fedora code | peter | Main CFD Forum | 1 | August 22, 2006 10:03 |