Skip to content

simple implementation of a dummy meta-smoother and simple tuner that uses random values.

Notifications You must be signed in to change notification settings

khuck/avatar-mockup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

avatar-mockup

simple implementation of a dummy meta-smoother and simple tuner that uses random values.

To run the example, edit simple.sh to change the location of the Kokkos installation directory, and then run the simple.sh script. The meta-smoother will run 300 times so that each smoother can be "run" 100 times each, and each time the simple tuner will choose random values for each tunable parameter.

Sample output:

Options for Chebyshev: Degree [1,2,3,4,5,6]
Options for Chebyshev: Eigenvalue Ratio[10.000000,50.000000]
Options for Chebychev: Maximum Iterations [5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100]
Options for Multi-threaded Gauss-Seidel: Number of Sweeps [1,2]
Options for Multi-threaded Gauss-Seidel: Damping Factor[0.800000,1.200000]
Options for Two-Stage Gauss-Seidel: Number of Sweeps [1,2]
Options for Two-Stage Gauss-Seidel: Inner Damping Factor[0.800000,1.200000]

Chebyshev: Degree target value: 5
Chebyshev: Eigenvalue Ratio target value: 15
Chebychev: Maximum Iterations target value: 75
Multi-threaded Gauss-Seidel: Number of Sweeps target value: 1
Multi-threaded Gauss-Seidel: Damping Factor target value: 0.9
Two-Stage Gauss-Seidel: Number of Sweeps target value: 2
Two-Stage Gauss-Seidel: Inner Damping Factor target value: 1.1

Best random value for variable meta-smoother: 1
Best random value for variable Chebyshev: Degree: 5
Best random value for variable Chebyshev: Eigenvalue Ratio: 17.0174
Best random value for variable Chebychev: Maximum Iterations: 54
Best random value for variable Multi-threaded Gauss-Seidel: Number of Sweeps: 1
Best random value for variable Multi-threaded Gauss-Seidel: Damping Factor: 0.900066
Best random value for variable Two-Stage Gauss-Seidel: Number of Sweeps: 2
Best random value for variable Two-Stage Gauss-Seidel: Inner Damping Factor: 1.12998

To see lots and lots of output, set export KOKKOS_VERBOSE=1 before running. to turn that back off, unset KOKKOS_VERBOSE.

About

simple implementation of a dummy meta-smoother and simple tuner that uses random values.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published