diff --git a/roughpaper/build_compile_test.sh b/roughpaper/build_compile_test.sh index 537b7444f..365b4c0d6 100755 --- a/roughpaper/build_compile_test.sh +++ b/roughpaper/build_compile_test.sh @@ -37,7 +37,7 @@ gcc="/sw/spack-levante/gcc-11.2.0-bcn7mb/bin/gcc" CC=${gcc} # C CXX=${gxx} # C++ -CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) +CMAKE_CXX_FLAGS="-Werror -Wall -Wextra -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) # CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -O3" # performance ### ---------------------------------------------------- ### @@ -51,11 +51,6 @@ CUDA_ROOT="/sw/spack-levante/nvhpc-23.9-xpxqeo/Linux_x86_64/23.9/cuda/" NVCC_WRAPPER_DEFAULT_COMPILER=${gxx} ### ---------------------------------------------------- ### -### ------------ choose extra compiler flags ----------- ### -CMAKE_CXX_FLAGS="-Wall -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) -#CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -O3" # performance -### ---------------------------------------------------- ### - ### ------------ choose Kokkos configuration ----------- ### # flags for serial kokkos kokkosflags="-DKokkos_ARCH_NATIVE=ON -DKokkos_ARCH_AMPERE80=ON -DKokkos_ENABLE_SERIAL=ON" diff --git a/scripts/bash/build_cleo_cuda_openmp.sh b/scripts/bash/build_cleo_cuda_openmp.sh index 82950e775..f5d2c9389 100755 --- a/scripts/bash/build_cleo_cuda_openmp.sh +++ b/scripts/bash/build_cleo_cuda_openmp.sh @@ -37,7 +37,7 @@ path2build=$2 # get from command line argument CC=${gcc} # C CXX=${gxx} # C++ -# CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) +# CMAKE_CXX_FLAGS="-Werror -Wall -Wextra -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -O3" # performance ### ---------------------------------------------------- ### diff --git a/scripts/bash/build_cleo_openmp.sh b/scripts/bash/build_cleo_openmp.sh index 320248e08..dac713d05 100755 --- a/scripts/bash/build_cleo_openmp.sh +++ b/scripts/bash/build_cleo_openmp.sh @@ -35,7 +35,7 @@ path2build=$2 # get from command line argument CC=${gcc} # C CXX=${gxx} # C++ -# CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) +# CMAKE_CXX_FLAGS="-Werror -Wall -Wextra -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -O3" # performance ### ---------------------------------------------------- ### diff --git a/scripts/bash/build_cleo_serial.sh b/scripts/bash/build_cleo_serial.sh index ddd01f66f..4644cea75 100755 --- a/scripts/bash/build_cleo_serial.sh +++ b/scripts/bash/build_cleo_serial.sh @@ -35,7 +35,7 @@ path2build=$2 # get from command line argument CC=${gcc} # C CXX=${gxx} # C++ -# CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) +# CMAKE_CXX_FLAGS="-Werror -Wall -Wextra -pedantic -g -gdwarf-4 -O0 -mpc64" # correctness and debugging (note -gdwarf-4 not possible for nvc++) CMAKE_CXX_FLAGS="-Werror -Wall -pedantic -O3" # performance ### ---------------------------------------------------- ###