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

CUDA app by PackageCompiler hangs at runtime on Ubuntu / Debian #1026

Open
paulxshen opened this issue Jan 22, 2025 · 1 comment
Open

CUDA app by PackageCompiler hangs at runtime on Ubuntu / Debian #1026

paulxshen opened this issue Jan 22, 2025 · 1 comment

Comments

@paulxshen
Copy link

Dummy app made by PackageCompiler with [email protected] (latest) as sole dep hangs at runtime on Ubuntu 24 and Debian 12. Works on Windows.

module Dummy
function julia_main()::Cint
    return 0
end
end
name = "Dummy"
uuid = "60a98398-2d19-4130-ae20-63172a4a42f2"

[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
using PackageCompiler
create_app("Dummy", "CompiledDummy")
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 16 × AMD EPYC 7R32
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, znver2)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)

(also failed on Debian 12 w/ Xeon, Nvidia T4)

I made this MWE after discovering a more complicated PackageCompiler app worked after removing CUDA. same thread as https://discourse.julialang.org/t/cuda-app-by-packagecompiler-hangs-at-runtime-on-ubuntu-debian/124995/3

@paulxshen
Copy link
Author

paulxshen commented Mar 15, 2025

Update: problem arises on Google Colab and not in AWS VMs. Problem persists with julia11.4 cuda.jl5.7 . But I need this to work on Colab! Happy to pay couple hours of consulting for anyone who can fix this problem.

Culprit may be LDPATH or runtime other than bundled w/ CUDA.jl getting loaded

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

No branches or pull requests

1 participant