Lisandro Dalcin dalcinl at
Mon Mar 26 10:16:52 CDT 2007

This seems to be a bug of 'binutils' in 64 bits machines.

but apparently it was fixed in Feb 2005

Can you upgrade your 'binutils' package and try what happens?

On 3/26/07, SLIM H.A. <h.a.slim at> wrote:
> Dear users
> I want to build petsc with shared object libraries but get errors when
> building and
> I am using the intel compiler and intel's imkl for lapack/blas
> Configuration is:
> ./config/
> --with-blas-lapack-dir=/usr/local/Cluster-Apps/intel/mkl/8.0/lib/em64t
> --with-vendor-compilers=intel --with-gnu-compilers=0 --with-shared
> The error is:
> ld:
> /usr/local/Cluster-Apps/intel/mkl/8.0/lib/em64t/libmkl_lapack.a(dgetrf_o
> mp.o): relocation R_X86_64_PC32 against
> `_mkl_lapack_dgetrf_omp_271__par_loop0' can not be used when making a
> shared object; recompile with -fPIC
> ld: final link failed: Bad value
> make[2]: [shared_linux] Error 1 (ignored)
> Details are in the attached male log file.
> Thanks for any help
> Henk

Lisandro Dalcín
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594

More information about the petsc-users mailing list