Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUTENSOR for windows #301

Closed
maleadt opened this issue Jul 18, 2020 · 3 comments · Fixed by #325
Closed

CUTENSOR for windows #301

maleadt opened this issue Jul 18, 2020 · 3 comments · Fixed by #325
Labels
enhancement New feature or request

Comments

@maleadt
Copy link
Member

maleadt commented Jul 18, 2020

https://developer.nvidia.com/cutensor/downloads has a windows installer now

cc @kshyatt

@maleadt maleadt added the enhancement New feature or request label Jul 18, 2020
@stillyslalom
Copy link
Contributor

I'm seeing a failure to locate cutensor.dll on master. Does it need to be downloaded separately via an external installer?

   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.0 (2020-08-01)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.5) pkg> add CUDA#master
   Updating git-repo `https://GitHub.com/JuliaGPU/CUDA.jl.git`
   Updating registry at `C:\Users\alexa\.julia\registries\General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
No Changes to `C:\Users\alexa\.julia\environments\v1.5\Project.toml`
No Changes to `C:\Users\alexa\.julia\environments\v1.5\Manifest.toml`

(@v1.5) pkg> test CUDA
    Testing CUDA
Status `C:\Users\alexa\AppData\Local\Temp\jl_fdUH4O\Project.toml`
  [621f4979] AbstractFFTs v0.5.0
  [79e6a3ab] Adapt v2.0.2
  [b99e7846] BinaryProvider v0.5.10
  [fa961155] CEnum v0.4.1
  [052768ef] CUDA v1.2.1 `https://GitHub.com/JuliaGPU/CUDA.jl.git#master`
  [864edb3b] DataStructures v0.17.20
  [e2ba6199] ExprTools v0.1.1
  [7a1cc6ca] FFTW v1.2.2
  [1a297f60] FillArrays v0.8.13
  [f6369f11] ForwardDiff v0.10.12
  [0c68f7d7] GPUArrays v5.0.0
  [61eb1bfa] GPUCompiler v0.5.5
  [929cbde3] LLVM v2.0.0
  [1914dd2f] MacroTools v0.5.5
  [872c559c] NNlib v0.7.4
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [a759f4b9] TimerOutputs v0.5.6
  [ade2ca70] Dates
  [8ba89e20] Distributed
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [44cfe95a] Pkg
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [8dfed614] Test
Status `C:\Users\alexa\AppData\Local\Temp\jl_fdUH4O\Manifest.toml`
  [621f4979] AbstractFFTs v0.5.0
  [79e6a3ab] Adapt v2.0.2
  [b99e7846] BinaryProvider v0.5.10
  [fa961155] CEnum v0.4.1
  [052768ef] CUDA v1.2.1 `https://GitHub.com/JuliaGPU/CUDA.jl.git#master`
  [bbf7d656] CommonSubexpressions v0.3.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.3+0
  [864edb3b] DataStructures v0.17.20
  [163ba53b] DiffResults v1.0.2
  [b552c78f] DiffRules v1.0.1
  [e2ba6199] ExprTools v0.1.1
  [7a1cc6ca] FFTW v1.2.2
  [f5851436] FFTW_jll v3.3.9+5
  [1a297f60] FillArrays v0.8.13
  [f6369f11] ForwardDiff v0.10.12
  [0c68f7d7] GPUArrays v5.0.0
  [61eb1bfa] GPUCompiler v0.5.5
  [1d5cc7b8] IntelOpenMP_jll v2018.0.3+0
  [929cbde3] LLVM v2.0.0
  [856f044c] MKL_jll v2020.1.216+0
  [1914dd2f] MacroTools v0.5.5
  [872c559c] NNlib v0.7.4
  [77ba4419] NaNMath v0.3.4
  [efe28fd5] OpenSpecFun_jll v0.5.3+3
  [bac558e1] OrderedCollections v1.3.0
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [276daf66] SpecialFunctions v0.10.3
  [90137ffa] StaticArrays v0.12.4
  [a759f4b9] TimerOutputs v0.5.6
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8ba89e20] Distributed
  [b77e0a4c] InteractiveUtils
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [44cfe95a] Pkg
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
ERROR: LoadError: could not load library "C:\Users\alexa\.julia\artifacts\804435c7dbe9d002d6caa0a8b3596d11a6faa778\bin\cutensor.dll"
The specified module could not be found.
Stacktrace:
 [1] dlopen(::String, ::UInt32; throw_error::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Libdl\src\Libdl.jl:109
 [2] dlopen at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Libdl\src\Libdl.jl:109 [inlined] (repeats 2 times)
 [3] use_artifact_cutensor(::VersionNumber) at C:\Users\alexa\.julia\packages\CUDA\7vLVC\deps\bindeps.jl:315
 [4] use_artifact_cuda() at C:\Users\alexa\.julia\packages\CUDA\7vLVC\deps\bindeps.jl:177
 [5] __init_dependencies__() at C:\Users\alexa\.julia\packages\CUDA\7vLVC\deps\bindeps.jl:342
 [6] __runtime_init__() at C:\Users\alexa\.julia\packages\CUDA\7vLVC\src\initialization.jl:112
 [7] (::CUDA.var"#609#610"{Bool})() at C:\Users\alexa\.julia\packages\CUDA\7vLVC\src\initialization.jl:32
 [8] lock(::CUDA.var"#609#610"{Bool}, ::ReentrantLock) at .\lock.jl:161
 [9] _functional(::Bool) at C:\Users\alexa\.julia\packages\CUDA\7vLVC\src\initialization.jl:26
 [10] functional(::Bool) at C:\Users\alexa\.julia\packages\CUDA\7vLVC\src\initialization.jl:19
 [11] macro expansion at C:\Users\alexa\.julia\packages\CUDA\7vLVC\src\initialization.jl:50 [inlined]
 [12] toolkit_release() at C:\Users\alexa\.julia\packages\CUDA\7vLVC\deps\bindeps.jl:32
 [13] top-level scope at C:\Users\alexa\.julia\packages\CUDA\7vLVC\test\runtests.jl:114
 [14] include(::String) at .\client.jl:457
 [15] top-level scope at none:6
in expression starting at C:\Users\alexa\.julia\packages\CUDA\7vLVC\test\runtests.jl:114
ERROR: Package CUDA errored during testing

@maleadt
Copy link
Member Author

maleadt commented Aug 6, 2020

Does that path not exist? It should be downloaded automatically. Please open an issue with more details, and include a listing of C:\Users\alexa\.julia\artifacts\804435c7dbe9d002d6caa0a8b3596d11a6faa778\bin.

@stillyslalom
Copy link
Contributor

#355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants