Dear Mateusz,
I ran into the same problem when trying to set up ALPS with MKL. Btw, looking at your cmake.dat you sent earlier MKL is not recognized.
Please try the following: set the environment variable MKL_HOME to the path where your mkl is located, for example
export MKL_HOME="/software/intel/mkl/10.0.011"
and when running cmake, set the following flags (the linker flags may depend on the version of the library you are using):
cmake ...other stuff here... -DQMC_BITS=64 -DBLAS_LIBRARY="" -DLAPACK_LINKER_FLAGS="-lmkl_sequential -lmkl_core -lmkl_intel_lp64"
Then "-- Found intel/mkl library" should appear in the output of the cmake command. Do this in an empty build directory or at least delete your CMakeCache.txt file beforehand.
Hope this helps.
Best, Hartmut
Am 21.11.2011 um 12:17 schrieb Mateusz Łącki:
Dear All I wish to report the following error that occured while trying to reconfigure the cmake scripts:
CMake Error at config/FindLapack.cmake:43 (STRING): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. Call Stack (most recent call first): CMakeLists.txt:315 (find_package)
this shows in ccmake after pressing "c". Therefore option to "generate" does not show.
and this:-- MPI compiler was /opt/openmpi-1.5-intel/bin/mpic++ -- Using intel/mkl library: /opt/intel/composerxe-2011.1.107/mkl CMake Error at config/FindLapack.cmake:43 (STRING): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. Call Stack (most recent call first): CMakeLists.txt:315 (find_package)
during make
Regards, Mateusz Lacki
-- Hartmut Hafermann
École Polytechnique Centre de Physique Theorique (CPHT) 91128 Palaiseau Cedex, France
Tel.: +33 1 69 33 42 34 Fax: +33 1 69 33 49 49