invalid ELF header
Hi, All,
I've installed OF2.0 & 1.6-ext both on my machine. The 2.0 works well but when I switched to 1.6ext and tried to run the cavity case with simpleFoam, it reported: simpleFoam: error while loading shared libraries: ......../OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libfiniteVolume.so: invalid ELF header I've set the envoriment variables correctly then What's the problem? Can anyone help? :) |
Greetings zcjwyl,
Mmm... I think you got that error because you didn't use a clean shell environment for building each version/variant of OpenFOAM. And since I don't feel like summarizing about what I mean by "shell environment", there is a blog post I write some time ago: Advanced tips for working with the OpenFOAM shell environment :) As for doing a clean re-build, running the following commands should do the trick: Code:
wcleanAll Bruno |
hi, 3Q, it works. :o
|
All times are GMT -4. The time now is 13:39. |