{"action":"created","issue":{"url":"https://api.github.com/repos/TRIQS/cthyb_matrix/issues/12","labels_url":"https://api.github.com/repos/TRIQS/cthyb_matrix/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/TRIQS/cthyb_matrix/issues/12/comments","events_url":"https://api.github.com/repos/TRIQS/cthyb_matrix/issues/12/events","html_url":"https://github.com/TRIQS/cthyb_matrix/issues/12","id":103333874,"number":12,"title":"Error while installing CTHYB Matrix solver","user":{"login":"hbaromega","id":6459517,"avatar_url":"https://avatars.githubusercontent.com/u/6459517?v=3","gravatar_id":"","url":"https://api.github.com/users/hbaromega","html_url":"https://github.com/hbaromega","followers_url":"https://api.github.com/users/hbaromega/followers","following_url":"https://api.github.com/users/hbaromega/following{/other_user}","gists_url":"https://api.github.com/users/hbaromega/gists{/gist_id}","starred_url":"https://api.github.com/users/hbaromega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbaromega/subscriptions","organizations_url":"https://api.github.com/users/hbaromega/orgs","repos_url":"https://api.github.com/users/hbaromega/repos","events_url":"https://api.github.com/users/hbaromega/events{/privacy}","received_events_url":"https://api.github.com/users/hbaromega/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-08-26T18:15:23Z","updated_at":"2015-08-28T22:04:14Z","closed_at":null,"body":"Hi,\r\n\r\nI have successfully installed TRIQS in the following directory: \r\n\r\n/home/hbar/Documents/CODES_DMFT/TRIQS \r\n\r\nand I have used the following steps in order to install cthyb-matrix .\r\n\r\n# Download package from the git repos\r\n`git clone https://github.com/TRIQS/cthyb_matrix.git src2`\r\n\r\n# Create build directory\r\n`mkdir -p build2 && cd build2`\r\n\r\n# Install CT-Hyb matrix solvers now\r\n\r\n`cmake -DCMAKE_INSTALL_PREFIX=/home/hbar/Documents/CODES_DMFT/TRIQS ../src2`\r\n`make`\r\n`make test`\r\n`make install`\r\n\r\nUnfortunately, I am encountering the following error message: \r\n\r\n\r\n``CMake Error: The source \"/home/hbar/Documents/CODES_DMFT/TRIQS/src2/CMakeLists.txt\" does not match the source \"/home/hbar/Documents/CODES_DMFT/TRIQS/src/CMakeLists.txt\" used to generate cache.  Re-run cmake with a different source directory.\r\nmake: *** No targets specified and no makefile found.  Stop.\r\nmake: *** No rule to make target `test'.  Stop.\r\nmake: *** No rule to make target `install'.  Stop.``\r\n\r\nWhat was I supposed to do? \r\n\r\nNote that I have followed the command lines given in\r\nhttp://ipht.cea.fr/triqs/1.1/applications/cthyb_matrix/install.html . Only the change that I made are the directory names \"src2\" and \"build2\" since the names \"src\" and \"build\" I have already used while installing TRIQS. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/TRIQS/cthyb_matrix/issues/comments/135898593","html_url":"https://github.com/TRIQS/cthyb_matrix/issues/12#issuecomment-135898593","issue_url":"https://api.github.com/repos/TRIQS/cthyb_matrix/issues/12","id":135898593,"user":{"login":"parcollet","id":1014945,"avatar_url":"https://avatars.githubusercontent.com/u/1014945?v=3","gravatar_id":"","url":"https://api.github.com/users/parcollet","html_url":"https://github.com/parcollet","followers_url":"https://api.github.com/users/parcollet/followers","following_url":"https://api.github.com/users/parcollet/following{/other_user}","gists_url":"https://api.github.com/users/parcollet/gists{/gist_id}","starred_url":"https://api.github.com/users/parcollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcollet/subscriptions","organizations_url":"https://api.github.com/users/parcollet/orgs","repos_url":"https://api.github.com/users/parcollet/repos","events_url":"https://api.github.com/users/parcollet/events{/privacy}","received_events_url":"https://api.github.com/users/parcollet/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T22:04:14Z","updated_at":"2015-08-28T22:04:14Z","body":"Indeed, an important rule is to never install manually what is in the distribution. \r\nOr in /usr/local, /opt/local only !\r\nSpecially mpi, or the compilers...\r\nYou may try to force the reinstallation openmpi-common and co (remove the package and reinstall them).\r\nIf it does not work, you may have to fully reinstall a clean Ubuntu..."}}