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
Hi,
you seem to have two problems:
On Mar 15, 2011, at 11:24 PM, Garliauskas wrote:
[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.
It seems you do not have write permission at th place where you want to compile?
-- 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)
Do you really have boost at /Alps2/alps2/boost ?
Matthias
Oh, Hi Dear Matthias, I very hard disappointed on an installing as ALPS1 and ALPS2. I lost even I had: ALPS2 was installed successfully til make test with tree mistakes but I didn't noticed next step "make install". After some numeric manipulations fighting with test errors I lost what I have - installing of ALPS2. Any tryings to restore installation were not succeeded. You in one letter to user have written that before new attempt of configuring cmake or make it is needed to destroy old installing. What kind command is in uninstall? My boost/boost is in ~/Alps2/alps2/boost/boost.This long path is from my no experience. But I tried different variants including ALPS/opt recommended in tutorial. Nothing got, It doesn't pass cmake configuring ( incomplete an incomplete.. I became crazy from this answer) what was first time succeeded. I am waiting for your usefull advice. With Easter! Algis
On Sun, Apr 24, 2011 at 3:02 PM, Matthias Troyer troyer@phys.ethz.chwrote:
Hi,
you seem to have two problems:
On Mar 15, 2011, at 11:24 PM, Garliauskas wrote:
[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.
It seems you do not have write permission at th place where you want to compile?
-- 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)
Do you really have boost at /Alps2/alps2/boost ?
Matthias
On Apr 24, 2011, at 4:54 PM, Algis Garliauskas wrote:
Oh, Hi Dear Matthias, I very hard disappointed on an installing as ALPS1 and ALPS2. I lost even I had: ALPS2 was installed successfully til make test with tree mistakes but I didn't noticed next step "make install". After some numeric manipulations fighting with test errors I lost what I have - installing of ALPS2. Any tryings to restore installation were not succeeded. You in one letter to user have written that before new attempt of configuring cmake or make it is needed to destroy old installing.
Just build it in a clean directory.
What kind command is in uninstall? My boost/boost is in ~/Alps2/alps2/boost/boost.This long path is from my no experience.
The ~ does not work in paths. You need to write the full explicit path to the place where you installed boost.
Matthias
Matthias, I did attempts to install from different clean directories. the same answer ---configuring incomplete...errors. I can send you results of cmake configuring and cmake.log if you don't mind. As concern to ~/ or $Home there is an identical result no changes. The make installation and build files in pyalps directory are not changed. The are old ones formatted in date of installation two months ago. Sure it is clear because I don't reach 'make' executing. You didn't answered me what kind of to uninstall to do in the future. Please prompt me if such action is needed. Best regards Algis
On Sun, Apr 24, 2011 at 6:14 PM, Matthias Troyer troyer@phys.ethz.chwrote:
On Apr 24, 2011, at 4:54 PM, Algis Garliauskas wrote:
Oh, Hi Dear Matthias, I very hard disappointed on an installing as ALPS1 and ALPS2. I lost even I had: ALPS2 was installed successfully til make test with
tree mistakes but I didn't noticed next step "make install".
After some numeric manipulations fighting with test errors I lost what I
have - installing of ALPS2. Any tryings to restore installation were not succeeded. You in one letter to user
have written that before new attempt of configuring cmake or make it is needed to destroy old installing.
Just build it in a clean directory.
What kind command is in uninstall? My boost/boost is in
~/Alps2/alps2/boost/boost.This long path is from my no experience.
The ~ does not work in paths. You need to write the full explicit path to the place where you installed boost.
Matthias
Hi Algis On Apr 24, 2011, at 10:50 PM, Algis Garliauskas wrote:
Matthias, I did attempts to install from different clean directories. the same answer ---configuring incomplete...errors. I can send you results of cmake configuring and cmake.log if you don't mind.
Please send the exact command you used to configure it first. I think that this is where the problem is.
As concern to ~/ or $Home there is an identical result no changes.
Did you try $HOME (all capital letters?)
The make installation and build files in pyalps directory are not changed. The are old ones formatted in date of installation two months ago. Sure it is clear because I don't reach 'make' executing. You didn't answered me what kind of to uninstall to do in the future. Please prompt me if such action is needed.
Just start from a new clean and empty installation directory.
Matthias
comp-phys-alps-users@lists.phys.ethz.ch