NVIDIA / NVIDIA/AMGX

Can not compile AmgX on WSL2 Ubuntu 18.04

Open
#159 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build issues
Dominant language
Cuda
Stars
692
Forks
197
PR merge metrics
No merged PRs in 30d

Description

8 errors detected in the compilation of "/home/thomaschi/AMGX-main/AMGX-main/core/src/solvers/dense_lu_solver.cu".
CMake Error at amgx_core_generated_dense_lu_solver.cu.o.Release.cmake:283 (message):
Error generating file
/home/thomaschi/AMGX-main/AMGX-main/build/core/CMakeFiles/amgx_core.dir/src/solvers/./amgx_core_generated_dense_lu_solver.cu.o

core/CMakeFiles/amgx_core.dir/build.make:609: recipe for target 'core/CMakeFiles/amgx_core.dir/src/solvers/amgx_core_generated_dense_lu_solver.cu.o' failed
make[2]: *** [core/CMakeFiles/amgx_core.dir/src/solvers/amgx_core_generated_dense_lu_solver.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/thomaschi/AMGX-main/AMGX-main/core/src/matrix_coloring/greedy_recolor.cu(153): warning #174-D: expression has no effect

/home/thomaschi/AMGX-main/AMGX-main/core/src/matrix_coloring/greedy_recolor.cu(213): warning #174-D: expression has no effect

CMakeFiles/Makefile2:259: recipe for target 'core/CMakeFiles/amgx_core.dir/all' failed
make[1]: *** [core/CMakeFiles/amgx_core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Scanning dependencies of target amgx_base
[ 48%] Linking CXX static library libamgx_base.a
[ 48%] Built target amgx_base
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the build on WSL2 Ubuntu 18.04 and inspect the compiler output for core/src/solvers/dense_lu_solver.cu; the reported CMake error is only a wrapper around the failed compilation. Check the related build output and core/src/matrix_coloring/greedy_recolor.cu warnings, with done defined as a successful AMGX build.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, linux, ubuntu
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.