-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakeLists.txt
executable file
·516 lines (458 loc) · 21 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
cmake_minimum_required(VERSION 3.0)
# function(message)
# list(GET ARGV 0 MessageType)
# if(MessageType STREQUAL FATAL_ERROR OR
# MessageType STREQUAL SEND_ERROR OR
# MessageType STREQUAL WARNING OR
# MessageType STREQUAL AUTHOR_WARNING)
# list(REMOVE_AT ARGV 0)
# _message(${MessageType} "${ARGV}")
# endif()
# endfunction()
set(CMAKE_MODULE_PATH
${CMAKE_SOURCE_DIR}/cmake
${CMAKE_MODULE_PATH}
)
include(machine)
include(ExternalProject)
project(d4est)
# Directory where customize cmake files reside
find_package(MPI REQUIRED)
message("mpi version = ${MPI_VERSION}")
##
## Set build include path
##
include_directories(${CMAKE_SOURCE_DIR}/src/EllipticSystem)
include_directories(${CMAKE_SOURCE_DIR}/src/Geometry)
include_directories(${CMAKE_SOURCE_DIR}/src/Solver)
include_directories(${CMAKE_SOURCE_DIR}/src/Estimators)
include_directories(${CMAKE_SOURCE_DIR}/src/dGMath)
include_directories(${CMAKE_SOURCE_DIR}/src/LinearAlgebra)
include_directories(${CMAKE_SOURCE_DIR}/src/GridFunctions)
include_directories(${CMAKE_SOURCE_DIR}/src/Problems)
include_directories(${CMAKE_SOURCE_DIR}/src/Utilities)
include_directories(${CMAKE_SOURCE_DIR}/src/pXest)
include_directories(${CMAKE_SOURCE_DIR}/src/hpAMR)
include_directories(${CMAKE_SOURCE_DIR}/src/ElementData)
include_directories(${CMAKE_SOURCE_DIR}/src/Mesh)
include_directories(${CMAKE_SOURCE_DIR}/src/Operators)
include_directories(${CMAKE_SOURCE_DIR}/src/IO)
include_directories(${CMAKE_SOURCE_DIR}/src/Quadrature)
include_directories(${CMAKE_SOURCE_DIR}/src/Utilities)
include_directories(${CMAKE_SOURCE_DIR}/src/Kron)
include_directories(${CMAKE_SOURCE_DIR}/src/Databox)
include_directories(${CMAKE_SOURCE_DIR}/src/Dictionary)
include_directories(${CMAKE_SOURCE_DIR}/third_party/mpsort)
include_directories(${CMAKE_SOURCE_DIR}/third_party/PPF)
include_directories(${CMAKE_BINARY_DIR})
include_directories(${MPI_C_INCLUDE_PATH})
##
## Add MPI compile flags for the whole project
##
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${MPI_C_COMPILE_FLAG}")
SET (
SRCS_3D_ONLY
src/Geometry/d4est_geometry_cubed_sphere.c
src/Geometry/d4est_geometry_cubed_sphere_vtk.c
src/Geometry/d4est_connectivity_cubed_sphere.c
src/Geometry/d4est_geometry_general_wedge.c
src/Geometry/d4est_geometry_hole_in_a_box.c
)
SET (
SRCS_2D_ONLY
src/Geometry/d4est_geometry_disk.c
)
SET (
SRCS
src/Utilities/ini.c
src/Utilities/d4est_util.c
src/LinearAlgebra/d4est_linalg.c
src/EllipticSystem/d4est_elliptic_eqns.c
src/EllipticSystem/d4est_elliptic_data.c
src/Kron/d4est_kron.c
src/dGMath/d4est_operators.c
src/dGMath/d4est_gradient.c
src/dGMath/d4est_ip_energy_norm.c
src/dGMath/d4est_lgl.c
src/dGMath/d4est_reference.c
src/dGMath/d4est_laplacian.c
src/dGMath/d4est_laplacian_flux.c
src/dGMath/d4est_laplacian_flux_sipg.c
src/dGMath/d4est_laplacian_flux_sipg_penalty_debugger.c
src/dGMath/d4est_hessian.c
src/Mesh/d4est_mortars_with_opt.c
# src/Mesh/d4est_mortars_aux.c
src/dGMath/d4est_laplacian_with_opt.c
src/dGMath/d4est_laplacian_with_opt_flux.c
src/dGMath/d4est_laplacian_with_opt_flux_sipg.c
src/Geometry/d4est_geometry_brick.c
src/Geometry/d4est_geometry.c
src/Estimators/d4est_estimator_stats.c
src/Estimators/d4est_estimator_bi.c
src/Estimators/d4est_estimator_bi_new.c
# src/Estimators/d4est_estimator_residual.c
src/hpAMR/d4est_amr.c
src/hpAMR/d4est_amr_uniform.c
src/hpAMR/d4est_amr_random.c
src/hpAMR/d4est_amr_smooth_pred.c
src/Mesh/d4est_element_data.c
src/Mesh/d4est_mesh.c
src/Mesh/d4est_xyz_functions.c
src/Mesh/d4est_mortars.c
src/Mesh/d4est_mortars_aux.c
src/Mesh/d4est_ghost_data.c
src/Mesh/d4est_ghost_data_ext.c
src/Mesh/d4est_ghost.c
src/Databox/d4est_databox.c
src/Dictionary/d4est_dictionary.c
src/Dictionary/d4est_critbit.c
src/Quadrature/d4est_quadrature.c
src/Quadrature/d4est_quadrature_legendre.c
src/Quadrature/d4est_quadrature_lobatto.c
src/IO/d4est_h5.c
src/IO/d4est_checkpoint.c
src/IO/d4est_vtk.c
src/IO/p4est_vtk_ext.c
src/IO/d4est_norms.c
src/Solver/d4est_solver_cg.c
src/Solver/d4est_solver_fcg_improved.c
src/Solver/d4est_solver_newton.c
src/Solver/d4est_solver_krylov_petsc.c
src/Solver/d4est_solver_newton_petsc.c
src/Solver/d4est_krylov_pc_multigrid.c
src/Solver/d4est_krylov_pc_schwarz.c
src/Solver/d4est_krylov_pc_cheby.c
src/Solver/d4est_solver_multigrid.c
src/Solver/d4est_solver_multigrid_bottom_solver_cg.c
src/Solver/d4est_solver_multigrid_bottom_solver_cheby.c
src/Solver/d4est_solver_multigrid_bottom_solver_krylov_petsc.c
src/Solver/d4est_solver_multigrid_bottom_solver_reuse_smoother.c
src/Solver/d4est_solver_multigrid_element_data_updater.c
src/Solver/d4est_solver_multigrid_logger_residual.c
src/Solver/d4est_solver_multigrid_profiler_basic.c
src/Solver/d4est_solver_multigrid_mesh_analyzer.c
src/Solver/d4est_solver_multigrid_matrix_operator.c
src/Solver/d4est_solver_multigrid_smoother_cheby.c
src/Solver/d4est_solver_multigrid_smoother_none.c
src/Solver/d4est_solver_multigrid_smoother_schwarz.c
src/Solver/d4est_solver_multigrid_smoother_krylov_petsc.c
src/Solver/d4est_solver_cg_eigs.c
src/Solver/d4est_solver_schwarz_metadata.c
src/Solver/d4est_solver_schwarz_operators.c
src/Solver/d4est_solver_schwarz_helpers.c
src/Solver/d4est_solver_schwarz_laplacian_ext.c
src/Solver/d4est_solver_schwarz_transfer_ghost_data.c
src/Solver/d4est_solver_schwarz_subdomain_solver_cg.c
# src/Solver/d4est_solver_schwarz_subdomain_solver_gmres.c
src/Solver/d4est_solver_schwarz_subdomain_solver_ksp.c
src/Solver/d4est_solver_schwarz_subdomain_solver.c
src/Solver/d4est_solver_schwarz_apply_lhs.c
src/Solver/d4est_solver_schwarz_geometric_data.c
src/Solver/d4est_solver_schwarz.c
# src/Solver/d4est_solver_jacobian_tester.c
src/Solver/d4est_solver_full_matrix.c
src/Solver/d4est_solver_matrix_symmetry.c
src/Solver/d4est_power_method.c
third_party/mpsort/radixsort.c
third_party/mpsort/mpsort-mpi.c
third_party/PPF/PPF_Print.c
third_party/PPF/PPF_Printf.c
third_party/PPF/ClosedSet.c
)
add_library(d8est ${SRCS} ${SRCS_3D_ONLY})
add_library(d8est_test ${SRCS} ${SRCS_3D_ONLY})
add_library(d4est ${SRCS} ${SRCS_2D_ONLY})
add_library(d4est_test ${SRCS} ${SRCS_2D_ONLY})
add_dependencies(d8est build_bundled_libs)
add_dependencies(d8est_test build_bundled_libs)
add_dependencies(d4est_test build_bundled_libs)
add_dependencies(d4est build_bundled_libs)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${MPI_C_LINK_FLAGS}")
add_custom_target(build_bundled_libs)
include(openblas)
include(zlib)
include(p4est)
include(petsc)
include(zlog)
include(hdf5)
subdirs(third_party)
SET (
LIBS
${P4EST_LIBRARIES}
${MPI_C_LIBRARIES}
${PETSC_LIBRARIES}
m
dl
# ${CMAKE_BINARY_DIR}/ThirdParty/zlib/install/lib/libz.a
${ZLIB_LIBRARIES}
${BLAS_LIBRARIES}
pthread
gfortran
${HDF5_LIBRARIES}
${ZLOG_LIBRARIES}
)
if(USE_TCMALLOC)
include(tcmalloc)
SET (
LIBS
${LIBS}
${TCMALLOC_LIBRARIES}
stdc++
)
find_package(Libunwind)
if(LIBUNWIND_FOUND)
SET (
LIBS
${LIBS}
unwind
)
endif()
endif()
# Get the current working branch
execute_process(
COMMAND git rev-parse --abbrev-ref HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_BRANCH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
# Get the latest abbreviated commit hash of the working branch
execute_process(
COMMAND git log -1 --format=%h
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_COMMIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
add_definitions("-DGIT_COMMIT_HASH=${GIT_COMMIT_HASH}")
add_definitions("-DGIT_BRANCH=${GIT_BRANCH}")
configure_file(
${CMAKE_SOURCE_DIR}/version.h.in
${CMAKE_BINARY_DIR}/generated/version.h
)
include_directories(${CMAKE_BINARY_DIR}/generated)
message("LIBS=${LIBS}")
target_link_libraries(d4est ${LIBS})
set_property(TARGET d4est APPEND_STRING PROPERTY
COMPILE_FLAGS " -DDIM=2")
target_link_libraries(d8est ${LIBS})
set_property(TARGET d8est APPEND_STRING PROPERTY
COMPILE_FLAGS " -DDIM=3")
target_link_libraries(d8est_test ${LIBS})
set_property(TARGET d8est_test APPEND_STRING PROPERTY
COMPILE_FLAGS "-DDIM=3 -DD4EST_TEST=1")
target_link_libraries(d4est_test ${LIBS})
set_property(TARGET d4est_test APPEND_STRING PROPERTY
COMPILE_FLAGS " -DDIM=2 -DD4EST_TEST=1")
set_property(TARGET d4est PROPERTY C_STANDARD 99)
set_property(TARGET d8est PROPERTY C_STANDARD 99)
set_property(TARGET d8est_test PROPERTY C_STANDARD 99)
set_property(TARGET d4est_test PROPERTY C_STANDARD 99)
function(add_d4est_problem_3d exec src parent_dir)
add_executable(${exec} src/driver.c ${CMAKE_SOURCE_DIR}/src/Problems/${parent_dir}/${src})
target_link_libraries(${exec} d8est)
set_target_properties(${exec} PROPERTIES COMPILE_DEFINITIONS "DIM=3")
target_compile_definitions(${exec} PRIVATE D4EST_PROBLEM_NAME="${parent_dir}")
set_target_properties(${exec}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${parent_dir}"
)
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/Problems/${parent_dir}/*.input
${CMAKE_CURRENT_BINARY_DIR}/${parent_dir}/)
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/IO/logging.conf
${CMAKE_CURRENT_BINARY_DIR}/${parent_dir}/logging.conf)
endfunction()
function(add_d4est_problem_2d exec src parent_dir)
add_executable(${exec} src/driver.c ${CMAKE_SOURCE_DIR}/src/Problems/${parent_dir}/${src})
target_link_libraries(${exec} d4est)
set_target_properties(${exec} PROPERTIES COMPILE_DEFINITIONS "DIM=2")
set_target_properties(${exec}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${parent_dir}"
)
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/Problems/${parent_dir}/*.input
${CMAKE_CURRENT_BINARY_DIR}/${parent_dir}/)
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/IO/logging.conf
${CMAKE_CURRENT_BINARY_DIR}/${parent_dir}/logging.conf)
endfunction()
function(add_d4est_unit_test_3d exec src parent_dir test_name)
add_executable(${exec} ${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/${src})
target_link_libraries(${exec} d8est_test)
add_test(NAME ${test_name} COMMAND ${CMAKE_BINARY_DIR}/Tests/${exec} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/Tests/)
# target_compile_definitions(${exec} PRIVATE DIM=3)
target_compile_definitions(${exec} PRIVATE DIM=3 D4EST_TEST=1)
# target_compile_definitions(${exec} PRIVATE --fprofile-arcs --ftest-coverage)
set_target_properties(${exec}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Tests/"
)
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/*.input
"${CMAKE_BINARY_DIR}/Tests/")
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/IO/logging.conf
${CMAKE_CURRENT_BINARY_DIR}/Tests/logging.conf)
endfunction()
function(add_d4est_unit_test_2d exec src parent_dir test_name)
add_executable(${exec} ${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/${src})
target_link_libraries(${exec} d4est_test)
add_test(NAME ${test_name} COMMAND ${CMAKE_BINARY_DIR}/Tests/${exec} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/Tests/)
target_compile_definitions(${exec} PRIVATE DIM=2 D4EST_TEST=1)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_SUPPORTS_MARCH_NATIVE)
if(COMPILER_SUPPORTS_MARCH_NATIVE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
endif()
set_target_properties(${exec}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Tests/"
)
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/*.input
"${CMAKE_BINARY_DIR}/Tests/")
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/IO/logging.conf
${CMAKE_CURRENT_BINARY_DIR}/Tests/logging.conf)
endfunction()
function(add_d4est_unit_fake_test_3d exec src parent_dir test_name)
add_executable(${exec} ${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/${src})
target_link_libraries(${exec} d8est_test)
# target_compile_definitions(${exec} PRIVATE DIM=3)
target_compile_definitions(${exec} PRIVATE DIM=3 D4EST_TEST=1)
# target_compile_definitions(${exec} PRIVATE --fprofile-arcs --ftest-coverage)
set_target_properties(${exec}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Tests/"
)
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/*.input
"${CMAKE_BINARY_DIR}/Tests/")
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/IO/logging.conf
${CMAKE_CURRENT_BINARY_DIR}/Tests/logging.conf)
endfunction()
function(add_d4est_unit_fake_test_2d exec src parent_dir test_name)
add_executable(${exec} ${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/${src})
target_link_libraries(${exec} d4est_test)
target_compile_definitions(${exec} PRIVATE DIM=2 D4EST_TEST=1)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_SUPPORTS_MARCH_NATIVE)
if(COMPILER_SUPPORTS_MARCH_NATIVE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
endif()
set_target_properties(${exec}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Tests/"
)
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/*.input
"${CMAKE_BINARY_DIR}/Tests/")
add_custom_command(
TARGET ${exec} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/IO/logging.conf
${CMAKE_CURRENT_BINARY_DIR}/Tests/logging.conf)
endfunction()
function(add_d4est_bash_regression_test exec parent_dir test_name)
add_custom_command(
TARGET d4est POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/Tests/${parent_dir}/*.sh
"${CMAKE_BINARY_DIR}/Tests/")
add_test(NAME ${test_name} COMMAND bash ${CMAKE_BINARY_DIR}/Tests/${exec} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/Tests/)
endfunction()
# if ( CMAKE_BUILD_TYPE STREQUAL "Debug" )
# find_program( CODECOV_GCOV gcov )
# add_definitions( -fprofile-arcs -ftest-coverage )
# link_libraries( gcov )
# endif ( CMAKE_BUILD_TYPE STREQUAL "Debug" )
##
## Tests
##
enable_testing()
set(CTEST_MEMORYCHECK_COMMAND /usr/bin/valgrind)
set( MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=full --suppressions=${PROJECT_SOURCE_DIR}/suppressions.txt" )
# add_d4est_unit_test_2d(d4est_test_schwarz_ghostdata d4est_test_schwarz_ghostdata.c Unit d4est_test_schwarz_ghostdata)
# add_d4est_unit_test_2d(d4est_test_schwarz_cubic_new_2d d4est_test_schwarz_cubic_new.c Unit d4est_test_schwarz_cubic_new_2d)
# add_d4est_unit_test_3d(d4est_test_schwarz_cubed_sphere_hanging d4est_test_schwarz_cubed_sphere_hanging.c Unit d4est_test_schwarz_cubed_sphere_hanging)
# add_d4est_unit_test_3d(d4est_test_schwarz_slowerAu_cubed_sphere_hanging d4est_test_schwarz_slowerAu_cubed_sphere_hanging.c Unit d4est_test_schwarz_slowerAu_cubed_sphere_hanging)
# add_d4est_unit_test_2d(d4est_test_schwarz_disk_hanging d4est_test_schwarz_disk_hanging.c Unit d4est_test_schwarz_disk_hanging)
# add_d4est_unit_test_2d(d4est_test_schwarz_slowerAu_disk_hanging d4est_test_schwarz_slowerAu_disk_hanging.c Unit d4est_test_schwarz_slowerAu_disk_hanging)
# add_d4est_unit_test_2d(d4est_test_schwarz_hanging d4est_test_schwarz_hanging.c Unit d4est_test_schwarz_hanging)
# add_d4est_unit_test_2d(d4est_test_schwarz_slowerAu_hanging d4est_test_schwarz_slowerAu_hanging.c Unit d4est_test_schwarz_slowerAu_hanging)
# add_d4est_unit_test_3d(d4est_test_schwarz_cubed_sphere d4est_test_schwarz_cubed_sphere.c Unit d4est_test_schwarz_cubed_sphere)
#NON-COMMENTED TESTS AFTER HERE
add_d4est_unit_test_3d(d4est_test_vtk d4est_test_vtk.c Unit d4est_test_vtk)
add_d4est_unit_fake_test_3d(d4est_test_checkpoint d4est_test_checkpoint.c Unit d4est_test_checkpoint)
add_d4est_unit_fake_test_2d(d4est_test_multigrid_cubic d4est_test_multigrid_cubic.c Unit d4est_test_multigrid_cubic)
add_d4est_unit_test_3d(d4est_test_pbalance d4est_test_pbalance.c Unit d4est_test_pbalance)
add_d4est_unit_test_3d(d4est_test_cg_eigs d4est_test_cg_eigs.c Unit d4est_test_cg_eigs)
add_d4est_unit_test_3d(d4est_test_kron d4est_test_kron.c Unit d4est_test_kron)
add_d4est_unit_test_3d(d4est_test_linalg d4est_test_linalg.c Unit d4est_test_linalg)
add_d4est_unit_test_3d(d4est_test_ghost_data d4est_test_ghost_data.c Unit d4est_test_ghost_data)
add_d4est_unit_test_3d(d4est_test_schwarz_operators d4est_test_schwarz_operators.c Unit d4est_test_schwarz_operators)
add_d4est_unit_test_3d(d4est_test_schwarz_cubed_sphere_new_3d d4est_test_schwarz_cubed_sphere_new.c Unit d4est_test_schwarz_cubed_sphere_new_3d)
add_d4est_unit_test_3d(d4est_test_laplacian_symmetry d4est_test_laplacian_symmetry.c Unit d4est_test_laplacian_symmetry)
add_d4est_unit_test_3d(d4est_test_laplacian_consistency d4est_test_laplacian_consistency.c Unit d4est_test_laplacian_consistency)
add_d4est_unit_test_3d(d4est_test_initial_mesh d4est_test_initial_mesh.c Unit d4est_test_initial_mesh)
add_d4est_unit_test_3d(d4est_test_laplacian_speedup d4est_test_laplacian_speedup.c Unit d4est_test_laplacian_speedup)
add_d4est_bash_regression_test(d4est_test_stamm.sh Regression d4est_test_stamm)
add_d4est_bash_regression_test(d4est_test_cds.sh Regression d4est_test_constant_density_star)
add_d4est_bash_regression_test(d4est_test_poisson_lorentzian.sh Regression d4est_test_poisson_lorentzian)
add_d4est_bash_regression_test(d4est_test_poisson_sinx.sh Regression d4est_test_poisson_sinx)
add_d4est_bash_regression_test(d4est_test_twopunctures.sh Regression d4est_test_twopunctures)
add_d4est_bash_regression_test(d4est_test_twopunctures_2.sh Regression d4est_test_twopunctures_2)
add_d4est_bash_regression_test(d4est_test_mpi.sh Regression d4est_test_mpi)
add_d4est_problem_2d(stamm_driver stamm_multigrid_pc.c Stamm)
add_d4est_problem_2d(stamm_anares_driver stamm_anares.c Stamm)
add_d4est_problem_3d(poisson_sinx_uniform_driver poisson_sinx_uniform.c Poisson)
add_d4est_problem_3d(poisson_sinx_multigrid_driver poisson_sinx_multigrid.c Poisson)
add_d4est_problem_3d(poisson_sinx_schwarz_driver poisson_sinx_schwarz.c Poisson)
add_d4est_problem_3d(poisson_sinx_schwarz_pc_driver poisson_sinx_schwarz_pc.c Poisson)
add_d4est_problem_3d(poisson_lorentzian_multigrid_driver poisson_lorentzian_multigrid.c Poisson)
add_d4est_problem_3d(poisson_lorentzian_multigrid_schwarz_driver poisson_lorentzian_multigrid_schwarz.c Poisson)
add_d4est_problem_3d(poisson_lorentzian_amr_multigrid_driver poisson_lorentzian_amr_multigrid.c Poisson)
add_d4est_problem_3d(poisson_lorentzian_amr_multigrid_numres_driver poisson_lorentzian_amr_multigrid_numres.c Poisson)
add_d4est_problem_3d(poisson_lorentzian_amr_multigrid_anares_driver poisson_lorentzian_amr_multigrid_anares.c Poisson)
add_d4est_problem_3d(poisson_lorentzian_amr_multigrid_anares_schwarz_driver poisson_lorentzian_amr_multigrid_anares_schwarz.c Poisson)
add_d4est_problem_3d(poisson_lorentzian_checkpoint_vtk_saver_driver poisson_lorentzian_checkpoint_vtk_saver.c Poisson)
add_d4est_problem_3d(two_punctures_checkpoint_vtk_saver_driver two_punctures_checkpoint_vtk_saver.c TwoPunctures)
add_d4est_problem_3d(poisson_lorentzian_amr_anares_schwarz_pc_driver poisson_lorentzian_amr_anares_schwarz_pc.c Poisson)
add_d4est_problem_3d(poisson_lorentzian_amr_anares_cheby_pc_driver poisson_lorentzian_amr_anares_cheby_pc.c Poisson)
add_d4est_problem_3d(lorentzian_anares_schwarz_hptest_driver lorentzian_anares_schwarz_hptest.c Poisson)
add_d4est_problem_3d(constant_density_star_driver constant_density_star_mgpc_newton_petsc.c ConstantDensityStar)
add_d4est_problem_3d(constant_density_star_inhouse_driver constant_density_star_mgpc_newton_petsc_inhouse.c ConstantDensityStar)
add_d4est_problem_3d(constant_density_star_inhouse_2_driver constant_density_star_mgpc_newton_petsc_inhouse_2.c ConstantDensityStar)
add_d4est_problem_3d(constant_density_star_anares_driver cds_anares.c ConstantDensityStar)
add_d4est_problem_3d(two_punctures_robin_diff_geom_estimator_global_driver two_punctures_cactus_diff_geom_estimator_global.c TwoPunctures)
add_d4est_problem_3d(two_punctures_robin_diff_geom_estimator_global_13tree_driver two_punctures_cactus_diff_geom_estimator_global_13tree.c TwoPunctures)
add_d4est_problem_3d(two_punctures_anares_driver two_punctures_anares.c TwoPunctures)
add_d4est_problem_3d(two_punctures_anares_schwarz_driver two_punctures_anares_schwarz.c TwoPunctures)
add_d4est_problem_3d(multi_punctures_anares_driver multi_punctures_anares.c TwoPunctures)
add_d4est_problem_3d(multi_punctures_anares_inhouse_driver multi_punctures_anares_inhouse.c TwoPunctures)
add_d4est_problem_3d(two_punctures_cactus_13tree_with_opt_puncture_finder_driver two_punctures_cactus_13tree_with_opt_puncture_finder.c TwoPunctures)
add_d4est_problem_3d(two_punctures_anares_debug_driver two_punctures_anares_debug.c TwoPunctures)