I use version 2.1.1
Oh thank you.
I will use the Findlapack from the newest builds.
This also solves my second email.
Regards,
Mateusz Lacki
Dear Mateusz,Which version of ALPS are you using? The FindLapack has been substantially improved, but it's not yet in an official release. (available in nightly builds)In case you are using the 2.1.1 official release I redirect you to your previous post:Regards,Michele--ETH ZurichMichele DolfiInstitute for Theoretical PhysicsHIT G 32.4Wolfgang-Pauli-Str. 278093 ZurichSwitzerland+41 44 633 78 56 phone+41 44 633 11 15 fax
On Jan 25, 2013, at 3:16 PM, Mateusz Łącki <mateusz.lacki@gmail.com> wrote:Dear All
I have found the following code in FindLapack.cmake trying to do installation of new alps:
IF($ENV{MKL} MATCHES "mkl")
MESSAGE(STATUS "Using intel/mkl library: $ENV{MKL}")
#look for the path where the mkl is installed
43: STRING(REGEX MATCHALL "[-][L]([^ ;])+" MKL_PATH_WITH_PREFIX "$ENV{MKL}")
STRING(REGEX REPLACE "[-][L]" "" MKL_PATHS ${MKL_PATH_WITH_PREFIX})
ENDIF($ENV{MKL} MATCHES "mkl")
If I assume correctly this code assumes that there is an environment variable dalled MKL which contains something like
"-L/path/to/mkl"
on my platform it is set by default to
"/path/to/mkl"
If I understand it correctly at the line 43, the $MKL gets stripped of "-L" part and the ${MKL_PATH_WITH_PREFIX} then
will contain just "/path/to/mkl".
I think that perhaps some sort of conditional clause could be added so that
both
$MKL = /path/to/mkl
and
$MKL = -L/path/to/mkl
worked.
Regards,
Mateusz Lacki