Skip to content

mlohry/petsc_miscellany

Repository files navigation

petsc_miscellany

$ bash ./test_coloring.sh 
color type: sl
Loaded matrix file ./jacobian_sparsity.dat
Computing coloring.
MatColoring Object: 16 MPI processes
  type: sl
  Weight type: RANDOM
  Distance 2, Max. Colors 65535
  Number of colors 355
  Number of total columns 76800

real	0m1.693s
user	0m16.976s
sys	0m3.292s
color type: lf
Loaded matrix file ./jacobian_sparsity.dat
Computing coloring.
MatColoring Object: 16 MPI processes
  type: lf
  Weight type: RANDOM
  Distance 2, Max. Colors 65535
  Number of colors 500
  Number of total columns 76800

real	0m1.315s
user	0m15.596s
sys	0m3.072s
color type: jp
Loaded matrix file ./jacobian_sparsity.dat
Computing coloring.
MatColoring Object: 16 MPI processes
  type: jp
  Weight type: RANDOM
  Distance 2, Max. Colors 65535
  Number of colors 709
  Number of total columns 76800

real	0m29.137s
user	7m42.480s
sys	0m1.184s
color type: id
Loaded matrix file ./jacobian_sparsity.dat
Computing coloring.
MatColoring Object: 16 MPI processes
  type: id
  Weight type: RANDOM
  Distance 2, Max. Colors 65535
  Number of colors 400
  Number of total columns 76800

real	0m1.334s
user	0m16.400s
sys	0m3.120s
color type: greedy
Loaded matrix file ./jacobian_sparsity.dat
Computing coloring.
MatColoring Object: 16 MPI processes
  type: greedy
  Weight type: RANDOM
  Distance 2, Max. Colors 65535
  Number of colors 390
  Number of total columns 76800

real	0m1.811s
user	0m26.444s
sys	0m0.772s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published