[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:



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

http://sources.redhat.com/bugzilla/show_bug.cgi?id=584

but apparently it was fixed in Feb 2005

http://sourceware.org/ml/binutils-cvs/2005-02/msg00011.html

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


On 3/26/07, SLIM H.A. <h.a.slim@xxxxxxxxxxxx> wrote:
Dear users

I want to build petsc with shared object libraries but get errors when
building libpetscmat.so and libpetscksp.so
I am using the intel compiler and intel's imkl for lapack/blas

Configuration is:
./config/configure.py
--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