CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

error while installing

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2010, 15:02
Default error while installing
  #1
New Member
 
Aditya
Join Date: Aug 2010
Posts: 6
Rep Power: 15
akonduri is on a distinguished road
Hi,

I get the following error while installation of OpenFOAM 1.7. The OS is RedHat.


make[2]: *** [/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/IFCLookUpTableGen] Error 1
make[2]: Leaving directory `/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/applications/utilities/thermophysical/IFCLookUpTableGen'
make[1]: *** [IFCLookUpTableGen] Error 2
make[2]: Entering directory `/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/applications/utilities/thermophysical/mixtureAdiabaticFlameT'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/mixtureAdiabaticFlameT.o -L/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt \
-lspecie -lOpenFOAM -liberty -ldl -lm -o /home/akonduri/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT
/usr/bin/ld: cannot find -lOpenFOAM
collect2: ld returned 1 exit status
make[2]: *** [/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT] Error 1
make[2]: Leaving directory `/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/applications/utilities/thermophysical/mixtureAdiabaticFlameT'
make[1]: *** [mixtureAdiabaticFlameT] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/akonduri/OpenFOAM/OpenFOAM-1.7.0/applications/utilities/thermophysical'
make: *** [thermophysical] Error 2
make: Target `application' not remade because of errors.
akonduri is offline   Reply With Quote

Old   August 27, 2010, 15:20
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Aditya,

Knowing which version of RedHat would also help...
Also, what is the version of gcc you are using? Run this:
Code:
gcc -v
If it's a version lower than 4.3.1, then that's the problem: you will need to get a newer gcc version.

As for the error:
Quote:
/usr/bin/ld: cannot find -lOpenFOAM
indicates that libOpenFOAM wasn't even built, so the problem is closer to the beggining of the run. Run Allwmake like this:
Code:
./Alwmake > make.log 2>&1
When it's done, pack the make.log file and post it here.

Additionally, AFAIK, there is a package for CentOS named centfoam that might help you install OpenFOAM in RedHat: CentFOAM - OpenFOAM for CentOS.x86_64

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My experience Installing Elmer (Open Source Multi physics programme) on Linux Ahmed Main CFD Forum 3 August 10, 2010 13:42
why i get this error during installing Linux Fedora? gholamghar Main CFD Forum 1 July 23, 2010 03:14
uninstalling Ubuntu pack and installing source pack vetnav OpenFOAM Installation 2 July 13, 2010 19:11
Installing Exceed 2006 de-nio Main CFD Forum 0 April 14, 2010 08:48
Problems installing CFX on Sun Unix Platform Haley CFX 2 November 9, 2001 09:52


All times are GMT -4. The time now is 12:36.