Hi,
I saw an old issue about it when we use PackageCompiler with CUDA
Just to start with PackageCompiler I use only CUDA versioninfo() and ndevices() functions
I have no issue at all to create library but I got a segmentation fault with the executable in init_julia
As I am new with PackageCompiler, please could you comfirm it should work with the following versions:
julia 1.8.5
CUDA v3.13.1
PackageCompiler v2.1.7
signal (11): Segmentation fault
in expression starting at none:0
#75 at /pbs/home/l/lebrun/.julia/packages/Requires/Z8rfN/src/require.jl:101
unknown function (ip: 0x7fc4300481df)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
macro expansion at ./timing.jl:382 [inlined]
err at /pbs/home/l/lebrun/.julia/packages/Requires/Z8rfN/src/require.jl:47
#74 at /pbs/home/l/lebrun/.julia/packages/Requires/Z8rfN/src/require.jl:100
unknown function (ip: 0x7fc43004813f)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
withpath at /pbs/home/l/lebrun/.julia/packages/Requires/Z8rfN/src/require.jl:37
#73 at /pbs/home/l/lebrun/.julia/packages/Requires/Z8rfN/src/require.jl:99
unknown function (ip: 0x7fc4300480cf)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
listenpkg at /pbs/home/l/lebrun/.julia/packages/Requires/Z8rfN/src/require.jl:20
macro expansion at /pbs/home/l/lebrun/.julia/packages/Requires/Z8rfN/src/require.jl:98 [inlined]
__init__ at /pbs/throng/comet/Julia/julia-1.8.5/share/julia/packages/CUDA/BbliS/src/initialization.jl:35
jfptr___init___50157 at /pbs/home/l/lebrun/comet/ApolloniusICEDUST/ApolloniusLib/ApolloniusLibCompiled/lib/libapolloniuslib.so (unknown line)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
jl_module_run_initializer at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:75
_finish_julia_init at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/init.c:765
julia_init at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/init.c:698
main at my_application.out (unknown line)
Segmentation fault