Hi,
Thank you very much for your answers !
Here is what I did following your advice :
- setting C=mpiicc and CXX=mpiicpc : yes, this worked and removed the errors like "Could NOT find MPI_C (missing: MPI_C_LIBRARIES)"
- I changed somes values in CMakeCache.txt
- I still have the error : CMake Error: Could not open file for write in copy operation /CMakeSystem.cmake.tmp
CMake Error: : System Error: Permission denied
I checked that I was running cmake in a directory like $HOME/build with full write permissions.
Moreover, this error does not show when I try to install ALPS 2.2.0b3 instead.
Do you have any idea ?
Thanks you.
--------------------------------------
CMake output :
CMake Error: Could not open file for write in copy operation /CMakeSystem.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:182 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:110 (include)
-- Build type: Release
-- Python interpreter /opt/software/tools/python/2.7.8/bin/python
-- Python interpreter ok : version 2.7.8
-- PYTHON_INCLUDE_DIRS = /opt/software/tools/python/2.7.8/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR = /opt/software/tools/python/2.7.8/lib/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /opt/software/tools/python/2.7.8/lib/python2.7/site-packages
-- PYTHON_LIBRARY = /opt/software/tools/python/2.7.8/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 Boost Source
-- Found Boost Source: /home/boeris/lib/boost/1.49.0
-- Boost Version: 1_49_0
-- MPI compiler was /opt/software/intel/impi/5.0.1.035/bin64/mpiicpc
Falling back to CMake provied LAPACK/BLAS detection.
-- A library with BLAS API found.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- HDF5: /usr/include debug;optimized;/usr/lib64/libhdf5_hl.so;/usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/librt.so;/usr/lib64/libm.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- Python interpreter /opt/software/tools/python/2.7.8/bin/python
-- Python interpreter ok : version 2.7.8
-- PYTHON_INCLUDE_DIRS = /opt/software/tools/python/2.7.8/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR = /opt/software/tools/python/2.7.8/lib/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /opt/software/tools/python/2.7.8/lib/python2.7/site-packages
-- PYTHON_LIBRARY = /opt/software/tools/python/2.7.8/lib/python2.7/config/libpython2.7.a
-- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic
-- Numpy include in /opt/software/tools/python/2.7.8/lib/python2.7/site-packages/numpy/core/include
-- ALPS XML dir is /home/boeris/lib/alps-2.1.1/lib/xml
-- Adding Boost dir: /home/boeris/lib/boost/1.49.0
-- HDF5: /usr/include debug;optimized;/usr/lib64/libhdf5_hl.so;/usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/librt.so;/usr/lib64/libm.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
CMake Warning (dev) at src/alps/CMakeLists.txt:85 (target_link_libraries):
Link library type specifier "debug" is followed by specifier "optimized"
instead of a library name. The first specifier will be ignored.
This warning is for project developers. Use -Wno-dev to suppress it.
-- HDF5: /usr/include debug;optimized;/usr/lib64/libhdf5_hl.so;/usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/librt.so;/usr/lib64/libm.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- tebd will not be built
-- Configuring incomplete, errors occurred!