|
[Sponsors] |
January 27, 2012, 09:50 |
invalid ELF header
|
#1 |
New Member
Joyi Wang
Join Date: Apr 2010
Posts: 8
Rep Power: 16 |
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? |
|
January 28, 2012, 03:01 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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 export WM_NCOMPPROCS=4 ./Allwmake > make.log 2>&1 Bruno
__________________
|
|
January 28, 2012, 10:31 |
|
#3 |
New Member
Joyi Wang
Join Date: Apr 2010
Posts: 8
Rep Power: 16 |
hi, 3Q, it works.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
compilation problem with "fvPatch::lookupPatchField" | Ya_Squall2010 | OpenFOAM Programming & Development | 9 | November 15, 2021 22:01 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 18:00 |
OpenFOAM install on Ubuntu Natty 11.04 | bkubicek | OpenFOAM | 13 | May 26, 2011 05:48 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 14:37 |
Invalid ELF header Solution | rafal | OpenFOAM Installation | 0 | February 5, 2007 10:00 |