{"action":"closed","issue":{"url":"https://api.github.com/repos/GooFit/GooFit/issues/72","repository_url":"https://api.github.com/repos/GooFit/GooFit","labels_url":"https://api.github.com/repos/GooFit/GooFit/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/GooFit/GooFit/issues/72/comments","events_url":"https://api.github.com/repos/GooFit/GooFit/issues/72/events","html_url":"https://github.com/GooFit/GooFit/issues/72","id":229297904,"number":72,"title":"Compile Error, please help!","user":{"login":"rhett533","id":28751720,"avatar_url":"https://avatars0.githubusercontent.com/u/28751720?v=3","gravatar_id":"","url":"https://api.github.com/users/rhett533","html_url":"https://github.com/rhett533","followers_url":"https://api.github.com/users/rhett533/followers","following_url":"https://api.github.com/users/rhett533/following{/other_user}","gists_url":"https://api.github.com/users/rhett533/gists{/gist_id}","starred_url":"https://api.github.com/users/rhett533/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhett533/subscriptions","organizations_url":"https://api.github.com/users/rhett533/orgs","repos_url":"https://api.github.com/users/rhett533/repos","events_url":"https://api.github.com/users/rhett533/events{/privacy}","received_events_url":"https://api.github.com/users/rhett533/received_events","type":"User","site_admin":false},"labels":[{"id":33360126,"url":"https://api.github.com/repos/GooFit/GooFit/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-05-17T09:54:34Z","updated_at":"2017-05-25T12:11:46Z","closed_at":"2017-05-25T12:11:46Z","body":"Hi all!  I  compile the GooFit-0.3 with cuda-6.5 following the documentation.pdf in the GooFit-0.3 package, and copy thrust directory(1.6.0 version) to /usr/local/cuda-6.5/include.  But  errors occurs as follows:\r\nGooFit-0.3/PDFs/DalitzPlotPdf.cu(160): error: calling a __device__ function(\"devcomplex\") from a __host__ function(\"DalitzPlotPdf\") is not allowed\r\nGooFit-0.3/PDFs/DalitzPlotPdf.cu(236): error: calling a __device__ function(\"devcomplex\") from a __host__ function(\"normalise\") is not allowed\r\n2 errors detected in the compilation of \"/tmp/tmpxft_00006331_00000000-4_CUDAglob.cpp4.ii\".\r\n\r\n\r\nThen I try the newest version GooFit with cuda-8.0 and thrust-1.8.1, there is other error as follows:\r\nCMake Error at CMakeLists.txt:206 (find_package):\r\n  By not providing \"FindThrust.cmake\" in CMAKE_MODULE_PATH this project has\r\n  asked CMake to find a package configuration file provided by \"Thrust\", but\r\n  CMake did not find one.\r\n\r\n  Could not find a package configuration file provided by \"Thrust\" (requested\r\n  version 1.8) with any of the following names:\r\n\r\n    ThrustConfig.cmake\r\n    thrust-config.cmake\r\n\r\n  Add the installation prefix of \"Thrust\" to CMAKE_PREFIX_PATH or set\r\n  \"Thrust_DIR\" to a directory containing one of the above files.  If \"Thrust\"\r\n  provides a separate development package or SDK, be sure it has been\r\n  installed.\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/jiangt/soft/GooFit-master/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/home/jiangt/soft/GooFit-master/build/CMakeFiles/CMakeError.log\". \r\n\r\n\r\nI find there isn't ThrustConfig.cmake or thrust-config.cmake in the thrust-1.8.1 package,  and i has tried \r\nto search on the WEB for some useful information buf find nothing about the errors above.\r\nAny help will be appreciated ! Thanks!"}}
{"actor":{"display_login":"henryiii"}}