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.