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
Can you try to start from a clean directory, or at least remove the CMakeCache.txt file. The latter might have gotten corrupted.
Matthias
On 21 Nov 2011, at 12:17, Mateusz Łącki wrote:
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
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
Dear Hartmut, I have compiled the ALPS using M.T's suggestion to use gcc 4.4. Then i moved to next objective: compile it with intel's icc and mkl. I will try your suggestion. That is when the problems started.
btw: I also have a problem as my icc seems to try to parse gcc's include files (version 4.6.1) and fails.
btw2: Will binary edition of alps be available anytime soon in the version 2.0.2? Currently i believe only 2.0.0 is available.
Regards, Mateusz Lacki
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
Appendix: "by succesfully compiled by gcc 4.4" I mean in particular passing all the tests.
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
Dear Hartmut, I am curious about "LAPACK_LINKER_FLAGS" option. I did not find it in "ccmake ." there is only "LAPACK_LIBRARY" - where are these additional options defined?
Regards, Mateusz Lacki
2011/11/21, Hartmut Hafermann hartmut.hafermann@cpht.polytechnique.fr:
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
Dear All, I would like also to report several warning given during compilation by icc v12.1:
/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogrameval.h(85): warning #1125: function "alps::RecordableObservable<T, SIGN>::operator<<(const T &) [with T=int32_t={int}, SIGN=double]" is hidden by "alps::HistogramObservableEvaluator<T>::operator<< [with T=int32_t={int}]" -- virtual function override intended? HistogramObservableEvaluator<T>& operator<<(const HistogramObservable<T>& obs) { ^ detected during: instantiation of class "alps::HistogramObservableEvaluator<T> [with T=int32_t={int}]" at line 72 of "/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogram.h" instantiation of "alps::Observable *alps::HistogramObservable<T>::clone() const [with T=int32_t={int}]"
/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogrameval.h(115): warning #1125: function "alps::RecordableObservable<T, SIGN>::operator<<(const T &) [with T=int32_t={int}, SIGN=double]" is hidden by "alps::HistogramObservableEvaluator<T>::operator<< [with T=int32_t={int}]" -- virtual function override intended? void operator<<(const HistogramObservableData<T>& obs); ^ detected during: instantiation of class "alps::HistogramObservableEvaluator<T> [with T=int32_t={int}]" at line 72 of "/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogram.h" instantiation of "alps::Observable *alps::HistogramObservable<T>::clone() const [with T=int32_t={int}]"
/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogrameval.h(55): warning #654: overloaded virtual function "alps::Observable::save" is only partially overridden in class "alps::HistogramObservableEvaluator<int32_t={int}>" class HistogramObservableEvaluator : public HistogramObservable<T> ^ detected during: instantiation of class "alps::HistogramObservableEvaluator<T> [with T=int32_t={int}]" at line 72 of "/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogram.h" instantiation of "alps::Observable *alps::HistogramObservable<T>::clone() const [with T=int32_t={int}]"
/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogrameval.h(55): warning #654: overloaded virtual function "alps::Observable::load" is only partially overridden in class "alps::HistogramObservableEvaluator<int32_t={int}>" class HistogramObservableEvaluator : public HistogramObservable<T> ^ detected during: instantiation of class "alps::HistogramObservableEvaluator<T> [with T=int32_t={int}]" at line 72 of "/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogram.h" instantiation of "alps::Observable *alps::HistogramObservable<T>::clone() const [with T=int32_t={int}]"
Regards, Mateusz Lacki
This is a warning that can be ignored
Matthias
On Nov 22, 2011, at 3:08 PM, Mateusz Łącki wrote:
Dear All, I would like also to report several warning given during compilation by icc v12.1:
/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogrameval.h(85): warning #1125: function "alps::RecordableObservable<T, SIGN>::operator<<(const T &) [with T=int32_t={int}, SIGN=double]" is hidden by "alps::HistogramObservableEvaluator<T>::operator<< [with T=int32_t={int}]" -- virtual function override intended? HistogramObservableEvaluator<T>& operator<<(const HistogramObservable<T>& obs) { ^ detected during: instantiation of class "alps::HistogramObservableEvaluator<T> [with T=int32_t={int}]" at line 72 of "/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogram.h" instantiation of "alps::Observable *alps::HistogramObservable<T>::clone() const [with T=int32_t={int}]"
/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogrameval.h(115): warning #1125: function "alps::RecordableObservable<T, SIGN>::operator<<(const T &) [with T=int32_t={int}, SIGN=double]" is hidden by "alps::HistogramObservableEvaluator<T>::operator<< [with T=int32_t={int}]" -- virtual function override intended? void operator<<(const HistogramObservableData<T>& obs); ^ detected during: instantiation of class "alps::HistogramObservableEvaluator<T> [with T=int32_t={int}]" at line 72 of "/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogram.h" instantiation of "alps::Observable *alps::HistogramObservable<T>::clone() const [with T=int32_t={int}]"
/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogrameval.h(55): warning #654: overloaded virtual function "alps::Observable::save" is only partially overridden in class "alps::HistogramObservableEvaluator<int32_t={int}>" class HistogramObservableEvaluator : public HistogramObservable<T> ^ detected during: instantiation of class "alps::HistogramObservableEvaluator<T> [with T=int32_t={int}]" at line 72 of "/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogram.h" instantiation of "alps::Observable *alps::HistogramObservable<T>::clone() const [with T=int32_t={int}]"
/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogrameval.h(55): warning #654: overloaded virtual function "alps::Observable::load" is only partially overridden in class "alps::HistogramObservableEvaluator<int32_t={int}>" class HistogramObservableEvaluator : public HistogramObservable<T> ^ detected during: instantiation of class "alps::HistogramObservableEvaluator<T> [with T=int32_t={int}]" at line 72 of "/home/stefan/alps/alps-2.0.2-r5790-src-with-boost/alps-2.0.2-r5790-src-with-boost/alps/src/alps/alea/histogram.h" instantiation of "alps::Observable *alps::HistogramObservable<T>::clone() const [with T=int32_t={int}]"
Regards, Mateusz Lacki
comp-phys-alps-users@lists.phys.ethz.ch