No subject

SLIM H.A. h.a.slim at durham.ac.uk
Mon Mar 26 09:57:59 CDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_log_linux-gnu-intel
Type: application/octet-stream
Size: 53428 bytes
Desc: make_log_linux-gnu-intel
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070326/66c5794b/attachment.obj>


More information about the petsc-users mailing list