File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,13 @@ set(FANS_EXECUTABLE $<TARGET_FILE:FANS_main>)
6
6
7
7
# determine MPI process count. The discretization of the test geometry allows for max. 8 processes.
8
8
set (FANS_N_MPI_PROCESSES_MAX 8)
9
- ProcessorCount(FANS_CORES_AVAILABLE_1)
10
- cmake_host_system_information (RESULT FANS_CORES_AVAILABLE_2 QUERY NUMBER_OF_PHYSICAL_CORES)
11
- message (STATUS "ProcessorCount: ${FANS_CORES_AVAILABLE_1} " )
12
- message (STATUS "cmake_host_system_information: ${FANS_CORES_AVAILABLE_2} " )
13
-
14
- set (FANS_CORES_AVAILABLE 2)
9
+ cmake_host_system_information (RESULT FANS_CORES_AVAILABLE QUERY NUMBER_OF_PHYSICAL_CORES)
15
10
if (FANS_N_MPI_PROCESSES_MAX LESS FANS_CORES_AVAILABLE)
16
11
set (FANS_N_MPI_PROCESSES ${FANS_N_MPI_PROCESSES_MAX} )
17
12
else ()
18
13
set (FANS_N_MPI_PROCESSES ${FANS_CORES_AVAILABLE} )
19
14
endif ()
15
+ message (STATUS "Will use ${FANS_N_MPI_PROCESSES} processes for MPI test cases." )
20
16
21
17
set (FANS_TEST_CASES
22
18
LinearThermalIsotropic
You can’t perform that action at this time.
0 commit comments