Skip to content

Commit 4ed700c

Browse files
authored
Increase TEST_NP and set amrex arena to 0 (#112)
* Increase TEST_NP and set amrex arena to 0 * fix mangling
1 parent d25aa54 commit 4ed700c

File tree

16 files changed

+18
-3
lines changed

16 files changed

+18
-3
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ macro(setup_test)
5050
file(MAKE_DIRECTORY ${CURRENT_TEST_BINARY_DIR})
5151
file(GLOB TEST_FILES "${CURRENT_TEST_SOURCE_DIR}/*")
5252
file(COPY ${TEST_FILES} DESTINATION "${CURRENT_TEST_BINARY_DIR}/")
53-
set(TEST_NP 2)
53+
set(TEST_NP 4)
5454
set(MPI_COMMANDS "${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${TEST_NP} ${MPIEXEC_PREFLAGS}")
5555
if(AMReX_CUDA OR AMReX_HIP OR AMReX_SYCL)
5656
set(FCOMPARE_TOLERANCE "-r 1e-10 --abs_tol 1.0e-12")

test/test_files/abl-bndry-input/abl-amr-bndry-input.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,4 @@ nodal_proj.mg_rtol = 1.0e-12
8585
nodal_proj.mg_atol = 1.0e-12
8686
mac_proj.mg_rtol = 1.0e-12
8787
mac_proj.mg_atol = 1.0e-12
88+
amrex.the_arena_init_size = 0

test/test_files/abl-bndry-output/abl-amr-bndry-output.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,4 @@ nodal_proj.mg_rtol = 1.0e-12
7777
nodal_proj.mg_atol = 1.0e-12
7878
mac_proj.mg_rtol = 1.0e-12
7979
mac_proj.mg_atol = 1.0e-12
80+
amrex.the_arena_init_size = 0

test/test_files/amr-nalu-cylinder-motion/cylinder-amr.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ mac_proj.mg_rtol = 1.0e-12
6060
mac_proj.mg_atol = 1.0e-12
6161
nodal_proj.num_pre_smooth = 10
6262
nodal_proj.num_post_smooth = 10
63+
amrex.the_arena_init_size = 0

test/test_files/amr-nalu-cylinder/cylinder-amr.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ mac_proj.mg_rtol = 1.0e-12
6060
mac_proj.mg_atol = 1.0e-12
6161
nodal_proj.num_pre_smooth = 10
6262
nodal_proj.num_post_smooth = 10
63+
amrex.the_arena_init_size = 0

test/test_files/ctv/ctv-amr1.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ mac_proj.mg_rtol = 1.0e-12
6262
mac_proj.mg_atol = 1.0e-12
6363
nodal_proj.num_pre_smooth = 10
6464
nodal_proj.num_post_smooth = 10
65+
amrex.the_arena_init_size = 0

test/test_files/ctv/ctv-amr2.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ mac_proj.mg_rtol = 1.0e-12
6262
mac_proj.mg_atol = 1.0e-12
6363
nodal_proj.num_pre_smooth = 10
6464
nodal_proj.num_post_smooth = 10
65+
amrex.the_arena_init_size = 0

test/test_files/ctv/ctv-amr3.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ mac_proj.mg_rtol = 1.0e-12
6262
mac_proj.mg_atol = 1.0e-12
6363
nodal_proj.num_pre_smooth = 10
6464
nodal_proj.num_post_smooth = 10
65+
amrex.the_arena_init_size = 0

test/test_files/dam-break-block/dam-break-block-amr.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ zhi.density_type = "mass_inflow"
5353
zhi.density = 1.
5454

5555
incflo.verbose=0
56+
amrex.the_arena_init_size = 0

test/test_files/flat-surface/flat-surface-amr.inp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ nodal_proj.mg_rtol = 1.0e-12
4949
nodal_proj.mg_atol = 1.0e-12
5050
mac_proj.mg_rtol = 1.0e-12
5151
mac_proj.mg_atol = 1.0e-12
52+
amrex.the_arena_init_size = 0

0 commit comments

Comments
 (0)