|
[Sponsors] |
April 18, 2006, 17:49 |
I just downloaded the most rec
|
#1 |
New Member
Ho Hsing
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
I just downloaded the most recent OpenFoam release (v1.3). It works when I use the inherent solvers.
However, when I build my own solver, it complaining can not find library "libfiniteVolume.so" in ~/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt, and it indeed does not exit there. I find the libfiniteVolume.so file appears in the directory of ~/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt. However, if I direct the linking path to ~/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt, it prints: "skipping incompatible ~/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4SPOpt/libfiniteVolume.so when searching for -lfiniteVolume; cannot find -lfiniteVolume" Is it because this version of release is not complete? |
|
April 19, 2006, 01:45 |
Well, it looks like you are li
|
#2 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
Well, it looks like you are linking a 32-bit application with a 64-bit library.
You need to compile your application for AMD64 as well if you want to link with the libraries under ~/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4SPOpt. Check your WM_64 environment variable... It needs to be set for enabling the right 64-bit compilation and linking options. Martin |
|
April 19, 2006, 05:07 |
Apart from the mixing of 32 an
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Apart from the mixing of 32 and 64 libraries: is there a reason why you're mixing single precision (SP) and double precision (DP) libraries? Im quite sure this won't work.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
linking several faces | Christian F. | FLUENT | 1 | June 6, 2008 07:29 |
Linking two meshes | Geoffroy Chaussonnet | FLUENT | 3 | April 6, 2007 05:59 |
problem in mesh linking | joe | FLUENT | 2 | September 12, 2005 14:24 |
EARTH linking problem? | Jas | Phoenics | 0 | February 7, 2004 09:08 |
linking the script | Mavinakere | FLUENT | 0 | September 12, 2002 12:57 |