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

dolfim@phys.ethz.ch
www.itp.phys.ethz.ch

+41 44 633 78 56 phone
+41 44 633 11 15 fax 

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>