TRIQS / triqs_0.x

DEPRECATED -- This is the repository of the older versions of TRIQS
Other
11 stars 9 forks source link

triqs installation on centos failed and I don't know the errors. #130

Closed qintaophy closed 11 years ago

qintaophy commented 11 years ago

-- Installation directory is /scratch/qintao/software/TRIQS-INSTALL CMake Error: Could not open file for write in copy operation /CMakeSystem.cmake.tmp CMake Error: : System Error: Permission denied CMake Error at /scratch/qintao/software/CMAKE/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:172 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): CMakeLists.txt:24 (include)

-- DYNAMIC Built -- CMAKE_GENERATOR: Unix Makefiles -- CMAKE_CL_64: -- CMAKE_SIZEOF_VOID_P: 8 -- CMAKE_GENERATOR: Unix Makefiles -- CMAKE_CL_64: -- Build type: Release -- MPI compiler was /u/shared/programs/x86_64/mpich2/1.2.1p1_gcc/bin/mpicxx -- 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. -- Found HDF5: /u/shared/programs/x86_64/hdf5/1.8.5p1_gcc/lib/libhdf5.so
-- HDF5 version found is 1.8.5-patch1 in /u/shared/programs/x86_64/hdf5/1.8.5p1_gcc/include -- Python interpreter /usr/bin/python CMake Warning at cmake/FindPython.cmake:89 (MESSAGE): Python intepreter version is 2.4.3 . It should be >= 2.6.5 Call Stack (most recent call first): cmake/FindTRIQS_dep_libs.cmake:182 (find_package) CMakeLists.txt:44 (find_package)

-- HDF5_LIBRARIES = /u/shared/programs/x86_64/hdf5/1.8.5p1_gcc/lib/libhdf5.so -- Triqs general lib detection ( but boost ) -- Adding definitions -- Adding include /u/shared/programs/x86_64/mpich2/1.2.1p1_gcc/include;/u/shared/programs/x86_64/hdf5/1.8.5p1_gcc/include -- Adding libs /u/shared/programs/x86_64/mpich2/1.2.1p1_gcc/lib/libmpichcxx.so;/u/shared/programs/x86_64/mpich2/1.2.1p1_gcc/lib/libmpich.so;/u/shared/programs/x86_64/mpich2/1.2.1p1_gcc/lib/libopa.a;/usr/lib64/libpthread.so;/usr/lib64/librt.so;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;/usr/lib64/libpthread.so;/u/shared/programs/x86_64/hdf5/1.8.5p1_gcc/lib/libhdf5.so -- Adding library dir
CMake Error at CMakeLists.txt:59 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command.

-- Python modules will be installed in /scratch/qintao/software/TRIQS-INSTALL//pytriqs -- I am using boost sources from /scratch/qintao/software/BOOST/boost_1_49_0 to compile a mini boost_for_triqs -- BOOST_INCLUDE_DIR = /scratch/qintao/software/BOOST/boost_1_49_0 -- You are not using mkl -- cblas header found at /u/shared/programs/x86_64/mkl/11.0.1/mkl/include/mkl_cblas.h -- Found CBLAS: /u/shared/programs/x86_64/mkl/11.0.1/mkl/include/mkl_cblas.h
-- Found Git: /usr/bin/git
-- This is not a git clone -- Git hash -- Git branches :

-- 64 bit machine : Adding -fpic

          Blitz++             

I am now compiling Blitz++ for your system. This will happen only at the first invocation of cmake. Patience.... Configuring Blitz : may take a while.... Compiling ..... ... done -- Preparing python module ArrayTests -- Making pytriqs/Base/Tests/array_tests.py -- Preparing python module test_converter -- Making pytriqs/Tools/test/pytriqs_test_converter.py -- Preparing python module GF -- Making pytriqs/Base/GF_Local/pytriqs_GF.py -- Preparing python module LatticeTools -- Making pytriqs/Base/Lattice/pytriqs_LatticeTools.py -- MPI launch command is : /u/shared/programs/x86_64/mpich2/1.2.1p1_gcc/bin/mpiexec -np PROCS EXECUTABLE ARGS


-- **** WARNING **** -- Wien2k users : after installation of TRIQS, copy the files from -- /scratch/qintao/software/TRIQS-INSTALL/share/triqs/Wien2k_SRC_files/SRC_templates -- to your Wien2k installation WIENROOT/SRC_templates (Cf documentation).
-- This is not handled automatically by the installation process.


-- Preparing optional python module CTHyb -- Preparing python module CTHyb -- Making pytriqs/Solvers/HybridizationExpansion/pytriqs_Solver_HybridizationExpansion.py -- Preparing the various scripts -- Configuring incomplete, errors occurred!

Any ideas to find the possible errors?

mferrero commented 11 years ago

Hi! Your version of python is too old. You have version 2.4.3 but TRIQS requires to have version > 2.6.5. You should install a more recent version of python (I use python 2.7.3).

Cheers!