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

AMGX could not be initialized #31

Open
AlexandreChern opened this issue Mar 23, 2024 · 1 comment
Open

AMGX could not be initialized #31

AlexandreChern opened this issue Mar 23, 2024 · 1 comment

Comments

@AlexandreChern
Copy link

Hi, I am following the tutorial in the README to install AMGX and test with some examples. I could not initialize AMGX for the following error. Can you help me figure out where it went wrong? I've attached versioninfo for CUDA.jl and also Julia.

julia> AMGX.initialize()
ERROR: could not load symbol "AMGX_initialize":
julia: undefined symbol: AMGX_initialize
Stacktrace:
 [1] macro expansion
   @ ~/.julia/packages/AMGX/TrNyF/src/AMGX.jl:46 [inlined]
 [2] AMGX_initialize
   @ ~/.julia/packages/AMGX/TrNyF/lib/libAMGX.jl:18 [inlined]
 [3] macro expansion
   @ ~/.julia/packages/AMGX/TrNyF/src/errors.jl:20 [inlined]
 [4] initialize()
   @ AMGX ~/.julia/packages/AMGX/TrNyF/src/utilities.jl:5
 [5] top-level scope
   @ REPL[2]:1
 [6] top-level scope
   @ ~/.julia/packages/CUDA/35NC6/src/initialization.jl:190

julia> versioninfo()
Julia Version 1.10.2
Commit bd47eca2c8a (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 5800H with Radeon Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
  LD_LIBRARY_PATH = :/usr/local/cuda/lib64

julia> CUDA.versioninfo()
CUDA runtime 12.1, artifact installation
CUDA driver 12.3
NVIDIA driver 545.29.6

CUDA libraries: 
- CUBLAS: 12.3.2
- CURAND: 10.3.2
- CUFFT: 11.0.2
- CUSOLVER: 11.4.5
- CUSPARSE: 12.1.0
- CUPTI: 18.0.0
- NVML: 12.0.0+545.29.6

Julia packages: 
- CUDA: 4.4.1
- CUDA_Driver_jll: 0.5.0+1
- CUDA_Runtime_jll: 0.6.0+0

Toolchain:
- Julia: 1.10.2
- LLVM: 15.0.7
- 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, 7.1, 7.2, 7.3, 7.4, 7.5
- Device capability support: sm_37, sm_50, sm_52, sm_53, sm_60, sm_61, sm_62, sm_70, sm_72, sm_75, sm_80, sm_86

1 device:
  0: NVIDIA GeForce RTX 3060 Laptop GPU (sm_86, 4.589 GiB / 6.000 GiB available)


@moyner
Copy link
Contributor

moyner commented Nov 12, 2024

This may be fixed by the 0.2.0 release that is now out which supports Julia 1.10 if you can update your environment and test.

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

2 participants