[petsc-dev] partitioners that use bullshit random numbers

Barry Smith bsmith at mcs.anl.gov
Sun Feb 5 21:40:48 CST 2017


   Is there any way we can substitute a deterministic random number generators for the bullshit partitioning packages that insist on using "system" non-portable random number generators?  We should have tests that use metis/parmetis and chaco or whatever but we shouldn't have to deal with their bad decisions.  Matt, what horrible partitioning is being used here?

  Barry

not ok diff-snes_tutorials-ex12_tri_bddc
#	2,12c2,11
#	<     0 KSP Residual norm 11.5911 
#	<     1 KSP Residual norm 0.419162 
#	<     2 KSP Residual norm 0.0466633 
#	<     3 KSP Residual norm 0.00282513 
#	<     4 KSP Residual norm 0.000140711 
#	<     5 KSP Residual norm 2.35332e-05 
#	<     6 KSP Residual norm 8.28552e-07 
#	<     7 KSP Residual norm 1.43643e-08 
#	<     8 KSP Residual norm 2.827e-10 
#	<   Linear solve converged due to CONVERGED_RTOL iterations 8
#	<   1 SNES Function norm 7.836e-10 
#	---
#	>     0 KSP Residual norm 11.6648 
#	>     1 KSP Residual norm 0.443991 
#	>     2 KSP Residual norm 0.0393777 
#	>     3 KSP Residual norm 0.00187772 
#	>     4 KSP Residual norm 0.000140435 
#	>     5 KSP Residual norm 1.08843e-05 
#	>     6 KSP Residual norm 2.87537e-07 
#	>     7 KSP Residual norm 5.20043e-09 
#	>   Linear solve converged due to CONVERGED_RTOL iterations 7
#	>   1 SNES Function norm 1.59735e-08 
#	18c17
#	<   total number of linear solver iterations=8
#	---
#	>   total number of linear solver iterations=7
#	76,77c75,76
#	<       BDDC: Global dofs sizes: all 225 interface 43 coarse 7
#	<       BDDC: Coarsening ratios: all/coarse 32 interface/coarse 6
#	---
#	>       BDDC: Global dofs sizes: all 225 interface 57 coarse 9
#	>       BDDC: Coarsening ratios: all/coarse 25 interface/coarse 6
#	81,84c80,83
#	<       BDDC: Interior  dofs   :	21	49	36
#	<       BDDC: Interface dofs   :	15	22	17
#	<       BDDC: Primal    dofs   :	3	4	3
#	<       BDDC: Local     dofs   :	36	64	54
#	---
#	>       BDDC: Interior  dofs   :	21	42	33
#	>       BDDC: Interface dofs   :	15	36	23
#	>       BDDC: Primal    dofs   :	3	6	4
#	>       BDDC: Local     dofs   :	36	78	57
#	99,100c98,99
#	<         rows=7, cols=7
#	<         total: nonzeros=35, allocated nonzeros=43
#	---
#	>         rows=9, cols=9
#	>         total: nonzeros=61, allocated nonzeros=68
#	115c114
#	<                 factor fill ratio given 5., needed 1.17143
#	---
#	>                 factor fill ratio given 5., needed 1.13115
#	119c118
#	<                       rows=7, cols=7
#	---
#	>                       rows=9, cols=9
#	121c120
#	<                       total: nonzeros=41, allocated nonzeros=41
#	---
#	>                       total: nonzeros=69, allocated nonzeros=69
#	127,128c126,127
#	<                 rows=7, cols=7
#	<                 total: nonzeros=35, allocated nonzeros=35
#	---
#	>                 rows=9, cols=9
#	>                 total: nonzeros=61, allocated nonzeros=61
#	130c129
#	<                   not using I-node routines
#	---
#	>                   using I-node routines: found 7 nodes, limit used is 5
#	135c134
#	<       total: nonzeros=1585, allocated nonzeros=1764
#	---
#	>       total: nonzeros=1625, allocated nonzeros=1855




More information about the petsc-dev mailing list