Unable to run examples after successful build
Nobody has claimed this yet.
- Dominant language
- Cuda
- Stars
- 692
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
My workstation has Quadro RTX 5000 GPU with 16 GB memory, running NVIDIA Driver 470.103.01, and supporting CUDA 11.4.
The output of nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Nov_30_19:08:53_PST_2020
Cuda compilation tools, release 11.2, V11.2.67
Build cuda_11.2.r11.2/compiler.29373293_0
I am able to successfully build and install AMGX following the instructions provided here. Howeve I am unable to run the examples. When I try running the fist example I obtain the following. I am not sure whats the issue since the installation went error free.
visitor@user:~/amgx/build$ examples/amgx_capi -m ../examples/matrix.mtx -c ../src/configs/FGMRES_AGGREGATION.json
AMGX version 2.5.0
Built on Jan 23 2025, 11:28:13
AMGX ERROR: file /home/visitor/amgx/examples/amgx_capi.c line 222
AMGX ERROR: Error initializing amgx core.
Failed while initializing CUDA runtime in cudaRuntimeGetVersion
Please let me know how I can proceed with solving this issue.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The failure is reported at examples/amgx_capi.c line 222; start by reviewing the build and installation instructions alongside the reported driver, nvcc, and CUDA versions. Done means identifying a reproducible cause for the CUDA runtime initialization failure and validating a way to run the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- hpc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100