CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Problems compiling OF solvers

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

LinkBack Thread Tools Display Modes
Old   June 29, 2009, 06:49
Default Problems compiling OF solvers
Senior Member
Join Date: Mar 2009
Posts: 110
Rep Power: 10
madad2005 is on a distinguished road
Sponsored Links
Dear All,

I've been attempting to compile v1.5 from source on suse 11.1 using the system compiler, but I have been having a strange issue. I managed to compile the /src directory fine with no errors. However, I'm now trying to compile the applications/solvers directory and every one gives me the same error (see below). It claims it can't find any of the shared libraries, although I am sure they are being linked in (and they do exist in /home/adriano/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt )

Any ideas?
madad2005 is offline   Reply With Quote
Sponsored Links

Old   June 29, 2009, 08:21
Senior Member
linnemann's Avatar
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 481
Rep Power: 17
linnemann will become famous soon enough

try gcc -print-search-dirs

If the path you mentioned isn't in that list it cannot find the libraries.

you have remembered to change the bashrc and accordingly to be able to use the system compiler?

if all other fails add this to your .bashrc.


If this doesn't work I'm out of ideas

linnemann is offline   Reply With Quote

Old   June 29, 2009, 08:58
Senior Member
Join Date: Mar 2009
Posts: 110
Rep Power: 10
madad2005 is on a distinguished road
linneman, that has solved the problem. I didn't realise there were special settings when using the system compiler, but adding it to LD_LIBRARY_PATH has worked a treat.

Thank you for your help! :-)
madad2005 is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in compiling solvers when using OpenFOAM13_11092006 jin_xu OpenFOAM Installation 6 July 2, 2010 12:34
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
Problems in Compiling OpenFOAM in IRIX lakeat OpenFOAM Installation 0 June 7, 2007 21:44
Problems compiling UDFs under SuSE 10.2 George FLUENT 1 February 21, 2007 09:36
Problems on Compiling UDF in FLUENT Strawberi-KeatKeat FLUENT 1 October 4, 2006 01:50

Sponsored Links

All times are GMT -4. The time now is 11:28.