Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.orghttp://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.org
________________________________ From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the minimum is 1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/ Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4- src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4- src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.org
*From:* Comp-phys-alps-users <comp-phys-alps-users-bounces@ lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com *Sent:* Thursday, July 19, 2018 9:21 *To:* comp-phys-alps-users@lists.comp-phys.org *Subject:* [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@ lists.phys.ethz.ch.
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the minimum is 1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com wrote: Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.org
From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log". See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/
cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/ alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_
libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;- lmkl;-lguide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/
cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_ 64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/ miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux- gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com wrote: Dear Santu,
You can follow this guide http://alps.comp-phys.org/
mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost
/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you
meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following
libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc
with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/
..
I got an error. I tried different ways too using conda install but it
did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size
of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log". See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote: Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the minimum is 1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com wrote: Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.org
From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3. 0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/
cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/ alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;
/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;
/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/ libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_ hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5. so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so; /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/ libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/ x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz. so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/
alps/build/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/
alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is
the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I
used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/
cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/ alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_
libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;- lmkl;-lguide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/
myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/ lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/ lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/
mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost
/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you
meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following
libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc
with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/
..
I got an error. I tried different ways too using conda install but it
did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum
size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote:
Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/ alps-2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so; /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so; /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/ libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_ hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5. so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so; /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/ libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/ x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz. so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/ alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0- src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cc
es/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
build/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is
the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I
used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_lib
raries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;- lguide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/mye
nv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/ libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/ x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/ myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/medi
awiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads
/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps -2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you
meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the
following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc
with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it
did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum
size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Dear Santu,
cd to your build fold and run `make test` to see what happens. I think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
________________________________ From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo <wistaria@phys.s.u-tokyo.ac.jpmailto:wistaria@phys.s.u-tokyo.ac.jp> wrote: I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com>のメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log". See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo <wistaria@phys.s.u-tokyo.ac.jpmailto:wistaria@phys.s.u-tokyo.ac.jp> wrote: Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com>のメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the minimum is 1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun <sun-rongyang@outlook.commailto:sun-rongyang@outlook.com> wrote: Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.orghttp://comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.orghttp://alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.chmailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.orgmailto:comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON -DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find pyalps.
Can you please tell me what should I do to run alps examples using python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com wrote:
Dear Santu,
cd to your build fold and run `make test` to see what happens. I think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
*From:* Comp-phys-alps-users <comp-phys-alps-users-bounces@ lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com *Sent:* Friday, July 20, 2018 10:55 *To:* Synge Todo *Cc:* comp-phys-alps-users@lists.phys.ethz.ch *Subject:* Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote:
Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/ usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/ lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux- gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/ x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/ usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/ lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux- gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/ x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm. so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so; /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/ lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/ lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux- gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/ x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm. so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-s rc-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cc
es/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread. so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux -gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread. so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux -gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/ x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/seri al/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/ lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/ usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux -gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/ x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/bu
ild/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/bu
ild/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is
the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I
used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_lib
raries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lg uide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/mye
nv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/li bhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64- linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/ lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/medi
awiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads
/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps -2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you
meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following
libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc
with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it
did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum
size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@ lists.phys.ethz.ch.
Executables should be found in /home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall/bin/ since you specified CMAKE_INSTALL_PREFIX as /home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall.
Synge
2018/07/20 15:40、S Baidya santubaidya2009@gmail.comのメール:
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON -DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find pyalps.
Can you please tell me what should I do to run alps examples using python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com wrote: Dear Santu,
cd to your build fold and run `make test` to see what happens. I think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote: I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log". See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote: Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the minimum is 1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com wrote: Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.org
From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Thanks but when i use alpspython
then import pyalps it shows error
import pyalps
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-boost/ALPSinstall/lib/pyalps/__init__.py", line 39, in <module> from .tools import * File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-boost/ALPSinstall/lib/pyalps/tools.py", line 38, in <module> import scipy.stats File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line 338, in <module> from .stats import * File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line 180, in <module> import scipy.special as special File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py", line 627, in <module> from ._ufuncs import * ImportError: No module named _ufuncs
Can you please tell me what mistake is there during installation?
Thanks, Santu
On 20 July 2018 at 16:39, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
Executables should be found in /home/cces/ALPS/alps-2.3.0- src-with-boost/alps/ALPSinstall/bin/ since you specified CMAKE_INSTALL_PREFIX as /home/cces/ALPS/alps-2.3.0- src-with-boost/alps/ALPSinstall.
Synge
2018/07/20 15:40、S Baidya santubaidya2009@gmail.comのメール:
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON
-DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps
It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find
pyalps.
Can you please tell me what should I do to run alps examples using
python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com wrote: Dear Santu,
cd to your build fold and run `make test` to see what happens. I think
you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin
directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other
things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/boost
-- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;
/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;
/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/ libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_ hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5. so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so; /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/ usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/ libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/ x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz. so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.
0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/
cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/ alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/ usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/ libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/
alps/build/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/
alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is
the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I
used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/
cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/ alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_
libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;- lmkl;-lguide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/
myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/ lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/ lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/
mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost
/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you
meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the
following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux
pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/
cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but
it did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum
size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@ lists.phys.ethz.ch.
Dear Santu,
It seems that your scipy installation is broken. Could you check if
python -c "import scipy.stats"
runs successfully?
Best, Synge
2018/07/20 16:45、S Baidya santubaidya2009@gmail.comのメール:
Thanks but when i use alpspython
then import pyalps it shows error
import pyalps
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-boost/ALPSinstall/lib/pyalps/__init__.py", line 39, in <module> from .tools import * File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-boost/ALPSinstall/lib/pyalps/tools.py", line 38, in <module> import scipy.stats File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line 338, in <module> from .stats import * File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line 180, in <module> import scipy.special as special File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py", line 627, in <module> from ._ufuncs import * ImportError: No module named _ufuncs
Can you please tell me what mistake is there during installation?
Thanks, Santu
On 20 July 2018 at 16:39, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote: Executables should be found in /home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall/bin/ since you specified CMAKE_INSTALL_PREFIX as /home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall.
Synge
2018/07/20 15:40、S Baidya santubaidya2009@gmail.comのメール:
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON -DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find pyalps.
Can you please tell me what should I do to run alps examples using python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com wrote: Dear Santu,
cd to your build fold and run `make test` to see what happens. I think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote: I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log". See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote: Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the minimum is 1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com wrote: Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.org
From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
If I run python -c "import scipy.stats" it shows
Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line 338, in <module> from .stats import * File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line 180, in <module> import scipy.special as special File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py", line 627, in <module> from ._ufuncs import * ImportError: No module named _ufuncs
On 20 July 2018 at 16:55, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
Dear Santu,
It seems that your scipy installation is broken. Could you check if
python -c "import scipy.stats"
runs successfully?
Best, Synge
2018/07/20 16:45、S Baidya santubaidya2009@gmail.comのメール:
Thanks but when i use alpspython
then import pyalps it shows error
import pyalps
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-
boost/ALPSinstall/lib/pyalps/__init__.py", line 39, in <module>
from .tools import *
File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-
boost/ALPSinstall/lib/pyalps/tools.py", line 38, in <module>
import scipy.stats
File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line
338, in <module>
from .stats import *
File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line
180, in <module>
import scipy.special as special
File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py",
line 627, in <module>
from ._ufuncs import *
ImportError: No module named _ufuncs
Can you please tell me what mistake is there during installation?
Thanks, Santu
On 20 July 2018 at 16:39, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Executables should be found in /home/cces/ALPS/alps-2.3.0-
src-with-boost/alps/ALPSinstall/bin/
since you specified CMAKE_INSTALL_PREFIX as /home/cces/ALPS/alps-2.3.0-
src-with-boost/alps/ALPSinstall.
Synge
2018/07/20 15:40、S Baidya santubaidya2009@gmail.comのメール:
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON
-DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps
It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find
pyalps.
Can you please tell me what should I do to run alps examples using
python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
cd to your build fold and run `make test` to see what happens. I think
you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin
directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other
things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/boost
-- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/ usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/ libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.
0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/
cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/ alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD
only under
specific short-term circumstances. Projects should be ported to
the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0
20171010
-- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error,
unexpected
exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/ usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/ libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/
alps/build/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/
alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what
is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so
I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/
cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/ alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_
libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;- lmkl;-lguide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/
myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/ lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/ lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/
mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/
Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/ alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If
you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the
following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux
pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/
cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but
it did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with
maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//
listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//
pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//
listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//
pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@ lists.phys.ethz.ch.
Dear Synge
I just checked with python -c "import scipy.stats"
Error is Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line 338, in <module> from .stats import * File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line 180, in <module> import scipy.special as special File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py", line 627, in <module> from ._ufuncs import * ImportError: No module named _ufuncs
What does it mean?
thanks
On 20 July 2018 at 16:55, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
Dear Santu,
It seems that your scipy installation is broken. Could you check if
python -c "import scipy.stats"
runs successfully?
Best, Synge
2018/07/20 16:45、S Baidya santubaidya2009@gmail.comのメール:
Thanks but when i use alpspython
then import pyalps it shows error
import pyalps
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-
boost/ALPSinstall/lib/pyalps/__init__.py", line 39, in <module>
from .tools import *
File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-
boost/ALPSinstall/lib/pyalps/tools.py", line 38, in <module>
import scipy.stats
File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line
338, in <module>
from .stats import *
File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line
180, in <module>
import scipy.special as special
File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py",
line 627, in <module>
from ._ufuncs import *
ImportError: No module named _ufuncs
Can you please tell me what mistake is there during installation?
Thanks, Santu
On 20 July 2018 at 16:39, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Executables should be found in /home/cces/ALPS/alps-2.3.0-
src-with-boost/alps/ALPSinstall/bin/
since you specified CMAKE_INSTALL_PREFIX as /home/cces/ALPS/alps-2.3.0-
src-with-boost/alps/ALPSinstall.
Synge
2018/07/20 15:40、S Baidya santubaidya2009@gmail.comのメール:
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON
-DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps
It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find
pyalps.
Can you please tell me what should I do to run alps examples using
python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
cd to your build fold and run `make test` to see what happens. I think
you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin
directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other
things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/boost
-- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/ usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/ libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/
alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.
0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/
cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/ alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD
only under
specific short-term circumstances. Projects should be ported to
the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0
20171010
-- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error,
unexpected
exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/
hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux- gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux- gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/ usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/ libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/
alps/build/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/
alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what
is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so
I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/
cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/ alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_
libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;- lmkl;-lguide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/
myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/ lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/ lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/
mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/
Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/ alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If
you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the
following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux
pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/
cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but
it did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with
maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//
listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//
pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//
listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//
pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@
lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@ lists.phys.ethz.ch.
this means your scipy install is broken, and you need to reinstall it.
On Fri, Jul 20, 2018, 11:00 AM S Baidya santubaidya2009@gmail.com wrote:
Dear Synge
I just checked with python -c "import scipy.stats"
Error is Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line 338, in <module> from .stats import * File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line 180, in <module> import scipy.special as special File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py", line 627, in <module> from ._ufuncs import * ImportError: No module named _ufuncs
What does it mean?
thanks
On 20 July 2018 at 16:55, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
Dear Santu,
It seems that your scipy installation is broken. Could you check if
python -c "import scipy.stats"
runs successfully?
Best, Synge
2018/07/20 16:45、S Baidya santubaidya2009@gmail.comのメール:
Thanks but when i use alpspython
then import pyalps it shows error
import pyalps
Traceback (most recent call last): File "<stdin>", line 1, in <module> File
"/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-boost/ALPSinstall/lib/pyalps/__init__.py", line 39, in <module>
from .tools import *
File
"/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with-boost/ALPSinstall/lib/pyalps/tools.py", line 38, in <module>
import scipy.stats
File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line
338, in <module>
from .stats import *
File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line
180, in <module>
import scipy.special as special
File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py",
line 627, in <module>
from ._ufuncs import *
ImportError: No module named _ufuncs
Can you please tell me what mistake is there during installation?
Thanks, Santu
On 20 July 2018 at 16:39, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Executables should be found in
/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall/bin/
since you specified CMAKE_INSTALL_PREFIX as
/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall.
Synge
2018/07/20 15:40、S Baidya santubaidya2009@gmail.comのメール:
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON
-DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps
It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find
pyalps.
Can you please tell me what should I do to run alps examples using
python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
cd to your build fold and run `make test` to see what happens. I
think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
From: Comp-phys-alps-users <
comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of S Baidya < santubaidya2009@gmail.com>
Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin
directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other
things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to
the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR =
/home/cces/.local/lib/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source:
/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
-- Boost Version: 1_63_0 -- Adding Boost dir:
/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5:
/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR =
/home/cces/.local/lib/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in
/home/cces/.local/lib/python2.7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5:
/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to:
/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded
alps-2.3.0-src-with-boost.tar.gz and make build and then
sudo /usr/local/bin/cmake
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of
all
policies are deprecated and that a policy should be set to OLD
only under
specific short-term circumstances. Projects should be ported to
the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0
20171010
-- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR =
/home/cces/.local/lib/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error,
unexpected
exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version
"3.0")
-- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5:
/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR =
/home/cces/.local/lib/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in
/home/cces/.local/lib/python2.7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5:
/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also
"/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log".
See also
"/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what
is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so
I used
/usr/local/bin/cmake
-DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY =
-L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5:
/home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide
http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT
_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If
you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the
following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <
comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of S Baidya < santubaidya2009@gmail.com>
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux
pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake
-DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install
but it did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with
maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info:
https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive:
https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to
comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info:
https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive:
https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to
comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to
comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to
comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to
comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to
comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
I am facing problem in running alps example too...
For example, for tutorial mc-02-susceptibilities/
first run parameter2xml parm2a
then if run spinmc --Tmin 10 --write-xml parm2a.in.xml there are so many errors:
parsing task files ... Using cluster updates Created run 1 locally Starting task 1. Checking if it is finished: not yet, next check in 10 seconds ( 52% done). Checking if it is finished: not yet, next check in 10 seconds ( 0% done). Halted Simulation 1 HDF5 error: -1 #0 H5D.c line 145 in H5Dcreate2(): unable to create dataset #1 H5Dint.c line 490 in H5D__create_named(): unable to create and link to dataset #2 H5L.c line 1695 in H5L_link_object(): unable to create new link to object #3 H5L.c line 1939 in H5L_create_real(): can't insert link #4 H5Gtraverse.c line 867 in H5G_traverse(): internal path traversal failed #5 H5Gtraverse.c line 639 in H5G_traverse_real(): traversal operator failed #6 H5L.c line 1731 in H5L_link_cb(): name already exists
In /feedstock_root/build_artefacts/alps_1510829417339/work/alps-2.3.0-src/alps/src/alps/hdf5/archive.cpp on 133 in resource
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf56detail11check_errorEl+0x121) [0x7fcc140bdf01]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZNK4alps4hdf57archive5writeESsPKdSt6vectorImSaImEES6_S6_+0x16bc) [0x7fcc1419b66c]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf54saveIdEEvRNS0_7archiveERKSsRKSt8valarrayIT_ESt6vectorImSaImEESD_SD_+0x2fa) [0x7fcc13ff5b2a]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf54saveISt8valarrayIdESaIS3_EEEvRNS0_7archiveERKSsRKSt6vectorIT_T0_ES9_ImSaImEESG_SG_+0x259) [0x7fcc13ff6029]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf5lsIRKSt6vectorISt8valarrayIdESaIS4_EEEEN5boost10disable_ifINS0_20has_complex_elementsINS_6detail10remove_cvrIT_E4typeEEERNS0_7archiveEE4typeESJ_RKNS0_6detail14make_pvp_proxyISE_EE+0x6e) [0x7fcc13ff656e]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZNK4alps13SimpleBinningISt8valarrayIdEE4saveERNS_4hdf57archiveE+0x22e) [0x7fcc13ff8e3e]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZNK4alps20BasicDetailedBinningISt8valarrayIdEE4saveERNS_4hdf57archiveE+0x1e) [0x7fcc13ff936e]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf54saveINS_15DetailedBinningISt8valarrayIdEEEEEvRNS0_7archiveERKSsRKT_St6vectorImSaImEESF_SF_+0xb2) [0x7fcc13ffa5f2]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf5lsIRKNS_15DetailedBinningISt8valarrayIdEEEEEN5boost10disable_ifINS0_20has_complex_elementsINS_6detail10remove_cvrIT_E4typeEEERNS0_7archiveEE4typeESI_RKNS0_6detail14make_pvp_proxyISD_EE+0x6e) [0x7fcc13ffaa6e]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZNK4alps16SimpleObservableISt8valarrayIdENS_15DetailedBinningIS2_EEE4saveERNS_4hdf57archiveE+0x66) [0x7fcc140252d6]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf54saveINS_10ObservableEEEvRNS0_7archiveERKSsRKT_St6vectorImSaImEESC_SC_+0xb4) [0x7fcc140333c4]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf5lsIRKNS_10ObservableEEEN5boost10disable_ifINS0_20has_complex_elementsINS_6detail10remove_cvrIT_E4typeEEERNS0_7archiveEE4typeESF_RKNS0_6detail14make_pvp_proxyISA_EE+0x6e) [0x7fcc1403383e]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZNK4alps13ObservableSet4saveERNS_4hdf57archiveE+0x87) [0x7fcc1402e5c7]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf54saveINS_13ObservableSetEEEvRNS0_7archiveERKSsRKT_St6vectorImSaImEESC_SC_+0xb4) [0x7fcc142ca9e4]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf5lsIRKNS_13ObservableSetEEEN5boost10disable_ifINS0_20has_complex_elementsINS_6detail10remove_cvrIT_E4typeEEERNS0_7archiveEE4typeESF_RKNS0_6detail14make_pvp_proxyISA_EE+0x6e) [0x7fcc142cae5e]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZNK4alps9scheduler12MCSimulation4saveERNS_4hdf57archiveE+0x63) [0x7fcc142ca403]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf54saveINS_9scheduler4TaskEEEvRNS0_7archiveERKSsRKT_St6vectorImSaImEESD_SD_+0xb7) [0x7fcc142df657]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf5lsIRKNS_9scheduler4TaskEEEN5boost10disable_ifINS0_20has_complex_elementsINS_6detail10remove_cvrIT_E4typeEEERNS0_7archiveEE4typeESG_RKNS0_6detail14make_pvp_proxyISB_EE+0x6e) [0x7fcc142dface]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps4hdf56detail13archive_proxyINS0_7archiveEEaSINS_9scheduler4TaskEEERS4_RKT_+0x2f) [0x7fcc142dfb6f]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZNK4alps9scheduler4Task10checkpointERKN5boost10filesystem4pathEb+0x2c7) [0x7fcc142ddd47]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps9scheduler15MasterScheduler11finish_taskEi+0x101) [0x7fcc142c35a1]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps9scheduler15SerialScheduler3runEv+0x482) [0x7fcc142d9192]
/home/cces/miniconda3/envs/myenv/bin/../lib/libalps.so.2(_ZN4alps9scheduler5startEiPPcRKNS0_7FactoryE+0xe8) [0x7fcc142d7e28] spinmc(main+0x15) [0x44b2d5] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fcc0e16c830] spinmc() [0x44b625]
Can anybody suggest the solution for this.
Along with this pyalps module is also not working!
Thanks.,
Santu Baidya
On 20 July 2018 at 16:45, S Baidya santubaidya2009@gmail.com wrote:
Thanks but when i use alpspython
then import pyalps it shows error
import pyalps
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with- boost/ALPSinstall/lib/pyalps/__init__.py", line 39, in <module> from .tools import * File "/home/cces/Downloads/ALPS/test/alps-2.3.0-src-with- boost/ALPSinstall/lib/pyalps/tools.py", line 38, in <module> import scipy.stats File "/usr/lib/python2.7/dist-packages/scipy/stats/__init__.py", line 338, in <module> from .stats import * File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line 180, in <module> import scipy.special as special File "/usr/lib/python2.7/dist-packages/scipy/special/__init__.py", line 627, in <module> from ._ufuncs import * ImportError: No module named _ufuncs
Can you please tell me what mistake is there during installation?
Thanks, Santu
On 20 July 2018 at 16:39, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
Executables should be found in /home/cces/ALPS/alps-2.3.0-src -with-boost/alps/ALPSinstall/bin/ since you specified CMAKE_INSTALL_PREFIX as /home/cces/ALPS/alps-2.3.0-src -with-boost/alps/ALPSinstall.
Synge
2018/07/20 15:40、S Baidya santubaidya2009@gmail.comのメール:
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON
-DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps
It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find
pyalps.
Can you please tell me what should I do to run alps examples using
python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
cd to your build fold and run `make test` to see what happens. I think
you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin
directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other
things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps
-2.3.0-src-with-boost/boost
-- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps
-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-
src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cc
es/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to
the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/ hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/ libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/ x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so; /usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
build/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what
is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I
used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_lib
raries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;- lguide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/mye
nv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/ libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/ x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/ myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/medi
awiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads
/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps -2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If
you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the
following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux
pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but
it did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum
size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//li
stinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//li
stinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis ts.phys.ethz.ch.
"145 - python_pyhdf5io (Failed)" is an inessential fail. It seems that your building process is right.
Then you can run `source /home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall/bin/alpsvars.sh` to set environment variables.
I can not say too much about the scipy error, but you can try the above command first. That may let your `alpspython` to find `pyalps` package.
Best, Rongyang
________________________________ From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Friday, July 20, 2018 14:40 To: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON -DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find pyalps.
Can you please tell me what should I do to run alps examples using python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun <sun-rongyang@outlook.commailto:sun-rongyang@outlook.com> wrote: Dear Santu,
cd to your build fold and run `make test` to see what happens. I think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
________________________________ From: Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.chmailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.chmailto:comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo <wistaria@phys.s.u-tokyo.ac.jpmailto:wistaria@phys.s.u-tokyo.ac.jp> wrote: I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com>のメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log". See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo <wistaria@phys.s.u-tokyo.ac.jpmailto:wistaria@phys.s.u-tokyo.ac.jp> wrote: Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com>のメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the minimum is 1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun <sun-rongyang@outlook.commailto:sun-rongyang@outlook.com> wrote: Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.orghttp://comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.orghttp://alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.chmailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.orgmailto:comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
---- Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
Thank you Rongyang. I did "source /home/cces/ALPS/alps- 2.3.0-src-with-boost/alps/ALPSinstall/bin/alpsvars.sh" and then type alpspython. The import pyalps and it does not show any error with pyalps module. It seems to work now.
Now when I tried to reproduce mc-02-susceptibilities/ tutorial the command
parameter2xml parm2a
spinmc --Tmin 10 --write-xml parm2a.in.xml
worked without any error.
However, when I used alpspython tutorial2a.py it shows error
/usr/local/lib/python2.7/dist-packages/matplotlib/__init__.py:899: UserWarning: could not find rc file; returning defaults warnings.warn(message) Traceback (most recent call last): File "tutorial2a.py", line 29, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 33, in <module> from matplotlib import style File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/__init__.py", line 3, in <module> from .core import use, context, available, library, reload_library File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 226, in <module> _base_library = load_base_library() File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 164, in load_base_library library.update(read_style_directory(BASE_LIBRARY_PATH)) File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 196, in read_style_directory for path, name in iter_style_files(style_dir): File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 185, in iter_style_files for path in os.listdir(style_dir): OSError: [Errno 2] No such file or directory: '/usr/share/matplotlib/stylelib'
Is it only matplotlib error?
Thank you.
Santu
On 20 July 2018 at 17:31, Rongyang Sun sun-rongyang@outlook.com wrote:
"145 - python_pyhdf5io (Failed)" is an inessential fail. It seems that your building process is right.
Then you can run `source /home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall/bin/alpsvars.sh` to set environment variables.
I can not say too much about the scipy error, but you can try the above command first. That may let your `alpspython` to find `pyalps` package.
Best, Rongyang
*From:* Comp-phys-alps-users <comp-phys-alps-users-bounces@ lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com *Sent:* Friday, July 20, 2018 14:40 *To:* comp-phys-alps-users@lists.phys.ethz.ch
*Subject:* Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON -DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find pyalps.
Can you please tell me what should I do to run alps examples using python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com wrote:
Dear Santu,
cd to your build fold and run `make test` to see what happens. I think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
*From:* Comp-phys-alps-users <comp-phys-alps-users-bounces@ lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com *Sent:* Friday, July 20, 2018 10:55 *To:* Synge Todo *Cc:* comp-phys-alps-users@lists.phys.ethz.ch *Subject:* Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote:
Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5 /serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread. so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux -gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5 /serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread. so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux -gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/ x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/seri al/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/ lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/ usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux -gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/ x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthrea d.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64- linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/ usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-s rc-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cc
es/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/ usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/ usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64- linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/ lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/ lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/ libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/ libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/ lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64- linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread. so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux -gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/bu
ild/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/bu
ild/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is
the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I
used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_lib
raries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lg uide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/mye
nv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/li bhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64- linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib /libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/medi
awiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads
/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps -2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you
meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following
libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc
with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it
did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum
size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis ts.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@ lists.phys.ethz.ch.
It looks like just a matplotlib error. You can try to comment out lines 29, 30, 60-66 to check it.
BTW, this tutorial script cannot run in a TUI environment because it tries to plot and show a figure. You can try to run it in a GUI environment.
Best, Rongyang
________________________________ From: Comp-phys-alps-users comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of S Baidya santubaidya2009@gmail.com Sent: Friday, July 20, 2018 16:45 To: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Thank you Rongyang. I did "source /home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall/bin/alpsvars.sh" and then type alpspython. The import pyalps and it does not show any error with pyalps module. It seems to work now.
Now when I tried to reproduce mc-02-susceptibilities/ tutorial the command
parameter2xml parm2a
spinmc --Tmin 10 --write-xml parm2a.in.xml
worked without any error.
However, when I used alpspython tutorial2a.py it shows error
/usr/local/lib/python2.7/dist-packages/matplotlib/__init__.py:899: UserWarning: could not find rc file; returning defaults warnings.warn(message) Traceback (most recent call last): File "tutorial2a.py", line 29, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 33, in <module> from matplotlib import style File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/__init__.py", line 3, in <module> from .core import use, context, available, library, reload_library File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 226, in <module> _base_library = load_base_library() File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 164, in load_base_library library.update(read_style_directory(BASE_LIBRARY_PATH)) File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 196, in read_style_directory for path, name in iter_style_files(style_dir): File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 185, in iter_style_files for path in os.listdir(style_dir): OSError: [Errno 2] No such file or directory: '/usr/share/matplotlib/stylelib'
Is it only matplotlib error?
Thank you.
Santu
On 20 July 2018 at 17:31, Rongyang Sun <sun-rongyang@outlook.commailto:sun-rongyang@outlook.com> wrote: "145 - python_pyhdf5io (Failed)" is an inessential fail. It seems that your building process is right.
Then you can run `source /home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall/bin/alpsvars.sh` to set environment variables.
I can not say too much about the scipy error, but you can try the above command first. That may let your `alpspython` to find `pyalps` package.
Best, Rongyang
________________________________ From: Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.chmailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> Sent: Friday, July 20, 2018 14:40 To: comp-phys-alps-users@lists.phys.ethz.chmailto:comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON -DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find pyalps.
Can you please tell me what should I do to run alps examples using python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun <sun-rongyang@outlook.commailto:sun-rongyang@outlook.com> wrote: Dear Santu,
cd to your build fold and run `make test` to see what happens. I think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
________________________________ From: Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.chmailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> Sent: Friday, July 20, 2018 10:55 To: Synge Todo Cc: comp-phys-alps-users@lists.phys.ethz.chmailto:comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> wrote: Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo <wistaria@phys.s.u-tokyo.ac.jpmailto:wistaria@phys.s.u-tokyo.ac.jp> wrote: I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com>のメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cces/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.sohttp://libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log". See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/build/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo <wistaria@phys.s.u-tokyo.ac.jpmailto:wistaria@phys.s.u-tokyo.ac.jp> wrote: Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com>のメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lguide;-lpthread;-lm -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/myenv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the minimum is 1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun <sun-rongyang@outlook.commailto:sun-rongyang@outlook.com> wrote: Dear Santu,
You can follow this guide http://alps.comp-phys.org/mediawiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.orghttp://comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ... alps.comp-phys.orghttp://alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.chmailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of S Baidya <santubaidya2009@gmail.commailto:santubaidya2009@gmail.com> Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.orgmailto:comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it did not work.
So, I thought to build from source in linux as suggested in some websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
<CMakeError.log>
---- Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
---- Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.chmailto:comp-phys-alps-users-leave@lists.phys.ethz.ch.
Thank you Rongyang. After playing with python matplotlib now I have got to run alpspython successfully on the tutorial. Hopefully it should run on all the tutorials.
Thank you,
Santu
On 20 July 2018 at 17:57, Rongyang Sun sun-rongyang@outlook.com wrote:
It looks like just a matplotlib error. You can try to comment out lines 29, 30, 60-66 to check it.
BTW, this tutorial script cannot run in a TUI environment because it tries to plot and show a figure. You can try to run it in a GUI environment.
Best, Rongyang
*From:* Comp-phys-alps-users <comp-phys-alps-users-bounces@ lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com *Sent:* Friday, July 20, 2018 16:45
*To:* comp-phys-alps-users@lists.phys.ethz.ch *Subject:* Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Thank you Rongyang. I did "source /home/cces/ALPS/alps-2 .3.0-src-with-boost/alps/ALPSinstall/bin/alpsvars.sh" and then type alpspython. The import pyalps and it does not show any error with pyalps module. It seems to work now.
Now when I tried to reproduce mc-02-susceptibilities/ tutorial the command
parameter2xml parm2a
spinmc --Tmin 10 --write-xml parm2a.in.xml
worked without any error.
However, when I used alpspython tutorial2a.py it shows error
/usr/local/lib/python2.7/dist-packages/matplotlib/__init__.py:899: UserWarning: could not find rc file; returning defaults warnings.warn(message) Traceback (most recent call last): File "tutorial2a.py", line 29, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 33, in <module> from matplotlib import style File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/__init__.py", line 3, in <module> from .core import use, context, available, library, reload_library File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 226, in <module> _base_library = load_base_library() File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 164, in load_base_library library.update(read_style_directory(BASE_LIBRARY_PATH)) File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 196, in read_style_directory for path, name in iter_style_files(style_dir): File "/usr/local/lib/python2.7/dist-packages/matplotlib/style/core.py", line 185, in iter_style_files for path in os.listdir(style_dir): OSError: [Errno 2] No such file or directory: '/usr/share/matplotlib/ stylelib'
Is it only matplotlib error?
Thank you.
Santu
On 20 July 2018 at 17:31, Rongyang Sun sun-rongyang@outlook.com wrote:
"145 - python_pyhdf5io (Failed)" is an inessential fail. It seems that your building process is right.
Then you can run `source /home/cces/ALPS/alps-2 .3.0-src-with-boost/alps/ALPSinstall/bin/alpsvars.sh` to set environment variables.
I can not say too much about the scipy error, but you can try the above command first. That may let your `alpspython` to find `pyalps` package.
Best, Rongyang
*From:* Comp-phys-alps-users <comp-phys-alps-users-bounces@ lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com *Sent:* Friday, July 20, 2018 14:40 *To:* comp-phys-alps-users@lists.phys.ethz.ch
*Subject:* Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Thank you Rongyang. I did again build this time.
(1) first sudo /usr/local/bin/cmake -DALPS_BUILD_FORTRAN=ON -DCMAKE_INSTALL_PREFIX=/home/cces/ALPS/alps-2.3.0-src-with-boost/alps/ALPSinstall -DBoost_ROOT_DIR:PATH=/home/cces/ALPS/alps-2.3.0-src-with-boost/boost /home/cces/ALPS/alps-2.3.0-src-with-boost/alps It worked fine
(2) Then sudo make
(3) Then sudo make test, one error found
The following tests FAILED: 145 - python_pyhdf5io (Failed) Errors while running CTest Makefile:140: recipe for target 'test' failed make: *** [test] Error 8
So I proceed to next step
(4) then sudo make install and it worked fine no error.
Now if I cannot see where are the executables? If I type alpspython and then import pyalps it cannot even find pyalps.
Can you please tell me what should I do to run alps examples using python successfully.
Thanks,
Santu
On 20 July 2018 at 12:06, Rongyang Sun sun-rongyang@outlook.com wrote:
Dear Santu,
cd to your build fold and run `make test` to see what happens. I think you may miss some cmake configurations. Use `ccmake .` to set these variables.
Best, Rongyang
*From:* Comp-phys-alps-users <comp-phys-alps-users-bounces@ lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com *Sent:* Friday, July 20, 2018 10:55 *To:* Synge Todo *Cc:* comp-phys-alps-users@lists.phys.ethz.ch *Subject:* Re: [ALPS-users] Problem in installing ALPS code in Ubuntu
Although I build the alps without any error I do not find any bin directory holding alps executable. Further, there is only alpspython executable in the bin directory.
When I type alpspython and import pyalps it does not find it.
Can you please tell me what is wrong with my installation. What other things are necessary to install.
Thanks,
Santu
On 20 July 2018 at 11:17, S Baidya santubaidya2009@gmail.com wrote:
Thank you. It seems to build now.
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/boost -- Boost Version: 1_63_0 -- Adding Boost dir: /home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/boost
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5 /serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/ usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/ libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -Wl,-Bsymbolic-functions -Wl,-z,relro -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /home/cces/.local/lib/python2. 7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5 /serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/ usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64- linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/ lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/ lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/ libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/ libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/ lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64- linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpthread. so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux -gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/alps/build
Hope I can use examples now.
Thanks you,
Santu
On 20 July 2018 at 11:13, Synge Todo wistaria@phys.s.u-tokyo.ac.jp wrote:
I think that Boost_ROOT_DIR is not specified correctly. It should be
-DBoost_ROOT_DIR:PATH=/home/cces/Downloads/ALPS/alps-2.3.0-s rc-with-boost/boost
Best, Synge
2018/07/20 10:49、S Baidya santubaidya2009@gmail.comのメール:
Thank you for your reply. I downloaded alps-2.3.0-src-with-boost.tar.gz
and make build and then
sudo /usr/local/bin/cmake -DBoost_ROOT_DIR:PATH=/home/cc
es/Downloads/boost_1_67_0/boost /home/cces/Downloads/ALPS/alps -2.3.0-src-with-boost/alps/
But it still shows error. Last few lines of cmake are:
CMake Deprecation Warning at CMakeLists.txt:132 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future
version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiler version: c++ (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.3.0 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:89 (file): file failed to open for reading (No such file or directory):
/home/cces/Downloads/boost_1_67_0/boost/boost/version.hpp
Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:94 (MATH): MATH cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:95 (MATH): MATH cannot parse the expression: " / 100 % 1000": syntax error,
unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
CMake Error at config/FindBoostSrc.cmake:96 (MATH): MATH cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER
(2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:75 (find_package) CMakeLists.txt:294 (find_package)
-- Found Boost Source: /home/cces/Downloads/boost_1_67_0/boost -- Boost Version: __ -- Adding Boost dir: /home/cces/Downloads/boost_1_67_0/boost -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version
"3.0")
-- Found MPI: TRUE (found version "3.0") -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/ usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-Wl,-Bsymbolic-functions -Wl,-z,relro
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /home/cces/.local/lib/python2.
7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5
/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/ser ial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/ usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/ libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-l inux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/ libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/ libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libh df5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5. so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64- linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/ lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/ libm.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/ x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz. so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring incomplete, errors occurred! See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/bu
ild/CMakeFiles/CMakeOutput.log".
See also "/home/cces/Downloads/ALPS/alps-2.3.0-src-with-boost/alps/bu
ild/CMakeFiles/CMakeError.log".
I have attached the CMakeError file.
Please tell me why so many difficulties in installing ALPS and what is
the solution.
Thanks,
Santu
On 20 July 2018 at 08:48, Synge Todo wistaria@phys.s.u-tokyo.ac.jp
wrote:
Dear Santu,
Please use ALPS version 2.3.0. Version 2.2 has a bug in checking the version of HDF5 library.
Best, Synge
2018/07/19 17:14、S Baidya santubaidya2009@gmail.comのメール:
Thanks for your reply. I have installed latest CMAKE in the path /usr/local/bin/cmake so I
used
/usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/ /home/cces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps
But it again gives me error as attached herewith this mail.
The last few lines in the run gives :
-- MKL settings were: -- BLAS_LIBRARY = -- LAPACK_LIBRARY = -L/opt/intel/compilers_and_lib
raries_2016.4.258/linux/mkl/lib/em64t;-lmkl_lapack;-lmkl;-lg uide;-lpthread;-lm
-- Falling back to CMake provied LAPACK/BLAS detection. -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib/libblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- SQLite Library: not found -- Found FFTW: /usr/lib/x86_64-linux-gnu/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Found SZIP: /usr/lib/x86_64-linux-gnu/libsz.so -- Found HDF5: /home/cces/miniconda3/envs/mye
nv/lib/libhdf5_hl.so;/home/cces/miniconda3/envs/myenv/lib/li bhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64- linux-gnu/libpthread.so;/home/cces/miniconda3/envs/myenv/lib /libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at config/FindHDF5.cmake:454 (MESSAGE): The HDF5 include found is too old : version is 1.10.1 while the
minimum is
1.8 Call Stack (most recent call first): CMakeLists.txt:415 (find_package)
-- Configuring incomplete, errors occurred!
Please have a look and tell me the actual reason.
Thanks,
Santu
On 19 July 2018 at 16:46, Rongyang Sun sun-rongyang@outlook.com
wrote:
Dear Santu,
You can follow this guide http://alps.comp-phys.org/medi
awiki/index.php/Building_ALPS_from_source to build ALPS from source.
Follow your file structure, after `cd build` you can try:
`cmake -DBoost_ROOT _DIR:PATH=/home/cces/Downloads
/ALPS/alps-2.2.b4-src-with-boost/boost /home/cces/Downloads/ALPS/alps -2.2.b4-src-with-boost/alps`
And the dependent libraries need also be installed carefully. If you
meet any problems, please let me know.
Best, Rongyang
Building ALPS from source - comp-phys.org Libraries and tools needed to build ALPS. ALPS will need the following
libraries and tools in addition to the ALPS sources: CMake version 2.8 or higher as a build system. ...
alps.comp-phys.org
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@
lists.phys.ethz.ch> on behalf of S Baidya santubaidya2009@gmail.com
Sent: Thursday, July 19, 2018 9:21 To: comp-phys-alps-users@lists.comp-phys.org Subject: [ALPS-users] Problem in installing ALPS code in Ubuntu
Dear ALPS users,
I have downloaded alps-2.2.b4-src-with-boost.tar.gz in my linux pc
with Ubuntu. I installed required python packages python2.7.
I then untar by tar -xvzf alps-2.2.b4-src-with-boost.tar.gz
Then mkdir build Then cd build
Then cmake -DCMAKE_INSTALL_PREFIX=/home/c
ces/Downloads/ALPS/alps-2.2.b4-src-with-boost/alps/ ..
I got an error. I tried different ways too using conda install but it
did not work.
So, I thought to build from source in linux as suggested in some
websites.
I have attached the Log file of the error.
Can anyone please help me to install the alps in linux pc.
I sent this mail before but I found there was an issue with maximum
size of mail. So I have attached only one error file.
Thanking you,
Santu
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis
ts.phys.ethz.ch.
<CMakeError.log>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis ts.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lis ts.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@ lists.phys.ethz.ch.
comp-phys-alps-users@lists.phys.ethz.ch