compiling error on linux 64 bit with intel fortran

Discussion about building and installing Elmer
Post Reply
cliguo
Posts: 1
Joined: 09 Apr 2010, 00:19

compiling error on linux 64 bit with intel fortran

Post by cliguo »

During compile folder fem
libarpack.a(dnaupd.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libarpack.a: could not read symbols: Bad value

Does anybody know the possible reasons and how to fix them?

Many thanks,
hazelsct
Posts: 153
Joined: 05 Oct 2009, 17:02
Location: Boston, MA, USA
Contact:

Re: compiling error on linux 64 bit with intel fortran

Post by hazelsct »

Sounds like you need to recompile the ARPACK library using -fPIC, as the objects in your .a file won't work in a shared library.
Post Reply