Dear prof. Matthias, I many times tried to do cmake but without success. Hereby the copy of beginning and end of configuration. What is the problem?
[ag@localhost alps2]$ cmake -DBoost_ROOt_DIR:PATH=/home/ag/Alps2/alps2/boost/boost /home/ag/Alps2/alps2 CMake Error at /usr/local/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:157 (FILE): file Internal CMake error when trying to open file: /home/ag/Alps2/alps2/CMakeFiles/CMakeOutput.log for writing. Call Stack (most recent call first): CMakeLists.txt:103 (include)
CMake Error: Could not open file for write in copy operation /home/ag/Alps2/alps2/CMakeFiles/CMakeSystem.cmake.tmp CMake Error: : System Error: Permission denied CMake Error at /usr/local/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:169 (CONFIGURE_FILE): configure_file Problem configuring file Call Stack (most recent call first): CMakeLists.txt:103 (include)
-- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /home/ag/.local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/lib64/python2.7/config/libpython2.7.so -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- ALPS version: 2.0.0 -- Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:76 (file): file Internal CMake error when trying to open file: /Alps2/alps2/boost/boost/version.hpp for reading. Call Stack (most recent call first): config/FindBoostForALPS.cmake:41 (find_package) CMakeLists.txt:222 (find_package)
CMake Error at config/FindBoostSrc.cmake:81 (MATH): math cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:41 (find_package) CMakeLists.txt:222 (find_package)
CMake Error at config/FindBoostSrc.cmake:82 (MATH): math cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:41 (find_package) CMakeLists.txt:222 (find_package)
CMake Error at config/FindBoostSrc.cmake:83 (MATH): math cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): config/FindBoostForALPS.cmake:41 (find_package) CMakeLists.txt:222 (find_package)
.................................................
..................................................... The continue til end
/home/ag/Alps2/alps2/CMakeFiles/CMakeTmp/CMakeLists.txt
Permission denied Call Stack (most recent call first): config/FindLapack.cmake:210 (enable_language) CMakeLists.txt:270 (find_package)
-- Check for working Fortran compiler: /usr/bin/gfortran -- broken CMake Error at /usr/local/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:37 (FILE): file Internal CMake error when trying to open file: /home/ag/Alps2/alps2/CMakeFiles/CMakeError.log for writing. Call Stack (most recent call first): config/FindLapack.cmake:210 (enable_language) CMakeLists.txt:270 (find_package)
CMake Error at /usr/local/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:40 (MESSAGE): The Fortran compiler "/usr/bin/gfortran" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project. Call Stack (most recent call first): config/FindLapack.cmake:210 (enable_language) CMakeLists.txt:270 (find_package)
-- Configuring incomplete, errors occurred! CMake Error: Unable to open check cache file for write. /home/ag/Alps2/alps2/CMakeFiles/cmake.check_cache