Skip to content
Snippets Groups Projects
Commit 9079b9b7 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Merge branch 'EnablePythonForPetscCI' into 'master'

Enable python for petsc CI

See merge request ogs/ogs!4322
parents 5b3ca3c7 d5bc9360
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
"name": "_petsc", "name": "_petsc",
"hidden": true, "hidden": true,
"cacheVariables": { "cacheVariables": {
"OGS_USE_PYTHON": "OFF",
"BUILD_SHARED_LIBS": "ON", "BUILD_SHARED_LIBS": "ON",
"OGS_USE_PETSC": "ON" "OGS_USE_PETSC": "ON"
}, },
......
...@@ -94,13 +94,13 @@ AddTest( ...@@ -94,13 +94,13 @@ AddTest(
NAME PhaseField_2D_surfing_AT1_vd NAME PhaseField_2D_surfing_AT1_vd
PATH PhaseField/surfing PATH PhaseField/surfing
EXECUTABLE ogs EXECUTABLE ogs
EXECUTABLE_ARGS surfing.PRJ EXECUTABLE_ARGS surfing.prj
WRAPPER mpirun WRAPPER mpirun
WRAPPER_ARGS -np 1 WRAPPER_ARGS -np 1
TESTER vtkdiff TESTER vtkdiff
REQUIREMENTS OGS_USE_MPI AND OGS_USE_PYTHON REQUIREMENTS OGS_USE_MPI AND OGS_USE_PYTHON
RUNTIME 18 RUNTIME 18
DIFF_DATA DIFF_DATA
expected_surfing_ts_20_t_1_000000_0.vtu surfing_ts_20_t_1_000000_0.vtu displacement displacement 1e-5 0 expected_surfing_ts_20_t_1_000000_0.vtu surfing_ts_20_t_1.000000.vtu displacement displacement 1e-5 0
expected_surfing_ts_20_t_1_000000_0.vtu surfing_ts_20_t_1_000000_0.vtu phasefield phasefield 1e-6 0 expected_surfing_ts_20_t_1_000000_0.vtu surfing_ts_20_t_1.000000.vtu phasefield phasefield 1e-6 0
) )
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<convergence_criterion> <convergence_criterion>
<type>DeltaX</type> <type>DeltaX</type>
<norm_type>INFINITY_N</norm_type> <norm_type>INFINITY_N</norm_type>
<abstol>1e-8</abstol> <abstol>1e-16</abstol>
</convergence_criterion> </convergence_criterion>
<time_discretization> <time_discretization>
<type>BackwardEuler</type> <type>BackwardEuler</type>
...@@ -160,13 +160,13 @@ ...@@ -160,13 +160,13 @@
<vtkdiff> <vtkdiff>
<file>piston_ts_5_t_5.000000.vtu</file> <file>piston_ts_5_t_5.000000.vtu</file>
<field>epsilon</field> <field>epsilon</field>
<absolute_tolerance>1e-14</absolute_tolerance> <absolute_tolerance>6e-15</absolute_tolerance>
<relative_tolerance>0</relative_tolerance> <relative_tolerance>0</relative_tolerance>
</vtkdiff> </vtkdiff>
<vtkdiff> <vtkdiff>
<file>piston_ts_5_t_5.000000.vtu</file> <file>piston_ts_5_t_5.000000.vtu</file>
<field>sigma</field> <field>sigma</field>
<absolute_tolerance>2e-8</absolute_tolerance> <absolute_tolerance>8e-9</absolute_tolerance>
<relative_tolerance>0</relative_tolerance> <relative_tolerance>0</relative_tolerance>
</vtkdiff> </vtkdiff>
<vtkdiff> <vtkdiff>
...@@ -178,13 +178,13 @@ ...@@ -178,13 +178,13 @@
<vtkdiff> <vtkdiff>
<file>piston_ts_10_t_10.000000.vtu</file> <file>piston_ts_10_t_10.000000.vtu</file>
<field>epsilon</field> <field>epsilon</field>
<absolute_tolerance>1e-13</absolute_tolerance> <absolute_tolerance>2e-14</absolute_tolerance>
<relative_tolerance>0</relative_tolerance> <relative_tolerance>0</relative_tolerance>
</vtkdiff> </vtkdiff>
<vtkdiff> <vtkdiff>
<file>piston_ts_10_t_10.000000.vtu</file> <file>piston_ts_10_t_10.000000.vtu</file>
<field>sigma</field> <field>sigma</field>
<absolute_tolerance>1e-7</absolute_tolerance> <absolute_tolerance>2e-8</absolute_tolerance>
<relative_tolerance>0</relative_tolerance> <relative_tolerance>0</relative_tolerance>
</vtkdiff> </vtkdiff>
</test_definition> </test_definition>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment