From d108844a1fdcf198ea2a7c4cbb0ebfdcabf48df2 Mon Sep 17 00:00:00 2001 From: "Samuel E. Browne" Date: Tue, 7 Jan 2025 06:51:05 -0700 Subject: [PATCH] Disable build of test for CUDA11 In line with previous changes to disable building some of these tests, disable one that is consistently failing to compile with AT2. I did some diagnosis on this, since it was apparently succeeding to build with the AT1 configuration/machine, and I didn't want to disable it if necessary. The load numbers on the AT2 machine show the CPU spiking to over 100%, but only for 1-2 minutes. When I checked one of the AT1 machines, I saw the same spike, but only to about 60%. This makes sense, since the parallelism for these machines is higher, given that they have more CPUs. I think the trade-off of disabling this test vs. slowing down the build of all other tests is justified (though unfortunate). We shall see what this does to the load numbers. Some sort of randomized compile order could also help avoid this type of issue happening repeatedly in the future. Signed-off-by: Samuel E. Browne --- .../Discretization/Basis/HGRAD_TRI_Cn_FEM/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/intrepid2/unit-test/Discretization/Basis/HGRAD_TRI_Cn_FEM/CMakeLists.txt b/packages/intrepid2/unit-test/Discretization/Basis/HGRAD_TRI_Cn_FEM/CMakeLists.txt index c4821a1ea569..21db63206712 100644 --- a/packages/intrepid2/unit-test/Discretization/Basis/HGRAD_TRI_Cn_FEM/CMakeLists.txt +++ b/packages/intrepid2/unit-test/Discretization/Basis/HGRAD_TRI_Cn_FEM/CMakeLists.txt @@ -151,6 +151,13 @@ FOREACH(I RANGE ${ETI_DEVICE_COUNT}) ENDIF() ENDIF() + IF(${ETI_NAME} STREQUAL "test_02_CUDA_DFAD_DFAD") + IF(${CUDAToolkit_VERSION_MAJOR} LESS "12") + MESSAGE(STATUS "Skipping TEST: HGRAD_TET_Cn_FEM ${ETI_NAME}.cpp for CUDA <12 (known compile issue)") + CONTINUE() + ENDIF() + ENDIF() + MESSAGE(STATUS "Generating TEST: HGRAD_TRI_Cn_FEM ${ETI_NAME}.cpp") CONFIGURE_FILE(eti/${ETI_FILE}_ETI.in ${ETI_NAME}.cpp)