I just downloaded the most rec
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?
Well, it looks like you are li
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.
Apart from the mixing of 32 an
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.
|All times are GMT -4. The time now is 23:49.|