{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaGPU/CUDAapi.jl/issues/51","repository_url":"https://api.github.com/repos/JuliaGPU/CUDAapi.jl","labels_url":"https://api.github.com/repos/JuliaGPU/CUDAapi.jl/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/JuliaGPU/CUDAapi.jl/issues/51/comments","events_url":"https://api.github.com/repos/JuliaGPU/CUDAapi.jl/issues/51/events","html_url":"https://github.com/JuliaGPU/CUDAapi.jl/issues/51","id":337044312,"node_id":"MDU6SXNzdWUzMzcwNDQzMTI=","number":51,"title":"CUDAapi cannot find CUDA binary location. ","user":{"login":"xiaoqi-hu","id":9440315,"node_id":"MDQ6VXNlcjk0NDAzMTU=","avatar_url":"https://avatars0.githubusercontent.com/u/9440315?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoqi-hu","html_url":"https://github.com/xiaoqi-hu","followers_url":"https://api.github.com/users/xiaoqi-hu/followers","following_url":"https://api.github.com/users/xiaoqi-hu/following{/other_user}","gists_url":"https://api.github.com/users/xiaoqi-hu/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoqi-hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoqi-hu/subscriptions","organizations_url":"https://api.github.com/users/xiaoqi-hu/orgs","repos_url":"https://api.github.com/users/xiaoqi-hu/repos","events_url":"https://api.github.com/users/xiaoqi-hu/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoqi-hu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-06-29T15:33:20Z","updated_at":"2018-08-11T11:55:42Z","closed_at":"2018-08-11T11:55:42Z","author_association":"NONE","body":"I got this error when trying to build `CUDAnative`.\r\n\r\n```julia> Pkg.build(\"CUDAnative\")\r\n  Building LLVM ──────→ `~/.julia/packages/LLVM/FAUY/deps/build.log`\r\n  Building CUDAdrv ───→ `~/.julia/packages/CUDAdrv/GyXD/deps/build.log`\r\n  Building CUDAnative → `~/.julia/packages/CUDAnative/mXUk/deps/build.log`\r\n┌ Error: Error building `CUDAnative`:\r\n│ ┌ Debug: Looking for CUDA toolkit via environment variables\r\n│ │   CUDA_HOME = \"/sw/software/cuda/9.1/centos7.3_binary/\"\r\n│ └ @ CUDAapi CUDAapi.jl:15\r\n│ ┌ Debug: Request to look for binary nvcc\r\n│ │   locations =\r\n│ │    1-element Array{String,1}:\r\n│ │     \"/sw/software/cuda/9.1/centos7.3_binary/\"\r\n│ └ @ CUDAapi CUDAapi.jl:15\r\n│ ┌ Debug: Looking for binary nvcc\r\n│ │   locations =\r\n│ │    25-element Array{String,1}:\r\n│ │     \"/sw/software/cuda/9.1/centos7.3_binary/\"\r\n│ │     \"/sw/software/cuda/9.1/centos7.3_binary/bin\"\r\n│ │     \"/sw/software/cuda/9.1/centos7.3_binary/bin\"\r\n│ │     \"/usr/local/bin\"\r\n│ │     ⋮\r\n│ │     \"/d/home/xiaoqihu/cuda/bin\"\r\n│ │     \"/d/home/xiaoqihu/bin\"\r\n│ │     \"/d/home/xiaoqihu/cuda/bin\"\r\n│ └ @ CUDAapi CUDAapi.jl:15\r\n│ ┌ Debug: Found binary nvcc at /sw/software/cuda/9.1/centos7.3_binary\r\n│ └ @ CUDAapi discovery.jl:126\r\n│ ERROR: LoadError: could not spawn `/sw/software/cuda/9.1/centos7.3_binary/nvcc --version`: no such file or directory (ENOENT)\r\n│ Stacktrace:\r\n│  [1] _jl_spawn(::String, ::Array{String,1}, ::Cmd, ::Tuple{Base.DevNullStream,Base.PipeEndpoint,RawFD}) at ./process.jl:370\r\n│  [2] (::getfield(Base, Symbol(\"##495#496\")){Cmd})(::Tuple{Base.DevNullStream,Base.PipeEndpoint,RawFD}) at ./process.jl:512\r\n│  [3] setup_stdio(::getfield(Base, Symbol(\"##495#496\")){Cmd}, ::Tuple{Base.DevNullStream,Pipe,IOStream}) at ./process.jl:493\r\n│  [4] #_spawn#494(::Nothing, ::Function, ::Cmd, ::Tuple{Base.DevNullStream,Pipe,IOStream}) at ./process.jl:511\r\n│  [5] _spawn(::Cmd, ::Tuple{Base.DevNullStream,Pipe,IOStream}) at ./process.jl:507\r\n│  [6] #open#504(::Bool, ::Bool, ::Function, ::Cmd, ::Base.DevNullStream) at ./process.jl:601\r\n│  [7] open at ./process.jl:591 [inlined]\r\n│  [8] open(::Cmd, ::String, ::Base.DevNullStream) at ./process.jl:572\r\n│  [9] read(::Cmd) at ./process.jl:646\r\n│  [10] read(::Cmd, ::Type{String}) at ./process.jl:652\r\n│  [11] find_toolkit_version(::Array{String,1}) at /d/home/xiaoqihu/.julia/packages/CUDAapi/g08Z/src/discovery.jl:259\r\n│  [12] main() at /d/home/xiaoqihu/.julia/packages/CUDAnative/mXUk/deps/build.jl:114\r\n│  [13] top-level scope at none:0\r\n│  [14] include at ./boot.jl:317 [inlined]\r\n│  [15] include_relative(::Module, ::String) at ./loading.jl:1075\r\n│  [16] include(::Module, ::String) at ./sysimg.jl:29\r\n│  [17] include(::String) at ./client.jl:393\r\n│  [18] top-level scope at none:0\r\n│ in expression starting at /d/home/xiaoqihu/.julia/packages/CUDAnative/mXUk/deps/build.jl:156\r\n└ @ Pkg.Operations Operations.jl:973\r\n```\r\n\r\nHere is my version info, I am using 0.7-beta, but I got the same error using 0.6.2:\r\n```\r\njulia> versioninfo()\r\nJulia Version 0.7.0-beta.0\r\nCommit f41b1ecaec (2018-06-24 01:32 UTC)\r\nPlatform Info:\r\n  OS: Linux (x86_64-pc-linux-gnu)\r\n  CPU: Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz\r\n  WORD_SIZE: 64\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-6.0.0 (ORCJIT, skylake)\r\nEnvironment:\r\n  JULIA_DEBUG = CUDAapi\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaGPU/CUDAapi.jl/issues/comments/412270514","html_url":"https://github.com/JuliaGPU/CUDAapi.jl/issues/51#issuecomment-412270514","issue_url":"https://api.github.com/repos/JuliaGPU/CUDAapi.jl/issues/51","id":412270514,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjI3MDUxNA==","user":{"login":"maleadt","id":383068,"node_id":"MDQ6VXNlcjM4MzA2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/383068?v=4","gravatar_id":"","url":"https://api.github.com/users/maleadt","html_url":"https://github.com/maleadt","followers_url":"https://api.github.com/users/maleadt/followers","following_url":"https://api.github.com/users/maleadt/following{/other_user}","gists_url":"https://api.github.com/users/maleadt/gists{/gist_id}","starred_url":"https://api.github.com/users/maleadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maleadt/subscriptions","organizations_url":"https://api.github.com/users/maleadt/orgs","repos_url":"https://api.github.com/users/maleadt/repos","events_url":"https://api.github.com/users/maleadt/events{/privacy}","received_events_url":"https://api.github.com/users/maleadt/received_events","type":"User","site_admin":false},"created_at":"2018-08-11T11:55:42Z","updated_at":"2018-08-11T11:55:42Z","author_association":"MEMBER","body":"Closing due to inactivity."}}
{"actor":{"display_login":"maleadt"}}