[cig-commits] r18913 - short/3D/PyLith/benchmarks/trunk/static/performance/solvertest
knepley at geodynamics.org
knepley at geodynamics.org
Thu Sep 15 15:13:23 PDT 2011
Author: knepley
Date: 2011-09-15 15:13:23 -0700 (Thu, 15 Sep 2011)
New Revision: 18913
Added:
short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/asm.cfg
short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/fieldsplit.cfg
short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/nonlinear.cfg
Modified:
short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/pylithapp.cfg
Log:
Reorganizing configuration for solvers
Added: short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/asm.cfg
===================================================================
--- short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/asm.cfg (rev 0)
+++ short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/asm.cfg 2011-09-15 22:13:23 UTC (rev 18913)
@@ -0,0 +1,5 @@
+[pylithapp.petsc]
+ksp_type = gmres
+ksp_gmres_restart = 100
+
+pc_type = asm
Added: short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/fieldsplit.cfg
===================================================================
--- short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/fieldsplit.cfg (rev 0)
+++ short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/fieldsplit.cfg 2011-09-15 22:13:23 UTC (rev 18913)
@@ -0,0 +1,17 @@
+[pylithapp.timedependent.formulation]
+split_fields = True
+use_custom_constraint_pc = True
+matrix_type = aij
+
+[pylithapp.petsc]
+fs_pc_type = fieldsplit
+fs_pc_fieldsplit_real_diagonal =
+fs_pc_fieldsplit_type = multiplicative
+fs_fieldsplit_0_pc_type = ml
+fs_fieldsplit_1_pc_type = ml
+fs_fieldsplit_2_pc_type = ml
+fs_fieldsplit_3_pc_type = ml
+fs_fieldsplit_0_ksp_type = preonly
+fs_fieldsplit_1_ksp_type = preonly
+fs_fieldsplit_2_ksp_type = preonly
+fs_fieldsplit_3_ksp_type = preonly
Added: short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/nonlinear.cfg
===================================================================
--- short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/nonlinear.cfg (rev 0)
+++ short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/nonlinear.cfg 2011-09-15 22:13:23 UTC (rev 18913)
@@ -0,0 +1,12 @@
+# Nonlinear solver
+[pylithapp.timedependent.formulation]
+solver = pylith.problems.SolverNonlinear
+
+[pylithapp.petsc]
+snes_rtol = 1.0e-8
+snes_atol = 1.0e-12
+snes_max_it = 150
+
+snes_monitor = true
+snes_view = true
+snes_converged_reason = true
Modified: short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/pylithapp.cfg
===================================================================
--- short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/pylithapp.cfg 2011-09-15 22:10:02 UTC (rev 18912)
+++ short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/pylithapp.cfg 2011-09-15 22:13:23 UTC (rev 18913)
@@ -118,12 +118,9 @@
slip = spatialdata.spatialdb.UniformDB
slip.values = [left-lateral-slip,reverse-slip,fault-opening]
slip.data = [-1.0*m,0.0*m,0.0*m]
-slip.label = Final slip for fault middle
-
slip_time = spatialdata.spatialdb.UniformDB
slip_time.values = [slip-time]
slip_time.data = [0.0*year]
-slip_time.label = Slip time for fault middle
[pylithapp.timedependent.interfaces.fault_xpos]
id = 101
@@ -134,12 +131,9 @@
slip = spatialdata.spatialdb.UniformDB
slip.values = [left-lateral-slip,reverse-slip,fault-opening]
slip.data = [-0.5*m,0.0*m,0.0*m]
-slip.label = Final slip for fault xpos
-
slip_time = spatialdata.spatialdb.UniformDB
slip_time.values = [slip-time]
slip_time.data = [0.0*year]
-slip_time.label = Slip time for fault xpos
[pylithapp.timedependent.interfaces.fault_xneg]
@@ -151,12 +145,9 @@
slip = spatialdata.spatialdb.UniformDB
slip.values = [left-lateral-slip,reverse-slip,fault-opening]
slip.data = [-0.5*m,0.0*m,0.0*m]
-slip.label = Final slip for fault xneg
-
slip_time = spatialdata.spatialdb.UniformDB
slip_time.values = [slip-time]
slip_time.data = [0.0*year]
-slip_time.label = Slip time for fault xneg
# ----------------------------------------------------------------------
# output
@@ -208,50 +199,11 @@
# PETSc
# ----------------------------------------------------------------------
[pylithapp.petsc]
-
-ksp_type = gmres
-pc_type = asm
-
ksp_rtol = 1.0e-8
ksp_atol = 1.0e-12
-ksp_gmres_restart = 100
ksp_max_it = 150
ksp_monitor = true
ksp_view = true
ksp_converged_reason = true
-
-#log_summary = true
-
-# Field split
-[pylithapp.timedependent.formulation]
-split_fields = True
-use_custom_constraint_pc = True
-matrix_type = aij
-
-[pylithapp.petsc]
-fs_pc_type = fieldsplit
-fs_pc_fieldsplit_real_diagonal =
-fs_pc_fieldsplit_type = multiplicative
-fs_fieldsplit_0_pc_type = ml
-fs_fieldsplit_1_pc_type = ml
-fs_fieldsplit_2_pc_type = ml
-fs_fieldsplit_3_pc_type = ml
-fs_fieldsplit_0_ksp_type = preonly
-fs_fieldsplit_1_ksp_type = preonly
-fs_fieldsplit_2_ksp_type = preonly
-fs_fieldsplit_3_ksp_type = preonly
-
-# Nonlinear solver
-#[pylithapp.timedependent.formulation]
-#solver = pylith.problems.SolverNonlinear
-
-#[pylithapp.petsc]
-#snes_rtol = 1.0e-8
-#snes_atol = 1.0e-12
-#snes_max_it = 150
-
-#snes_monitor = true
-#snes_view = true
-#snes_converged_reason = true
-
+log_summary = true
More information about the CIG-COMMITS
mailing list