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


2013/1/25 Michele Dolfi <dolfim@phys.ethz.ch>
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:
https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2012/001919.html


Regards,
Michele

--
ETH Zurich
Michele Dolfi
Institute for Theoretical Physics
HIT G 32.4
Wolfgang-Pauli-Str. 27
8093 Zurich
Switzerland







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