|
[Sponsors] |
June 29, 2009, 06:49 |
Problems compiling OF solvers
|
#1 |
Senior Member
Anonymous
Join Date: Mar 2009
Posts: 110
Rep Power: 17 |
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? |
|
June 29, 2009, 08:21 |
|
#2 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27 |
Hi
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 setup.sh accordingly to be able to use the system compiler? if all other fails add this to your .bashrc. LD_LIBRARY_PATH=/home/adriano/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt:$LD_LIBRARY_PATH export LD_LIBRARY_PATH If this doesn't work I'm out of ideas Regards |
|
June 29, 2009, 08:58 |
|
#3 |
Senior Member
Anonymous
Join Date: Mar 2009
Posts: 110
Rep Power: 17 |
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! :-) |
|
|
|
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 07: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 08:36 |
Problems on Compiling UDF in FLUENT | Strawberi-KeatKeat | FLUENT | 1 | October 4, 2006 01:50 |