On 05/20/2014 07:51 PM, Bruno Turcksin wrote:
> Hi all,
>
> I'm trying to install deal.II with the intel compiler and MKL. I can compile
> deal.II without any problem but when I try to compile a tutorial step, I get
> this kind of error during the linking:
>
> /g/software/intelXE/composer_xe_2011_sp1.11.339/mkl/lib/intel64/libmkl_gf_lp64.so:
> undefined reference to `mkl_lapack_zla_gbrcond_x'
> /g/software/intelXE/composer_xe_2011_sp1.11.339/mkl/lib/intel64/libmkl_gf_lp64.so:
> undefined reference to `mkl_lapack_cgehrd'
> /g/software/intelXE/composer_xe_2011_sp1.11.339/mkl/lib/intel64/libmkl_gf_lp64.so:
> undefined reference to `mkl_gmp___gmpz_divexact_ui'
> /g/software/intelXE/composer_xe_2011_sp1.11.339/mkl/lib/intel64/libmkl_gf_lp64.so:
> undefined reference to `mkl_lapack_dgbtrs'
> /g/software/intelXE/composer_xe_2011_sp1.11.339/mkl/lib/intel64/libmkl_gf_lp64.so:
> undefined reference to `mkl_spblas_lp64_mkl_sdiamm'
> /g/software/intelXE/composer_xe_2011_sp1.11.339/mkl/lib/intel64/libmkl_gf_lp64.so:
> undefined reference to `mkl_lapack_dgejsv'
> /g/software/intelXE/composer_xe_2011_sp1.11.339/mkl/lib/intel64/libmkl_gf_lp64.so:
> undefined reference to `mkl_blas_sgbmv'
>
> MKL is in my path. I don't need libmkl_gf_lp64 since it is the gfortran
> interface for Lapack. I tried to take the library out of Make.global_options
> but I must do something wrong because it does not compile (I get the same
> error).
The tutorials no longer use Make.global_options but instead inherit the
correct compiler/linker flags from cmake.
> Reading the user manual of the cluster, it seems that to have
> libmkl_gf_lp64 to work I need to link with the static library
> mkl_lapack95_lp64 (that's not done by deal.II right now) but since I don't
> need fortran, I just want to get ride of this library. Any idea how I can do
> that ? I have attached my detailed.log file in case it helps.
Do you know how this library got into the linker line to begin with? Do any of
your dependencies use it? E.g., if you do
ldd libepetra.so
does it link mkl_gf_lp64? Also, which library is mkl_blas_sgbmv in?
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@math.tamu.edu
www:
http://www.math.tamu.edu/~bangerth/