mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
Zoltan is added as thirdParty package
This commit is contained in:
151
thirdParty/Zoltan/test/ch_simple3d/CMakeLists.txt
vendored
Normal file
151
thirdParty/Zoltan/test/ch_simple3d/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,151 @@
|
||||
#### Main Zoltan CTEST File
|
||||
#### This file can be copied and modified for new Zoltan test directories.
|
||||
#### It runs script zoltan/test/ctest_zoltan.pl.
|
||||
#### See ctest_zoltan.pl for the list of arguments to provide to it.
|
||||
####
|
||||
#### To use this file in new test directories, copy it to the new test
|
||||
#### directory. In the copy, modify the number of processors to use in MPI
|
||||
#### runs, ZOLTANNUMPROCS, in the SET command below.
|
||||
#### Also modify the test name (e.g., substitute the new directory name
|
||||
#### for "ch_simple3d" in all lines below.)
|
||||
|
||||
# Number of processors to use in MPI runs and test directory.
|
||||
SET(ZOLTANNUMPROCS 4)
|
||||
|
||||
# Test directory info.
|
||||
SET(ZZNAME simple3d)
|
||||
SET(ZZDIRNAME ch_${ZZNAME})
|
||||
|
||||
#### For most test directories, nothing further needs to be changed to change
|
||||
#### the test. (Any directory where the input graph/coords/etc. do not begin
|
||||
#### with ${ZZNAME} is an exception; the copy macro at the end of this file
|
||||
#### must be modified.)
|
||||
|
||||
|
||||
# All data files needed for tested (*.graph, *.mtx, *.mtxp, *.coords, *.hg)
|
||||
FILE(GLOB DATA_INP RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${ZZNAME}.*)
|
||||
|
||||
# All zdrive.inp* and hier*inp files needed for testing.
|
||||
FILE(GLOB ZDRIVE_INP RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} zdrive.inp.*)
|
||||
FILE(GLOB HIER_INP RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} hier*.inp)
|
||||
|
||||
# All accepted answer files needed for testing.
|
||||
IF (${PACKAGE_NAME}_ENABLE_ULONG_IDS OR ${PACKAGE_NAME}_ENABLE_ULLONG_IDS)
|
||||
FILE(GLOB ANSWERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} answers64bitids/${ZZNAME}.*)
|
||||
ELSE ()
|
||||
FILE(GLOB ANSWERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} answers/${ZZNAME}.*)
|
||||
ENDIF()
|
||||
|
||||
# Build test arguments
|
||||
SET(ZOLTAN_TEST_ARGS --np ${ZOLTANNUMPROCS} --debug --mpiexec ${MPI_EXEC} --mpiexecarg ${MPI_EXEC_NUMPROCS_FLAG} --pkg )
|
||||
|
||||
# Parallel Tests
|
||||
TRIBITS_ADD_ADVANCED_TEST(
|
||||
${ZZDIRNAME}_zoltan_parallel
|
||||
# Test Native Zoltan algorithms in parallel
|
||||
TEST_0 ${ZOLTAN_TEST_DRIVER} ${ZOLTAN_TEST_ARGS} Zoltan
|
||||
CATEGORIES BASIC NIGHTLY PERFORMANCE
|
||||
COMM mpi
|
||||
OVERALL_NUM_MPI_PROCS ${ZOLTANNUMPROCS}
|
||||
FINAL_FAIL_REGULAR_EXPRESSION "FAILED"
|
||||
)
|
||||
|
||||
IF (${PACKAGE_NAME}_ENABLE_ParMETIS)
|
||||
SET(ZZTESTNAME ${ZZDIRNAME}_parmetis_parallel)
|
||||
TRIBITS_ADD_ADVANCED_TEST(
|
||||
${ZZTESTNAME}
|
||||
# Test ParMETIS algorithms in parallel
|
||||
TEST_0 ${ZOLTAN_TEST_DRIVER} ${ZOLTAN_TEST_ARGS} ParMETIS
|
||||
CATEGORIES BASIC NIGHTLY PERFORMANCE
|
||||
COMM mpi
|
||||
OVERALL_NUM_MPI_PROCS ${ZOLTANNUMPROCS}
|
||||
FINAL_FAIL_REGULAR_EXPRESSION "FAILED"
|
||||
)
|
||||
IF (EXISTS ${CMAKE_CURRENT_BINARY_DIR}/Zoltan_${ZZTESTNAME}.cmake)
|
||||
SET_PROPERTY(TEST Zoltan_${ZZTESTNAME} PROPERTY RUN_SERIAL 1)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
IF (${PACKAGE_NAME}_ENABLE_Scotch)
|
||||
SET(ZZTESTNAME ${ZZDIRNAME}_scotch_parallel)
|
||||
TRIBITS_ADD_ADVANCED_TEST(
|
||||
${ZZTESTNAME}
|
||||
# Test Scotch algorithms in parallel
|
||||
TEST_0 ${ZOLTAN_TEST_DRIVER} ${ZOLTAN_TEST_ARGS} Scotch
|
||||
CATEGORIES BASIC NIGHTLY PERFORMANCE
|
||||
COMM mpi
|
||||
OVERALL_NUM_MPI_PROCS ${ZOLTANNUMPROCS}
|
||||
FINAL_FAIL_REGULAR_EXPRESSION "FAILED"
|
||||
)
|
||||
IF (EXISTS ${CMAKE_CURRENT_BINARY_DIR}/Zoltan_${ZZTESTNAME}.cmake)
|
||||
SET_PROPERTY(TEST Zoltan_${ZZTESTNAME} PROPERTY RUN_SERIAL 1)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
# Serial Tests
|
||||
SET(ZOLTAN_SERIAL_TEST_ARGS --np 1 --debug --pkg )
|
||||
TRIBITS_ADD_ADVANCED_TEST(
|
||||
${ZZDIRNAME}_zoltan_serial
|
||||
# Test Native Zoltan algorithms in serial
|
||||
TEST_0 ${ZOLTAN_TEST_DRIVER} ${ZOLTAN_SERIAL_TEST_ARGS} Zoltan
|
||||
CATEGORIES BASIC NIGHTLY PERFORMANCE
|
||||
COMM serial
|
||||
FINAL_FAIL_REGULAR_EXPRESSION "FAILED"
|
||||
XHOSTTYPE AIX
|
||||
)
|
||||
|
||||
IF (${PACKAGE_NAME}_ENABLE_ParMETIS)
|
||||
SET(ZZTESTNAME ${ZZDIRNAME}_parmetis_serial)
|
||||
TRIBITS_ADD_ADVANCED_TEST(
|
||||
${ZZTESTNAME}
|
||||
# Test ParMETIS algorithms in serial
|
||||
TEST_0 ${ZOLTAN_TEST_DRIVER} ${ZOLTAN_SERIAL_TEST_ARGS} ParMETIS
|
||||
CATEGORIES BASIC NIGHTLY PERFORMANCE
|
||||
COMM serial
|
||||
FINAL_FAIL_REGULAR_EXPRESSION "FAILED"
|
||||
)
|
||||
IF (EXISTS ${CMAKE_CURRENT_BINARY_DIR}/Zoltan_${ZZTESTNAME}.cmake)
|
||||
SET_PROPERTY(TEST Zoltan_${ZZTESTNAME} PROPERTY RUN_SERIAL 1)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
IF (${PACKAGE_NAME}_ENABLE_Scotch)
|
||||
SET(ZZTESTNAME ${ZZDIRNAME}_scotch_serial)
|
||||
TRIBITS_ADD_ADVANCED_TEST(
|
||||
${ZZTESTNAME}
|
||||
# Test Scotch algorithms in serial
|
||||
TEST_0 ${ZOLTAN_TEST_DRIVER} ${ZOLTAN_SERIAL_TEST_ARGS} Scotch
|
||||
CATEGORIES BASIC NIGHTLY PERFORMANCE
|
||||
COMM serial
|
||||
FINAL_FAIL_REGULAR_EXPRESSION "FAILED"
|
||||
)
|
||||
IF (EXISTS ${CMAKE_CURRENT_BINARY_DIR}/Zoltan_${ZZTESTNAME}.cmake)
|
||||
SET_PROPERTY(TEST Zoltan_${ZZTESTNAME} PROPERTY RUN_SERIAL 1)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
IF (${PACKAGE_NAME}_ENABLE_PaToH)
|
||||
SET(ZZTESTNAME ${ZZDIRNAME}_patoh_serial)
|
||||
TRIBITS_ADD_ADVANCED_TEST(
|
||||
${ZZTESTNAME}
|
||||
# Test PaToH algorithms in serial
|
||||
TEST_0 ${ZOLTAN_TEST_DRIVER} ${ZOLTAN_SERIAL_TEST_ARGS} PaToH
|
||||
CATEGORIES BASIC NIGHTLY PERFORMANCE
|
||||
COMM serial
|
||||
FINAL_FAIL_REGULAR_EXPRESSION "FAILED"
|
||||
)
|
||||
IF (EXISTS ${CMAKE_CURRENT_BINARY_DIR}/Zoltan_${ZZTESTNAME}.cmake)
|
||||
SET_PROPERTY(TEST Zoltan_${ZZTESTNAME} PROPERTY RUN_SERIAL 1)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
# Command that copies files to the executable directory.
|
||||
TRIBITS_COPY_FILES_TO_BINARY_DIR(Zoltan_${ZZDIRNAME}_copy_files
|
||||
SOURCE_FILES
|
||||
${DATA_INP}
|
||||
${ZDRIVE_INP}
|
||||
${HIER_INP}
|
||||
${ANSWERS}
|
||||
EXEDEPS zdrive
|
||||
NOEXEPREFIX
|
||||
)
|
27
thirdParty/Zoltan/test/ch_simple3d/simple3d.coords
vendored
Normal file
27
thirdParty/Zoltan/test/ch_simple3d/simple3d.coords
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
0 0 0
|
||||
1 0 0
|
||||
2 0 0
|
||||
0 1 0
|
||||
1 1 0
|
||||
2 1 0
|
||||
0 2 0
|
||||
1 2 0
|
||||
2 2 0
|
||||
0 0 -1
|
||||
1 0 -1
|
||||
2 0 -1
|
||||
0 1 -1
|
||||
1 1 -1
|
||||
2 1 -1
|
||||
0 2 -1
|
||||
1 2 -1
|
||||
2 2 -1
|
||||
0 0 -2
|
||||
1 0 -2
|
||||
2 0 -2
|
||||
0 1 -2
|
||||
1 1 -2
|
||||
2 1 -2
|
||||
0 2 -2
|
||||
1 2 -2
|
||||
2 2 -2
|
28
thirdParty/Zoltan/test/ch_simple3d/simple3d.graph
vendored
Normal file
28
thirdParty/Zoltan/test/ch_simple3d/simple3d.graph
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
27 343
|
||||
1 2 4 5 10 11 13 14
|
||||
2 1 3 5 4 6 11 10 12 14 13 15
|
||||
3 2 6 5 12 11 15 14
|
||||
4 5 1 2 7 8 13 14 10 11 16 17
|
||||
5 4 6 2 1 3 8 7 9 14 13 15 11 10 12 17 16 18
|
||||
6 5 3 2 9 8 15 14 12 11 18 17
|
||||
7 8 4 5 16 17 13 14
|
||||
8 7 9 5 4 6 17 16 18 14 13 15
|
||||
9 8 6 5 18 17 15 14
|
||||
10 11 13 14 1 2 4 5 19 20 22 23
|
||||
11 10 12 14 13 15 2 1 3 5 4 6 20 19 21 23 22 24
|
||||
12 11 15 14 3 2 6 5 21 20 24 23
|
||||
13 14 10 11 16 17 4 5 1 2 7 8 22 23 19 20 25 26
|
||||
14 13 15 11 10 12 17 16 18 5 4 6 2 1 3 8 7 9 23 22 24 20 19 21 26 25 27
|
||||
15 14 12 11 18 17 6 5 3 2 9 8 24 23 21 20 27 26
|
||||
16 17 13 14 7 8 4 5 25 26 22 23
|
||||
17 16 18 14 13 15 8 7 9 5 4 6 26 25 27 23 22 24
|
||||
18 17 15 14 9 8 6 5 27 26 24 23
|
||||
19 20 22 23 10 11 13 14
|
||||
20 19 21 23 22 24 11 10 12 14 13 15
|
||||
21 20 24 23 12 11 15 14
|
||||
22 23 19 20 25 26 13 14 10 11 16 17
|
||||
23 22 24 20 19 21 26 25 27 14 13 15 11 10 12 17 16 18
|
||||
24 23 21 20 27 26 15 14 12 11 18 17
|
||||
25 26 22 23 16 17 13 14
|
||||
26 25 27 23 22 24 17 16 18 14 13 15
|
||||
27 26 24 23 18 17 15 14
|
346
thirdParty/Zoltan/test/ch_simple3d/simple3d.mtx
vendored
Normal file
346
thirdParty/Zoltan/test/ch_simple3d/simple3d.mtx
vendored
Normal file
@ -0,0 +1,346 @@
|
||||
%%MatrixMarket matrix coordinate real general
|
||||
%%
|
||||
27 27 343
|
||||
1 1 1.
|
||||
1 2 1.
|
||||
1 4 1.
|
||||
1 5 1.
|
||||
1 10 1.
|
||||
1 11 1.
|
||||
1 13 1.
|
||||
1 14 1.
|
||||
2 2 1.
|
||||
2 1 1.
|
||||
2 3 1.
|
||||
2 5 1.
|
||||
2 4 1.
|
||||
2 6 1.
|
||||
2 11 1.
|
||||
2 10 1.
|
||||
2 12 1.
|
||||
2 14 1.
|
||||
2 13 1.
|
||||
2 15 1.
|
||||
3 3 1.
|
||||
3 2 1.
|
||||
3 6 1.
|
||||
3 5 1.
|
||||
3 12 1.
|
||||
3 11 1.
|
||||
3 15 1.
|
||||
3 14 1.
|
||||
4 4 1.
|
||||
4 5 1.
|
||||
4 1 1.
|
||||
4 2 1.
|
||||
4 7 1.
|
||||
4 8 1.
|
||||
4 13 1.
|
||||
4 14 1.
|
||||
4 10 1.
|
||||
4 11 1.
|
||||
4 16 1.
|
||||
4 17 1.
|
||||
5 5 1.
|
||||
5 4 1.
|
||||
5 6 1.
|
||||
5 2 1.
|
||||
5 1 1.
|
||||
5 3 1.
|
||||
5 8 1.
|
||||
5 7 1.
|
||||
5 9 1.
|
||||
5 14 1.
|
||||
5 13 1.
|
||||
5 15 1.
|
||||
5 11 1.
|
||||
5 10 1.
|
||||
5 12 1.
|
||||
5 17 1.
|
||||
5 16 1.
|
||||
5 18 1.
|
||||
6 6 1.
|
||||
6 5 1.
|
||||
6 3 1.
|
||||
6 2 1.
|
||||
6 9 1.
|
||||
6 8 1.
|
||||
6 15 1.
|
||||
6 14 1.
|
||||
6 12 1.
|
||||
6 11 1.
|
||||
6 18 1.
|
||||
6 17 1.
|
||||
7 7 1.
|
||||
7 8 1.
|
||||
7 4 1.
|
||||
7 5 1.
|
||||
7 16 1.
|
||||
7 17 1.
|
||||
7 13 1.
|
||||
7 14 1.
|
||||
8 8 1.
|
||||
8 7 1.
|
||||
8 9 1.
|
||||
8 5 1.
|
||||
8 4 1.
|
||||
8 6 1.
|
||||
8 17 1.
|
||||
8 16 1.
|
||||
8 18 1.
|
||||
8 14 1.
|
||||
8 13 1.
|
||||
8 15 1.
|
||||
9 9 1.
|
||||
9 8 1.
|
||||
9 6 1.
|
||||
9 5 1.
|
||||
9 18 1.
|
||||
9 17 1.
|
||||
9 15 1.
|
||||
9 14 1.
|
||||
10 10 1.
|
||||
10 11 1.
|
||||
10 13 1.
|
||||
10 14 1.
|
||||
10 1 1.
|
||||
10 2 1.
|
||||
10 4 1.
|
||||
10 5 1.
|
||||
10 19 1.
|
||||
10 20 1.
|
||||
10 22 1.
|
||||
10 23 1.
|
||||
11 11 1.
|
||||
11 10 1.
|
||||
11 12 1.
|
||||
11 14 1.
|
||||
11 13 1.
|
||||
11 15 1.
|
||||
11 2 1.
|
||||
11 1 1.
|
||||
11 3 1.
|
||||
11 5 1.
|
||||
11 4 1.
|
||||
11 6 1.
|
||||
11 20 1.
|
||||
11 19 1.
|
||||
11 21 1.
|
||||
11 23 1.
|
||||
11 22 1.
|
||||
11 24 1.
|
||||
12 12 1.
|
||||
12 11 1.
|
||||
12 15 1.
|
||||
12 14 1.
|
||||
12 3 1.
|
||||
12 2 1.
|
||||
12 6 1.
|
||||
12 5 1.
|
||||
12 21 1.
|
||||
12 20 1.
|
||||
12 24 1.
|
||||
12 23 1.
|
||||
13 13 1.
|
||||
13 14 1.
|
||||
13 10 1.
|
||||
13 11 1.
|
||||
13 16 1.
|
||||
13 17 1.
|
||||
13 4 1.
|
||||
13 5 1.
|
||||
13 1 1.
|
||||
13 2 1.
|
||||
13 7 1.
|
||||
13 8 1.
|
||||
13 22 1.
|
||||
13 23 1.
|
||||
13 19 1.
|
||||
13 20 1.
|
||||
13 25 1.
|
||||
13 26 1.
|
||||
14 14 1.
|
||||
14 13 1.
|
||||
14 15 1.
|
||||
14 11 1.
|
||||
14 10 1.
|
||||
14 12 1.
|
||||
14 17 1.
|
||||
14 16 1.
|
||||
14 18 1.
|
||||
14 5 1.
|
||||
14 4 1.
|
||||
14 6 1.
|
||||
14 2 1.
|
||||
14 1 1.
|
||||
14 3 1.
|
||||
14 8 1.
|
||||
14 7 1.
|
||||
14 9 1.
|
||||
14 23 1.
|
||||
14 22 1.
|
||||
14 24 1.
|
||||
14 20 1.
|
||||
14 19 1.
|
||||
14 21 1.
|
||||
14 26 1.
|
||||
14 25 1.
|
||||
14 27 1.
|
||||
15 15 1.
|
||||
15 14 1.
|
||||
15 12 1.
|
||||
15 11 1.
|
||||
15 18 1.
|
||||
15 17 1.
|
||||
15 6 1.
|
||||
15 5 1.
|
||||
15 3 1.
|
||||
15 2 1.
|
||||
15 9 1.
|
||||
15 8 1.
|
||||
15 24 1.
|
||||
15 23 1.
|
||||
15 21 1.
|
||||
15 20 1.
|
||||
15 27 1.
|
||||
15 26 1.
|
||||
16 16 1.
|
||||
16 17 1.
|
||||
16 13 1.
|
||||
16 14 1.
|
||||
16 7 1.
|
||||
16 8 1.
|
||||
16 4 1.
|
||||
16 5 1.
|
||||
16 25 1.
|
||||
16 26 1.
|
||||
16 22 1.
|
||||
16 23 1.
|
||||
17 17 1.
|
||||
17 16 1.
|
||||
17 18 1.
|
||||
17 14 1.
|
||||
17 13 1.
|
||||
17 15 1.
|
||||
17 8 1.
|
||||
17 7 1.
|
||||
17 9 1.
|
||||
17 5 1.
|
||||
17 4 1.
|
||||
17 6 1.
|
||||
17 26 1.
|
||||
17 25 1.
|
||||
17 27 1.
|
||||
17 23 1.
|
||||
17 22 1.
|
||||
17 24 1.
|
||||
18 18 1.
|
||||
18 17 1.
|
||||
18 15 1.
|
||||
18 14 1.
|
||||
18 9 1.
|
||||
18 8 1.
|
||||
18 6 1.
|
||||
18 5 1.
|
||||
18 27 1.
|
||||
18 26 1.
|
||||
18 24 1.
|
||||
18 23 1.
|
||||
19 19 1.
|
||||
19 20 1.
|
||||
19 22 1.
|
||||
19 23 1.
|
||||
19 10 1.
|
||||
19 11 1.
|
||||
19 13 1.
|
||||
19 14 1.
|
||||
20 20 1.
|
||||
20 19 1.
|
||||
20 21 1.
|
||||
20 23 1.
|
||||
20 22 1.
|
||||
20 24 1.
|
||||
20 11 1.
|
||||
20 10 1.
|
||||
20 12 1.
|
||||
20 14 1.
|
||||
20 13 1.
|
||||
20 15 1.
|
||||
21 21 1.
|
||||
21 20 1.
|
||||
21 24 1.
|
||||
21 23 1.
|
||||
21 12 1.
|
||||
21 11 1.
|
||||
21 15 1.
|
||||
21 14 1.
|
||||
22 22 1.
|
||||
22 23 1.
|
||||
22 19 1.
|
||||
22 20 1.
|
||||
22 25 1.
|
||||
22 26 1.
|
||||
22 13 1.
|
||||
22 14 1.
|
||||
22 10 1.
|
||||
22 11 1.
|
||||
22 16 1.
|
||||
22 17 1.
|
||||
23 23 1.
|
||||
23 22 1.
|
||||
23 24 1.
|
||||
23 20 1.
|
||||
23 19 1.
|
||||
23 21 1.
|
||||
23 26 1.
|
||||
23 25 1.
|
||||
23 27 1.
|
||||
23 14 1.
|
||||
23 13 1.
|
||||
23 15 1.
|
||||
23 11 1.
|
||||
23 10 1.
|
||||
23 12 1.
|
||||
23 17 1.
|
||||
23 16 1.
|
||||
23 18 1.
|
||||
24 24 1.
|
||||
24 23 1.
|
||||
24 21 1.
|
||||
24 20 1.
|
||||
24 27 1.
|
||||
24 26 1.
|
||||
24 15 1.
|
||||
24 14 1.
|
||||
24 12 1.
|
||||
24 11 1.
|
||||
24 18 1.
|
||||
24 17 1.
|
||||
25 25 1.
|
||||
25 26 1.
|
||||
25 22 1.
|
||||
25 23 1.
|
||||
25 16 1.
|
||||
25 17 1.
|
||||
25 13 1.
|
||||
25 14 1.
|
||||
26 26 1.
|
||||
26 25 1.
|
||||
26 27 1.
|
||||
26 23 1.
|
||||
26 22 1.
|
||||
26 24 1.
|
||||
26 17 1.
|
||||
26 16 1.
|
||||
26 18 1.
|
||||
26 14 1.
|
||||
26 13 1.
|
||||
26 15 1.
|
||||
27 27 1.
|
||||
27 26 1.
|
||||
27 24 1.
|
||||
27 23 1.
|
||||
27 18 1.
|
||||
27 17 1.
|
||||
27 15 1.
|
||||
27 14 1.
|
Reference in New Issue
Block a user