{"action":"created","issue":{"url":"https://api.github.com/repos/TRIQS/dft_tools/issues/46","repository_url":"https://api.github.com/repos/TRIQS/dft_tools","labels_url":"https://api.github.com/repos/TRIQS/dft_tools/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/TRIQS/dft_tools/issues/46/comments","events_url":"https://api.github.com/repos/TRIQS/dft_tools/issues/46/events","html_url":"https://github.com/TRIQS/dft_tools/issues/46","id":132636536,"number":46,"title":"Installation procedure of TRIQS and its related code","user":{"login":"Joser1015","id":17152912,"avatar_url":"https://avatars.githubusercontent.com/u/17152912?v=3","gravatar_id":"","url":"https://api.github.com/users/Joser1015","html_url":"https://github.com/Joser1015","followers_url":"https://api.github.com/users/Joser1015/followers","following_url":"https://api.github.com/users/Joser1015/following{/other_user}","gists_url":"https://api.github.com/users/Joser1015/gists{/gist_id}","starred_url":"https://api.github.com/users/Joser1015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joser1015/subscriptions","organizations_url":"https://api.github.com/users/Joser1015/orgs","repos_url":"https://api.github.com/users/Joser1015/repos","events_url":"https://api.github.com/users/Joser1015/events{/privacy}","received_events_url":"https://api.github.com/users/Joser1015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-10T08:41:17Z","updated_at":"2016-02-11T03:37:41Z","closed_at":null,"body":"Dear Seth,\r\n\r\nI installed the software \" triqs, triqs/dfttools, trqis/cthyb, triqs/hubbardI\"  in the following way. After describing my installation procedure, I have three questions.\r\n\r\nI make build directories separately for each of the follow software: triqs, triqs/dfttools, trqis/cthyb, triqs/hubbardI.  And then I installed all these softwares in the one directory called triqs whose location is in parallel with the build directories.  \r\n\r\nIn each build directory, I run the following command before run \"make; make install\"\r\nThe cmake command for triqs is: \r\ncmake   -DCMAKE_INSTALL_PREFIX=/home/joser/software/triqs    ../triqs.src\r\n\r\nThe cmake command for triqs/cthyb is: \r\ncmake -DTRIQS_PATH=/home/joser/software/triqs  ../triqs_cthyb.src\r\n\r\nThe cmake command for triqs/dfttools is: \r\ncmake -DTRIQS_PATH=/home/joser/software/triqs  ../triqs_dfttools.src\r\n\r\nThe cmake command for triqs/hubbardI is: \r\ncmake -DTRIQS_PATH=/home/joser/software/triqs  ../triqs_hubbardI.src  \r\n\r\n\r\nThere two questions:\r\n1. Can \"triqs\" directory used for all these for software with their build directories independent?\r\n2. Is the DTRIQS_PATH correctly set?\r\n3. Should the cthyb be installed before dfttools for after it? Does the order of intallating different codes matter?\r\n\r\n\r\nBest regards.\r\nRiping Wang\r\n2016.2.10\r\n\r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/TRIQS/dft_tools/issues/comments/182686915","html_url":"https://github.com/TRIQS/dft_tools/issues/46#issuecomment-182686915","issue_url":"https://api.github.com/repos/TRIQS/dft_tools/issues/46","id":182686915,"user":{"login":"Joser1015","id":17152912,"avatar_url":"https://avatars.githubusercontent.com/u/17152912?v=3","gravatar_id":"","url":"https://api.github.com/users/Joser1015","html_url":"https://github.com/Joser1015","followers_url":"https://api.github.com/users/Joser1015/followers","following_url":"https://api.github.com/users/Joser1015/following{/other_user}","gists_url":"https://api.github.com/users/Joser1015/gists{/gist_id}","starred_url":"https://api.github.com/users/Joser1015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joser1015/subscriptions","organizations_url":"https://api.github.com/users/Joser1015/orgs","repos_url":"https://api.github.com/users/Joser1015/repos","events_url":"https://api.github.com/users/Joser1015/events{/privacy}","received_events_url":"https://api.github.com/users/Joser1015/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T03:37:41Z","updated_at":"2016-02-11T03:37:41Z","body":"Dear Seth,\r\n\r\nIn my each source code directories fo triqs. I run \"git pull\".\r\nAnd then I re-install from the very beginning, by removing previous installation.\r\n\r\nBefore installation, I run \r\nexport CC=/home/riping/software/gcc-5.3.0/bin/gcc \r\nexport CXX=/home/riping/software/gcc-5.3.0/bin/g++  \r\n\r\nThe cmake command gives the following information:\r\n-- -------- LibClang detection -------------\r\n-- Can not find libclang\r\n-- Can not find the Clang compiler, hence can not find the option for libclang\r\n-- Could NOT find LibClang (missing:  TRIQS_LIBCLANG_LOCATION TRIQS_LIBCLANG_CXX_ADDITIONAL_FLAGS) \r\n-- LibClang location: TRIQS_LIBCLANG_LOCATION-NOTFOUND\r\n\r\nBut the Cmake seems ok, it says that: \r\n-- -------- Making TRIQSConfig.cmake -------------\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/riping/software/triqs.build\r\n\r\nWhen I run \"make\", it complains that:\r\n [ 10%] Building CXX object triqs/CMakeFiles/triqs.dir/h5/file.cpp.o\r\n[ 10%] Building CXX object triqs/CMakeFiles/triqs.dir/h5/scalar.cpp.o\r\nIn file included from /home/riping/software/triqs.src/triqs/python_tools/wrapper_tools.cpp:7:0:\r\n/home/riping/software/triqs.src/triqs/python_tools/./wrapper_tools.hpp:8:33: fatal error: triqs/utility/c17.hpp: No such file or directory\r\ncompilation terminated.\r\nmake[2]: *** [triqs/CMakeFiles/triqs.dir/python_tools/wrapper_tools.cpp.o] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\n[ 10%] Linking CXX shared library libgtest.so\r\n[ 10%] Built target gtest\r\nmake[1]: *** [triqs/CMak\r\n\r\n\r\nDo you have any idea?\r\n\r\nBest regards.\r\nRiping Wang\r\n2015.2.11\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}