Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openCARP
experiments
Commits
85ccb182
Commit
85ccb182
authored
Apr 25, 2022
by
Marie Houillon
Browse files
Remove explicit setting of PETSc flavor in regression tests
parent
9791b948
Changes
4
Hide whitespace changes
Inline
Side-by-side
regression/devtests/bidomain/lats/run.py
View file @
85ccb182
...
...
@@ -289,8 +289,7 @@ __tests__ = []
test
=
testing
.
Test
(
'thresh'
,
run
,
[
'--measurand'
,
'Vm'
,
'--method'
,
'thresh'
,
'--event'
,
'activation'
,
'--np'
,
'4'
,
'--flavor'
,
'petsc'
],
'--np'
,
'4'
],
tags
=
[
testing
.
tag
.
SHORT
,
testing
.
tag
.
PARALLEL
])
test
.
add_filecmp_check
(
'init_acts_activation-thresh.dat'
,
testing
.
max_error
,
0.001
)
__tests__
.
append
(
test
)
...
...
@@ -300,8 +299,7 @@ test = testing.Test('thresh_all_serial', run, ['--measurand', 'Vm',
'--method'
,
'thresh'
,
'--event'
,
'activation'
,
'--all'
,
'--np'
,
'1'
,
'--flavor'
,
'petsc'
],
'--np'
,
'1'
],
tags
=
[
testing
.
tag
.
MEDIUM
,
testing
.
tag
.
SERIAL
])
test
.
add_filecmp_check
(
'all_lats_0.dat'
,
testing
.
max_error
,
0.001
)
test
.
add_filecmp_check
(
'all_lats_1.dat'
,
testing
.
max_error
,
0.001
)
...
...
@@ -312,8 +310,7 @@ test = testing.Test('thresh_all_parallel', run, ['--measurand', 'Vm',
'--method'
,
'thresh'
,
'--event'
,
'activation'
,
'--all'
,
'--np'
,
'4'
,
'--flavor'
,
'petsc'
],
'--np'
,
'4'
],
tags
=
[
testing
.
tag
.
MEDIUM
,
testing
.
tag
.
PARALLEL
])
test
.
disable_reference_generation
()
test
.
add_filecmp_check
(
'all_lats_0.dat'
,
testing
.
max_error
,
0.001
)
...
...
@@ -324,8 +321,7 @@ __tests__.append(test)
test
=
testing
.
Test
(
'deriv'
,
run
,
[
'--measurand'
,
'Vm'
,
'--method'
,
'deriv'
,
'--event'
,
'activation'
,
'--np'
,
'4'
,
'--flavor'
,
'petsc'
],
'--np'
,
'4'
],
tags
=
[
testing
.
tag
.
SHORT
,
testing
.
tag
.
PARALLEL
])
test
.
add_filecmp_check
(
'init_acts_activation-deriv.dat'
,
testing
.
max_error
,
0.001
)
__tests__
.
append
(
test
)
...
...
regression/devtests/bidomain/phie_recovery/run.py
View file @
85ccb182
...
...
@@ -291,7 +291,7 @@ desc = ('')
desc
=
(
'Phie recovery during simulation and as postprocessing step on single core (using FE mass and stiffness '
'matrices)'
)
test
=
testing
.
Test
(
'serial_recv_meth_1'
,
run
,
[
'--np'
,
1
,
'--flavor'
,
'petsc'
,
'--method'
,
1
],
test
=
testing
.
Test
(
'serial_recv_meth_1'
,
run
,
[
'--np'
,
1
,
'--method'
,
1
],
description
=
desc
,
refdir
=
'serial_recv_meth_1'
,
tags
=
[
testing
.
tag
.
FAST
,
...
...
@@ -305,7 +305,7 @@ __tests__.append(test)
# -----------------------------------------------------------------------------
desc
=
(
'Phie recovery during simulation and as postprocessing step on multiple cores (using FE mass and '
'stiffness '
)
test
=
testing
.
Test
(
'parallel_recv_meth_1'
,
run
,
[
'--np'
,
4
,
'--flavor'
,
'petsc'
,
'--method'
,
1
],
test
=
testing
.
Test
(
'parallel_recv_meth_1'
,
run
,
[
'--np'
,
4
,
'--method'
,
1
],
description
=
desc
,
refdir
=
'serial_recv_meth_1'
,
tags
=
[
testing
.
tag
.
FAST
,
...
...
regression/devtests/bidomain/region_vs_gradient_based_heterogeneities/run.py
View file @
85ccb182
...
...
@@ -362,7 +362,7 @@ simID2 = 'GradientWise_{0:4.2f}-{1:4.2f}'.format(f_min_scf,f_max_scf)
desc
=
(
'Testing region-based and gradient based incorporation of '
'heterogeneities in a thin 2D sheet.'
)
test
=
testing
.
Test
(
'serial'
,
run
,
[
'--np'
,
1
,
'--flavor'
,
'petsc'
],
test
=
testing
.
Test
(
'serial'
,
run
,
[
'--np'
,
1
],
description
=
desc
,
refdir
=
'serial'
,
tags
=
[
testing
.
tag
.
MEDIUM
,
testing
.
tag
.
SERIAL
])
...
...
@@ -376,7 +376,7 @@ __tests__.append(test)
desc
=
(
'Same setting as in single core mode above, but now using 8 threads. '
'Compare against single core results.'
)
test
=
testing
.
Test
(
'parallel'
,
run
,
[
'--np'
,
4
,
'--flavor'
,
'petsc'
],
test
=
testing
.
Test
(
'parallel'
,
run
,
[
'--np'
,
4
],
description
=
desc
,
refdir
=
'serial'
,
tags
=
[
testing
.
tag
.
MEDIUM
,
testing
.
tag
.
PARALLEL
])
...
...
regression/devtests/bidomain/stimulation/run.py
View file @
85ccb182
...
...
@@ -216,7 +216,7 @@ __tests__.append(test)
# test extracellular voltage stimulation with interrupting the circuit (open loop)
test
=
testing
.
Test
(
'extra_V_OL'
,
run
,
[
'--stimulus'
,
'extra_V_OL'
,
'--flavor'
,
'petsc'
],
[
'--stimulus'
,
'extra_V_OL'
],
tags
=
[
testing
.
tag
.
FAST
,
testing
.
tag
.
SERIAL
])
test
.
add_filecmp_check
(
'phie.igb.gz'
,
testing
.
max_error
,
0.001
)
test
.
add_filecmp_check
(
'vm.igb.gz'
,
testing
.
max_error
,
0.001
)
...
...
@@ -225,7 +225,7 @@ __tests__.append(test)
# test extracellular current stimulation
test
=
testing
.
Test
(
'extra_I'
,
run
,
[
'--stimulus'
,
'extra_I'
,
'--flavor'
,
'petsc'
],
[
'--stimulus'
,
'extra_I'
],
tags
=
[
testing
.
tag
.
FAST
,
testing
.
tag
.
SERIAL
])
test
.
add_filecmp_check
(
'phie.igb.gz'
,
testing
.
max_error
,
0.001
)
test
.
add_filecmp_check
(
'vm.igb.gz'
,
testing
.
max_error
,
0.001
)
...
...
@@ -235,7 +235,7 @@ __tests__.append(test)
# test extracellular current stimulation with two balanced currents,
# ground electrode is in the middle of the strand
test
=
testing
.
Test
(
'extra_IbalGnd'
,
run
,
[
'--stimulus'
,
'extra_I_bal'
,
'--grounded'
,
'on'
,
'--flavor'
,
'petsc'
],
[
'--stimulus'
,
'extra_I_bal'
,
'--grounded'
,
'on'
],
tags
=
[
testing
.
tag
.
FAST
,
testing
.
tag
.
SERIAL
])
test
.
add_filecmp_check
(
'phie.igb.gz'
,
testing
.
max_error
,
0.001
)
test
.
add_filecmp_check
(
'vm.igb.gz'
,
testing
.
max_error
,
0.001
)
...
...
@@ -245,7 +245,7 @@ __tests__.append(test)
# test extracellular current stimulation with two balanced currents,
# ground electrode is in the middle of the strand
test
=
testing
.
Test
(
'extra_IbalNGnd'
,
run
,
[
'--stimulus'
,
'extra_I_bal'
,
'--grounded'
,
'off'
,
'--flavor'
,
'petsc'
],
[
'--stimulus'
,
'extra_I_bal'
,
'--grounded'
,
'off'
],
tags
=
[
testing
.
tag
.
FAST
,
testing
.
tag
.
SERIAL
])
test
.
add_filecmp_check
(
'phie.igb.gz'
,
testing
.
max_error
,
0.001
)
test
.
add_filecmp_check
(
'vm.igb.gz'
,
testing
.
max_error
,
0.001
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment