Hi, Harmut,
On Tue, Dec 21, 2010 at 5:31 AM, Hartmut Hafermann hartmut.hafermann@cpht.polytechnique.fr wrote:
I am having trouble to install alps-2.0.0rc4 with MKL support (I tried several things). What is the proper cmake command to compile with LAPACK and BLAS support from MKL 10.x ?
Well, LAPACK/BLAS setting in ALPS is rather complicated, but if you have
If you have Fortran compiler installed, and if you install MKL in the usual directory, and if you compile on x86_64 machine (64bit), -DBLA_VENDOR=Intel10_64lp will be the easiest setting. This setting comes from CMake upstream, so look at the $CMAKE_ROOT/lib/cmake-2.8/Modules/FindLAPACK.cmake for further information (and naming convention for BLA_VENDOR).
Note that this setting is executed at the end of LAPACK detection code from ALPS, you may have to remove MKL related environment variable.
Best regards,