Dear Michele:
Thank you for your reply. After downloading the last version of ALPS cmake has worked, but something may be missing since I have the message that tebd will not be build.

$ ../opt/bin/cmake -D Boost_ROOT_DIR:PATH=/home/jorgext/alps/boost/ /home/jorgext/alps/alps/ -D BLAS_LIBRARY=/usr/lib64/libblas.so.3.0.3 -D LAPACK_LIBRARY=/usr/lib64/liblapack.so.3.0.3 -D LAPACK_64_BIT=ON -D HDF5_LIBRARIES=/home/jorgext/opt/lib/libhdf5.so.8 -D HDF5_INCLUDE_DIR=/home/jorgext/opt/include/ /home/jorgext/alps/alps/

-- The C compiler identification is GNU 4.1.2

-- The CXX compiler identification is GNU 4.1.2

-- 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

-- 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

-- Compiler version: c++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)

-- Build type: Release

-- Python interpreter /usr/bin/python

CMake Warning at config/FindPython.cmake:95 (MESSAGE):

  Python intepreter version is 2.4.3 .  It should be >= 2.6

Call Stack (most recent call first):

  config/FindVistrails.cmake:59 (find_package)

  CMakeLists.txt:167 (find_package)



-- ALPS version: 2.2.b1

-- 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/jorgext/alps/boost

-- Boost Version: 1_54_0

-- Adding Boost dir: /home/jorgext/alps/boost 

-- Found MPI_C: /opt/openmpi/lib/libmpi.so;/opt/openmpi/lib/libopen-rte.so;/opt/openmpi/lib/libopen-pal.so;/usr/lib64/libdl.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libdl.so  

-- Found MPI_CXX: /opt/openmpi/lib/libmpi_cxx.so;/opt/openmpi/lib/libmpi.so;/opt/openmpi/lib/libopen-rte.so;/opt/openmpi/lib/libopen-pal.so;/usr/lib64/libdl.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libdl.so  

-- MPI compiler was /opt/openmpi/bin/mpicxx

-- LAPACK DEBUG::LAPACK_LIBRARY = /usr/lib64/liblapack.so.3.0.3

-- Found SQLite Library: /usr/lib64/libsqlite3.so

-- Found FFTW: /usr/local/lib/libfftw3.a  

-- LPSolve Library: not found

-- Found ZLIB: /usr/lib64/libz.so  

-- Could NOT find SZIP (missing:  SZIP_LIBRARIES SZIP_INCLUDE_DIRS) 

-- Found HDF5: /home/jorgext/opt/lib/libhdf5.so.8  

-- HDF5: /home/jorgext/opt/include/ /home/jorgext/opt/lib/libhdf5.so.8 HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND

-- Python interpreter /usr/bin/python

CMake Warning at config/FindPython.cmake:95 (MESSAGE):

  Python intepreter version is 2.4.3 .  It should be >= 2.6

Call Stack (most recent call first):

  CMakeLists.txt:447 (find_package)



-- ALPS XML dir is /opt/alps/lib/xml

-- HDF5: /home/jorgext/opt/include/ /home/jorgext/opt/lib/libhdf5.so.8 HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND

-- HDF5: /home/jorgext/opt/include/ /home/jorgext/opt/lib/libhdf5.so.8 HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND

-- tebd will not be built

-- HDF5: /home/jorgext/opt/include/ /home/jorgext/opt/lib/libhdf5.so.8 HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND

-- Configuring done

-- Generating done

-- Build files have been written to: /home/jorgext/build



The compilation does not work also. It finished with the error (last lines only)

/home/jorgext/alps/boost/boost/preprocessor/iteration/detail/local.hpp:76:   instantiated from here

/home/jorgext/alps/boost/boost/python/detail/make_tuple.hpp:25: error: 'PyTuple_SET_ITEM' was not declared in this scope

/home/jorgext/alps/boost/boost/python/detail/make_tuple.hpp: In function 'boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&, const A11&, const A12&, const A13&, const A14&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int, A8 = long int, A9 = long int, A10 = long int, A11 = long int, A12 = long int, A13 = long int, A14 = long int]':

/home/jorgext/alps/boost/boost/preprocessor/iteration/detail/local.hpp:79:   instantiated from here

/home/jorgext/alps/boost/boost/python/detail/make_tuple.hpp:25: error: 'PyTuple_SET_ITEM' was not declared in this scope

/home/jorgext/alps/boost/boost/python/object_core.hpp: In constructor 'boost::python::api::object::object(const T&) [with T = boost::python::tuple]':

/home/jorgext/alps/boost/boost/python/numeric.hpp:121:   instantiated from 'void boost::python::numeric::array::resize(const Sequence&) [with Sequence = boost::python::tuple]'

/home/jorgext/alps/boost/boost/preprocessor/iteration/detail/local.hpp:37:   instantiated from here

/home/jorgext/alps/boost/boost/python/object_core.hpp:334: error: 'object_base_initializer' was not declared in this scope

make[2]: *** [src/alps/CMakeFiles/alps.dir/ngs/lib/get_numpy_type.cpp.o] Error 1

make[1]: *** [src/alps/CMakeFiles/alps.dir/all] Error 2

make: *** [all] Error 2


Please if you can give me an advice it will help me a lot.
With best regards,
Jorge López

Jorge López


2014/1/14 Michele Dolfi <dolfim@phys.ethz.ch>
Dear Jorge,

If I remember correctly this is a bug in the cmake configuration that should be fixed in the ALPS 2.2b release.
You can download it here: https://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#Source_packages


Best regards,
Michele

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



On 14-gen-2014, at 19:37, Jorge López <jorgext@gmail.com> wrote:

Dear All:
I am trying to compile ALPS on a cluster using a local installation. I have installed all required software, and I suppose I have told the system where to find everything, but I am having the following error message:

$ cmake -D Boost_ROOT_DIR:PATH=/home/jorgext/alps-2.1.1-r6176-src-with-boost/boost/ /home/jorgext/alps-2.1.1-r6176-src-with-boost/alps/ -D BLAS_LIBRARY=/usr/lib64/libblas.so.3.0.3 -D LAPACK_LIBRARY=/usr/lib64/liblapack.so.3.0.3 -D LAPACK_64_BIT=ON -D HDF5_LIBRARIES=/home/jorgext/opt/lib/libhdf5.so.8 -D HDF5_INCLUDE_DIR=/home/jorgext/opt/include/ /home/jorgext/alps-2.1.1-r6176-src-with-boost/alps/
CMake Error: Could not open file for write in copy operation /CMakeSystem.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at /home/jorgext/opt/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:182 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:110 (include)


-- The C compiler identification is GNU 4.1.2
-- The CXX compiler identification is GNU 4.1.2
-- 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
-- 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
-- Build type: Release
-- Python interpreter /home/jorgext/opt/bin/python
-- Python interpreter ok : version 2.7.5
-- PYTHON_INCLUDE_DIRS =  /home/jorgext/opt/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR = /home/jorgext/opt/lib/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /home/jorgext/opt/lib/python2.7/site-packages
-- PYTHON_LIBRARY = /home/jorgext/opt/lib/python2.7/config/libpython2.7.a
-- PYTHON_EXTRA_LIBS =-lpthread -ldl  -lutil
-- PYTHON_LINK_FOR_SHARED =  -Xlinker -export-dynamic
-- ALPS version: 2.1.1
-- 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/jorgext/alps-2.1.1-r6176-src-with-boost/boost
-- Boost Version: 1_49_0
-- Found MPI_C: /opt/openmpi/lib/libmpi.so;/opt/openmpi/lib/libopen-rte.so;/opt/openmpi/lib/libopen-pal.so;/usr/lib64/libdl.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libdl.so  
-- Found MPI_CXX: /opt/openmpi/lib/libmpi_cxx.so;/opt/openmpi/lib/libmpi.so;/opt/openmpi/lib/libopen-rte.so;/opt/openmpi/lib/libopen-pal.so;/usr/lib64/libdl.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libdl.so  
-- MPI compiler was /opt/openmpi/bin/mpicxx
-- Found SQLite Library: /usr/lib64/libsqlite3.so
-- Found FFTW: /usr/local/lib/libfftw3.a  
-- LPSolve Library: not found
-- Found ZLIB: /usr/lib64/libz.so  
-- Could NOT find SZIP (missing:  SZIP_LIBRARIES SZIP_INCLUDE_DIRS) 
-- Found HDF5: /home/jorgext/opt/lib/libhdf5.so.8  
-- HDF5: /home/jorgext/opt/include/ /home/jorgext/opt/lib/libhdf5.so.8 HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- Python interpreter /home/jorgext/opt/bin/python
-- Python interpreter ok : version 2.7.5
-- PYTHON_INCLUDE_DIRS =  /home/jorgext/opt/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR = /home/jorgext/opt/lib/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /home/jorgext/opt/lib/python2.7/site-packages
-- PYTHON_LIBRARY = /home/jorgext/opt/lib/python2.7/config/libpython2.7.a
-- PYTHON_EXTRA_LIBS =-lpthread -ldl  -lutil
-- PYTHON_LINK_FOR_SHARED =  -Xlinker -export-dynamic
-- Numpy include in /home/jorgext/opt/lib/python2.7/site-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml
-- Adding Boost dir: /home/jorgext/alps-2.1.1-r6176-src-with-boost/boost 
-- HDF5: /home/jorgext/opt/include/ /home/jorgext/opt/lib/libhdf5.so.8 HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- HDF5: /home/jorgext/opt/include/ /home/jorgext/opt/lib/libhdf5.so.8 HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- tebd will not be built
-- Configuring incomplete, errors occurred!
See also "/home/jorgext/build/CMakeFiles/CMakeOutput.log".
See also "/home/jorgext/build/CMakeFiles/CMakeError.log".


I hope you can help me. I have attached the CMakeCache.txt file.
Jorge López
<CMakeCache.txt>