Hi Huan,
in case you have not figured it out already, you just need to pass the
libraries to the --with-blas and --with-lapack flags as follows (In case you
have a multicore machine it is better to use the POSIX threaded version!)
--with-blas="mkl_intel_lp64 -Wl,--start-group -lmkl_intel_thread -lmkl_core
-Wl,--end-group -lguide -lpthread"
Hope this helps!
Cheers,
C.S.N
On Sun, Feb 21, 2010 at 7:55 PM, Huan Sun <[email protected]> wrote:
> Hi all,
>
> I was trying to install deal.ii on a machine which uses blas and lapack
> in the Intel MKL package. I am not familiar with this package and those
> link options. According to the tutorial to link a code against MKL will
> look like
>
>
> ifort foo.f -o foo -L/usr/global/intel/mkl/10.2.3.029/lib/em64t
> -Wl,-R/usr/global/intel/mkl/10.2.3.029/lib/em64t<http://10.2.3.029/lib/em64t%0A-Wl,-R/usr/global/intel/mkl/10.2.3.029/lib/em64t>-lmkl_lapack
> -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_sequential -lm
>
>
> I wonder how to put this into the deal.ii configuration option
> --with-lapack.
>
> Thanks,
>
> Huan
>
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii