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

NVHPC Support #693

Draft
wants to merge 59 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
9bead12
Patch RapidJson if using nvhpc
ptheywood Sep 22, 2021
865ac99
Adjust warning levels / suppressions when NVHPC is the host C++ compiler
ptheywood Sep 22, 2021
9f55bee
Enable linking against stdc++fs when using nvhpc
ptheywood Sep 22, 2021
182cdb5
Possible bugfix: Use insert not emplace fixes nvhpc + gcc9
ptheywood Oct 1, 2021
16ffca3
Only build Swig from source on linux if GNU compiler
ptheywood Apr 4, 2022
6ba94d0
fixup stdfilesystem nhvpc
ptheywood Jan 8, 2024
7acb020
Rough first pass at nvhpc ci
ptheywood Jan 8, 2024
0dc74c1
warning nvhpc cmake fix
ptheywood Jan 8, 2024
b412e7e
temp disable python stuff in nvhpc ci
ptheywood Jan 8, 2024
7c8ad99
nvhpc ci expansionn
ptheywood Jan 8, 2024
c80a411
nvhpc swig instrall tweaks
ptheywood Jan 8, 2024
9090a75
fixup
ptheywood Jan 8, 2024
8695236
Install pcre2-dev for swig build from source in nvhpc container
ptheywood Jan 8, 2024
d99b184
bigger nvhpc matrix
ptheywood Jan 8, 2024
3e49547
nvhpc ci fixup - don't use 2004 for now
ptheywood Jan 8, 2024
0131c02
use deadsnakes to select python
ptheywood Jan 8, 2024
ad8ca1a
deadsnakes fixup
ptheywood Jan 8, 2024
c5f2498
nvhpc disable vis builds for now
ptheywood Jan 8, 2024
acbb48c
22.11 cu 11.8 container path fix
ptheywood Jan 8, 2024
a5086f2
nhvpc add known ubuntu dev container urls for relevant cudas
ptheywood Jan 8, 2024
14020f7
deadsnakes fixup
ptheywood Jan 8, 2024
b44158d
deadsnakes fixup
ptheywood Jan 8, 2024
81d3b28
deadsnakes fixup2
ptheywood Jan 8, 2024
9526a8f
another deadsnakes pip fix attempt
ptheywood Jan 8, 2024
4935ea5
another deadsnakes pip fix attempt 2
ptheywood Jan 8, 2024
1c3a41c
deadsnakes install python3.x-dev
ptheywood Jan 8, 2024
44d5448
mayube fix deadnsakes pip by creating and activating a venv?
ptheywood Jan 8, 2024
b3c52c2
nvhpc ci - isntall a particular cmake version
ptheywood Jan 8, 2024
e7ca274
nvhpc ci fixes
ptheywood Jan 9, 2024
ada567d
Try fixing deadsnakes python again
ptheywood Jan 9, 2024
fb45eab
more nvhpc deadsnakes ci fix attempts
ptheywood Jan 9, 2024
a249956
More deadsnakes venv fix attempts
ptheywood Jan 9, 2024
325f00f
another deadsnakes venv fix attempt
ptheywood Jan 9, 2024
925dab8
nvhpc fix
ptheywood Jan 9, 2024
2b55585
ci debugging
ptheywood Jan 9, 2024
26adf7c
Try another thing
ptheywood Jan 9, 2024
a821711
Remove ci debugging code
ptheywood Jan 9, 2024
6d2e823
Adjust nvhpc ci matrix. more nvhpc, single python
ptheywood Jan 9, 2024
a117bfa
widen nvhpc ci matrix to detect when curand started working
ptheywood Jan 9, 2024
acb31bb
try nvhpc 22.1 and 22.2 to find when curand starts working
ptheywood Jan 9, 2024
850e09e
try to ensure cmake uses nvc++
ptheywood Jan 9, 2024
834a25a
fixup
ptheywood Jan 9, 2024
fa5ba59
WIP: Add curand's repackaged location when using nvhpc, but this then…
ptheywood Jan 9, 2024
cc92e9c
Adjust cmake_minimim_required upper limit to set all new policies to NEW
ptheywood Jan 9, 2024
6cc9bcd
nvhpc suppress unused parameter warnings in JSONAdjacencyGraphSizeReader
ptheywood Jan 11, 2024
5c5d373
NVHPC fix implicit conversion int sign change warnings
ptheywood Jan 11, 2024
8097d47
try only building all remaingin targets with 1 process, potential ci …
ptheywood Jan 11, 2024
3fe66d3
Only set -Wno-unused-but-set-parameter where nvhpc supports it (maybe…
ptheywood Jan 11, 2024
d3061e8
fixup
ptheywood Jan 11, 2024
604928c
add nvcc from nvhpc but use gcc to ci. This might not work at all yet
ptheywood Jan 11, 2024
02a0a46
remove superfluous cmake message
ptheywood Jan 11, 2024
334afe2
attemtpt to add diagnostic error numbers to nvc++ warnings so they ca…
ptheywood Jan 11, 2024
cb0b9d3
Don't enable -Wsigncompare with older nvhpc
ptheywood Jan 11, 2024
d6f17f8
Supress parameter declared but never referenced when using older nvhpc
ptheywood Jan 11, 2024
8c29297
nvhpc CI: if configure fails, cat the logs.
ptheywood Jan 11, 2024
05150cf
cmake warnings fixup
ptheywood Jan 11, 2024
a27d9ec
tweaks
ptheywood Jan 11, 2024
24226fd
Attempt to fix some nvhpc ci via allow-unsupported-compilers
ptheywood Jan 11, 2024
e0b0f69
try much newer CMake, to see if that resolves anything
ptheywood Jan 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Supress parameter declared but never referenced when using older nvhpc
ptheywood committed Jan 15, 2024
commit d6f17f8fccf1d7042e02e0e051c5d4f4c995aca2
4 changes: 4 additions & 0 deletions cmake/warnings.cmake
Original file line number Diff line number Diff line change
@@ -132,6 +132,10 @@ if(NOT COMMAND flamegpu_suppress_some_compiler_warnings)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "22.7")
target_compile_options(${SSCW_TARGET} PRIVATE "$<$<COMPILE_LANGUAGE:C,CXX>:SHELL:-Wno-unused-but-set-parameter>")
target_compile_options(${SSCW_TARGET} PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler -Wno-unused-but-set-parameter>")
else()
# parameter "x" was declared but never referenced
target_compile_options(${SSCW_TARGET} PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcudafe --diag_suppress=177>")
target_compile_options(${SSCW_TARGET} PRIVATE "$<$<COMPILE_LANGUAGE:C,CXX>:SHELL:--diag_suppress=177>")
endif()
else()
# Linux specific warning suppressions