From 3381535f06027eaa5b1c3d073fece21d9075e441 Mon Sep 17 00:00:00 2001 From: Oleg Shatrov Date: Thu, 3 Oct 2024 23:52:30 +0300 Subject: [PATCH] Update CMakeLists.txt --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a989540..cbf1b99 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -21,7 +21,7 @@ foreach(test ${TEST_SOURCES}) add_executable(${test_name} ${test}) target_link_libraries(${test_name} dtfft) - foreach(nproc RANGE 1 8 1) + foreach(nproc RANGE 1 ${MPIEXEC_MAX_NUMPROCS} 1) add_test( NAME "${test_name}_nproc_${nproc}" COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${nproc} ./${test_name}