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

Failed to precompile Tullio #135

Open
Himbeersternchen opened this issue Jan 28, 2022 · 4 comments
Open

Failed to precompile Tullio #135

Himbeersternchen opened this issue Jan 28, 2022 · 4 comments
Labels

Comments

@Himbeersternchen
Copy link

Himbeersternchen commented Jan 28, 2022

I 've added the package Tullio, and can not use it. After using Tullio the precompilling error was shown as below:

julia> using Tullio
[ Info: Precompiling Tullio [bc48ee85-29a4-5162-ae0b-a64e1601d4bc]

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 -- at 0x0 -- CESS_VIOLATION with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 -- at 0x0 -- CESS_VIOLATION with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 -- at 0x0 -- CESS_VIOLATION with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 -- unknown function (ip: 0000000000000000)
in expression starting at C:\Users\Himbein expression starting at C:\Users\Himbeersternchen.julia\packages\DiffRules\nsnDx\src\api.jl:4
in expression starting at C:\Users\Himbein expression starting at C:\Users\Himbeersternchen.julia\packages\DiffRules\nsnDx\src\api.jl:4
in expression starting at C:\Users\Himbein expression starting at C:\Users\Himbeersternchen.julia\packages\DiffRules\nsnDx\src\api.jl:4
in expression starting at C:\Users\Himbeersternchen.julia\packages\DiffRules\nsnDx\src\api.jl:4
ERROR: LoadError: LoadError: Failed to precompile DiffRules [b552c78f-8df3-52c6-915a-8e097449b14b] to C:\Users\Himbeersternchen.julia\compiled\v1.6\DiffRules\jl_59A6.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1329
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1043
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:936
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:923
[7] include(mod::Module, _path::String)
@ Base .\Base.jl:386
[8] include(x::String)
@ Tullio C:\Users\Himbeersternchen.julia\packages\Tullio\qPZkO\src\Tullio.jl:1
[9] top-level scope
@ C:\Users\Himbeersternchen.julia\packages\Tullio\qPZkO\src\Tullio.jl:13
[10] include
@ .\Base.jl:386 [inlined]
[11] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base .\loading.jl:1235
[12] top-level scope
@ none:1
[13] eval
@ .\boot.jl:360 [inlined]
[14] eval(x::Expr)
@ Base.MainInclude .\client.jl:446
[15] top-level scope
@ none:1
in expression starting at C:\Users\Himbeersternchen.julia\packages\Tullio\qPZkO\src\symbolic.jl:4
in expression starting at C:\Users\Himbeersternchen.julia\packages\Tullio\qPZkO\src\Tullio.jl:1
ERROR: Failed to precompile Tullio [bc48ee85-29a4-5162-ae0b-a64e1601d4bc] to C:\Users\Himbeersternchen.julia\compiled\v1.6\Tullio\jl_543B.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1329
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1043
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:936
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:923
[7] top-level scope
@ C:\Users\Himbeersternchen.julia\packages\CUDA\Pn8um\src\initialization.jl:52

@mcabbott
Copy link
Owner

That's not good. I have never seen this before.

Could you post what versioninfo() says? And perhaps exactly what version of DiffRules this is with, like ] st DiffRules although you may not have it installed directly...

@Himbeersternchen
Copy link
Author

Thanks for your Answer, i ll show CUDA.versioninfo() and version of DiffRules:

julia> CUDA.versioninfo()
CUDA toolkit 11.6, artifact installation
Unknown NVIDIA driver, for CUDA 11.4
CUDA driver 11.4

Libraries:

  • CUBLAS: 11.8.1
  • CURAND: 10.2.9
  • CUFFT: 10.7.0
  • CUSOLVER: 11.3.2
  • CUSPARSE: 11.7.1
  • CUPTI: 16.0.0
  • NVML: missing
  • CUDNN: 8.30.2 (for CUDA 11.5.0)
  • CUTENSOR: 1.4.0 (for CUDA 11.5.0)

Toolchain:

  • Julia: 1.6.2
  • LLVM: 11.0.1
  • PTX ISA support: 3.2, 4.0, 4.1, 4.2, 4.3, 5.0, 6.0, 6.1, 6.3, 6.4, 6.5, 7.0
  • Device capability support: sm_35, sm_37, sm_50, sm_52, sm_53, sm_60, sm_61, sm_62, sm_70, sm_72, sm_75, sm_80

1 device:
0: NVIDIA GeForce GTX 1060 6GB (sm_61, 5.106 GiB / 6.000 GiB available)

First of show version of DiffRules:
(@v1.6) pkg> st DiffRules
No Matches in C:\Users\Himbeersternchen\.julia\environments\v1.6\Project.toml

Then i added this Package:
(@v1.6) pkg> add DiffRules
Resolving package versions...
Updating C:\Users\Himbeersternchen\.julia\environments\v1.6\Project.toml
[b552c78f] + DiffRules v1.9.0
No Changes to C:\Users\Himbeersternchen\.julia\environments\v1.6\Manifest.toml

Again show version of DiffRules -> 1.9.0
(@v1.6) pkg> st DiffRules
Status C:\Users\Himbeersternchen\.julia\environments\v1.6\Project.toml
[b552c78f] DiffRules v1.9.0

@Himbeersternchen
Copy link
Author

That's not good. I have never seen this before.

Could you post what versioninfo() says? And perhaps exactly what version of DiffRules this is with, like ] st DiffRules although you may not have it installed directly...

I have showed the info, i hope you got the message of my last comment.

@mcabbott
Copy link
Owner

Does this still happen? I'm sorry I can't reproduce this, and am not sure what to suggest.

If so, does it happen with using CUDA, DiffRules? The CUDA.jl people may know better. The line [7] packages\CUDA\Pn8um\src\initialization.jl:52 points to this, but I don't know why it's used:

https://github.com/JuliaGPU/CUDA.jl/blob/master/src/initialization.jl#L49-L52

@mcabbott mcabbott added the GPU label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants