-
Notifications
You must be signed in to change notification settings - Fork 136
Closed
Labels
awaiting responseThis expects a response from maintainer or contributor depending on who requested in last comment.This expects a response from maintainer or contributor depending on who requested in last comment.bugSomething isn't workingSomething isn't working
Description
Describe the bug
When trying to run build.sh in the cuopt_dev container the build for the cuOpt libraries fails.
Steps/Code to reproduce bug
On a machine with a grace CPU, Grace-Hopper or Grace-Blackwell, run the build script in the cuopt_dev container via micromamba. You may need to get a newer version of cmake than is in the apt-get repository.
Expected behavior
I expect the build to succeed, and it was a couple of releases back.
Environment details (please complete the following information):
- Environment location: Bare metal
- Method of cuOpt install: from source
The C compiler
"/home/mark/micromamba/envs/cuopt_dev/bin/aarch64-conda-linux-gnu-cc"
is not able to compile a simple test program.
`CMake Error at /home/mark/micromamba/envs/cuopt_dev/share/cmake-4.1/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"/home/mark/micromamba/envs/cuopt_dev/bin/aarch64-conda-linux-gnu-cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/mark/documents/repos/cuopt/cpp/build/CMakeFiles/CMakeScratch/TryCompile-XKLhC6'
Run Build Command(s): /home/mark/micromamba/envs/cuopt_dev/bin/ninja -v cmTC_c5cd6
[1/2] /home/mark/micromamba/envs/cuopt_dev/bin/aarch64-conda-linux-gnu-cc -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /home/mark/micromamba/envs/cuopt_dev/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/mark/micromamba/envs/cuopt_dev/include -I/home/mark/micromamba/envs/cuopt_dev/targets/sbsa-linux/include -I/home/mark/micromamba/envs/cuopt_dev/targets/sbsa-linux/include/cccl -o CMakeFiles/cmTC_c5cd6.dir/testCCompiler.c.o -c /home/mark/documents/repos/cuopt/cpp/build/CMakeFiles/CMakeScratch/TryCompile-XKLhC6/testCCompiler.c
FAILED: [code=1] CMakeFiles/cmTC_c5cd6.dir/testCCompiler.c.o
/home/mark/micromamba/envs/cuopt_dev/bin/aarch64-conda-linux-gnu-cc -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /home/mark/micromamba/envs/cuopt_dev/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/mark/micromamba/envs/cuopt_dev/include -I/home/mark/micromamba/envs/cuopt_dev/targets/sbsa-linux/include -I/home/mark/micromamba/envs/cuopt_dev/targets/sbsa-linux/include/cccl -o CMakeFiles/cmTC_c5cd6.dir/testCCompiler.c.o -c /home/mark/documents/repos/cuopt/cpp/build/CMakeFiles/CMakeScratch/TryCompile-XKLhC6/testCCompiler.c
Assembler messages:
Error: unknown architecture `nocona'
Error: unrecognized option `-march=nocona'
cc1: error: unknown value 'nocona' for '-march'
cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a armv8.6-a armv8.7-a armv8.8-a armv8.9-a armv8-r armv9-a armv9.1-a armv9.2-a armv9.3-a armv9.4-a native
cc1: error: unknown value 'haswell' for '-mtune'
cc1: note: valid arguments are: cortex-a34 cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81 octeontx83 thunderxt81 thunderxt83 ampere1 ampere1a ampere1b emag xgene1 falkor qdf24xx exynos-m1 phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76 cortex-a76ae cortex-a77 cortex-a78 cortex-a78ae cortex-a78c cortex-a65 cortex-a65ae cortex-x1 cortex-x1c neoverse-n1 ares neoverse-e1 octeontx2 octeontx2t98 octeontx2t96 octeontx2t93 octeontx2f95 octeontx2f95n octeontx2f95mm a64fx fujitsu-monaka tsv110 thunderx3t110 neoverse-v1 zeus neoverse-512tvb saphira cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a75.cortex-a55 cortex-a76.cortex-a55 cortex-r82 cortex-a510 cortex-a520 cortex-a710 cortex-a715 cortex-a720 cortex-a725 cortex-x2 cortex-x3 cortex-x4 cortex-x925 neoverse-n2 cobalt-100 neoverse-n3 neoverse-v2 grace neoverse-v3 neoverse-v3ae demeter generic generic-armv8-a generic-armv9-a
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:33 (project)
`Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
awaiting responseThis expects a response from maintainer or contributor depending on who requested in last comment.This expects a response from maintainer or contributor depending on who requested in last comment.bugSomething isn't workingSomething isn't working