/[escript]/trunk/finley/benchmarks/runbenchmark.py
ViewVC logotype

Diff of /trunk/finley/benchmarks/runbenchmark.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 459 by gross, Tue Jan 24 07:51:02 2006 UTC revision 479 by gross, Wed Feb 1 04:36:53 2006 UTC
# Line 30  __date__="$Date:$" Line 30  __date__="$Date:$"
30  from esys.finley.finleybench import *  from esys.finley.finleybench import *
31  from esys.escript.benchmark import BenchmarkSuite,Benchmark  from esys.escript.benchmark import BenchmarkSuite,Benchmark
32    
33    type="all"
34    type="mantle"
35    
36  thlist=[1,2,4,8,16]  thlist=[1,2,4,8,16]
37  # thlist=[1,2,4,8,16,32]  # thlist=[1,2,4,8,16,32]
38  # thlist=[1,2,4,8,16,32,64,128]  # thlist=[1,2,4,8,16,32,64,128]
# Line 41  opt1=FinleyOptions(solver_method=LinearP Line 44  opt1=FinleyOptions(solver_method=LinearP
44  opt2=FinleyOptions(solver_method=LinearPDE.PCG,preconditioner=LinearPDE.ILU0,verbose=show)  opt2=FinleyOptions(solver_method=LinearPDE.PCG,preconditioner=LinearPDE.ILU0,verbose=show)
45  opt3=FinleyOptions(solver_method=LinearPDE.PCG,preconditioner=LinearPDE.RILU,verbose=show)  opt3=FinleyOptions(solver_method=LinearPDE.PCG,preconditioner=LinearPDE.RILU,verbose=show)
46  opt4=FinleyOptions(solver_method=LinearPDE.DIRECT,verbose=show)  opt4=FinleyOptions(solver_method=LinearPDE.DIRECT,verbose=show)
47  ops=(opt1,opt2,opt3,opt4)  ops=(opt1,opt3,opt4)
48    
49  bm_L2Do1=Benchmark(name="Laplace 2D (order 1)")  bm_L2Do1=Benchmark(name="Laplace 2D (order 1)")
50  bm_L2Do1.addProblem(Laplace2DOrder1_30k())  bm_L2Do1.addProblem(Laplace2DOrder1_30k())
# Line 721  bm_LA3D_o2_pen100_c6_n45.addProblem(Inho Line 724  bm_LA3D_o2_pen100_c6_n45.addProblem(Inho
724  bm_LA3D_o2_pen100_c6_n45.addProblem(InhomogeneousLame3DOrder2JumpE6Normal45Alpha100_15360k())  bm_LA3D_o2_pen100_c6_n45.addProblem(InhomogeneousLame3DOrder2JumpE6Normal45Alpha100_15360k())
725  map(bm_LA3D_o2_pen100_c6_n45.addOptions,ops)  map(bm_LA3D_o2_pen100_c6_n45.addOptions,ops)
726    
727  bms=BenchmarkSuite("Paso/Finley")  bm_CLA2D_o1=Benchmark(name="Lame 2D (compressible, order 1)")
728  # bms.addBenchmark(bm_L2Do1)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_30k())
729  # bms.addBenchmark(bm_L2Do2)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_60k())
730  # bms.addBenchmark(bm_L3Do1)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_120k())
731  # bms.addBenchmark(bm_L3Do2)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_240k())
732    bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_480k())
733  # bms.addBenchmark(bm_A2Do1g30)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_960k())
734  # bms.addBenchmark(bm_A2Do1g45)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_1920k())
735  # bms.addBenchmark(bm_A2Do2g30)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_3840k())
736  # bms.addBenchmark(bm_A2Do2g45)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_7680k())
737  # bms.addBenchmark(bm_A3Do1g30)  bm_CLA2D_o1.addProblem(CompressibleLame2DOrder1_15360k())
738  # bms.addBenchmark(bm_A3Do1g45)  map(bm_CLA2D_o1.addOptions,ops)
739  # bms.addBenchmark(bm_A3Do2g30)  
740  # bms.addBenchmark(bm_A3Do2g45)  bm_CLA2D_o1_c2=Benchmark(name="Lame 2D (compressible, order 1, contrast 1e2)")
741    bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_30k())
742  bms.addBenchmark(bm_LA2D_o1)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_60k())
743  bms.addBenchmark(bm_LA2D_o1_pen100)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_120k())
744  bms.addBenchmark(bm_LA2D_o1_c2)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_240k())
745  bms.addBenchmark(bm_LA2D_o1_pen100_c2)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_480k())
746  bms.addBenchmark(bm_LA2D_o1_c6)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_960k())
747  bms.addBenchmark(bm_LA2D_o1_pen100_c6)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_1920k())
748  bms.addBenchmark(bm_LA2D_o1_c2_n45)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_3840k())
749  bms.addBenchmark(bm_LA2D_o1_pen100_c2_n45)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_7680k())
750  bms.addBenchmark(bm_LA2D_o1_c6_n45)  bm_CLA2D_o1_c2.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE2_15360k())
751  bms.addBenchmark(bm_LA2D_o1_pen100_c6_n45)  map(bm_CLA2D_o1_c2.addOptions,ops)
752  bms.addBenchmark(bm_LA2D_o2)  
753  bms.addBenchmark(bm_LA2D_o2_pen100)  bm_CLA2D_o1_c6=Benchmark(name="Lame 2D (compressible, order 1, contrast 1e6)")
754  bms.addBenchmark(bm_LA2D_o2_c2)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_30k())
755  bms.addBenchmark(bm_LA2D_o2_pen100_c2)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_60k())
756  bms.addBenchmark(bm_LA2D_o2_c6)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_120k())
757  bms.addBenchmark(bm_LA2D_o2_pen100_c6)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_240k())
758  bms.addBenchmark(bm_LA2D_o2_c2_n45)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_480k())
759  bms.addBenchmark(bm_LA2D_o2_pen100_c2_n45)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_960k())
760  bms.addBenchmark(bm_LA2D_o2_c6_n45)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_1920k())
761  bms.addBenchmark(bm_LA2D_o2_pen100_c6_n45)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_3840k())
762  bms.addBenchmark(bm_LA3D_o1)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_7680k())
763  bms.addBenchmark(bm_LA3D_o1_pen100)  bm_CLA2D_o1_c6.addProblem(CompressibleInhomgeneousLame2DOrder1JumpE6_15360k())
764  bms.addBenchmark(bm_LA3D_o1_c2)  map(bm_CLA2D_o1_c6.addOptions,ops)
765  bms.addBenchmark(bm_LA3D_o1_pen100_c2)  
766  bms.addBenchmark(bm_LA3D_o1_c6)  bm_CLA2D_o1_c2_n45=Benchmark(name="Lame 2D (compressible, order 1, contrast 1e2, normal 45deg)")
767  bms.addBenchmark(bm_LA3D_o1_pen100_c6)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_30k())
768  bms.addBenchmark(bm_LA3D_o1_c2_n45)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_60k())
769  bms.addBenchmark(bm_LA3D_o1_pen100_c2_n45)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_120k())
770  bms.addBenchmark(bm_LA3D_o1_c6_n45)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_240k())
771  bms.addBenchmark(bm_LA3D_o1_pen100_c6_n45)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_480k())
772  bms.addBenchmark(bm_LA3D_o2)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_960k())
773  bms.addBenchmark(bm_LA3D_o2_pen100)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_1920k())
774  bms.addBenchmark(bm_LA3D_o2_c2)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_3840k())
775  bms.addBenchmark(bm_LA3D_o2_pen100_c2)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_7680k())
776  bms.addBenchmark(bm_LA3D_o2_c6)  bm_CLA2D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE2Normal45_15360k())
777  bms.addBenchmark(bm_LA3D_o2_pen100_c6)  map(bm_CLA2D_o1_c2_n45.addOptions,ops)
778  bms.addBenchmark(bm_LA3D_o2_c2_n45)  
779  bms.addBenchmark(bm_LA3D_o2_pen100_c2_n45)  bm_CLA2D_o1_c6_n45=Benchmark(name="Lame 2D (compressible, order 1, contrast 1e6, normal 45deg)")
780  bms.addBenchmark(bm_LA3D_o2_c6_n45)  bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_30k())
781  bms.addBenchmark(bm_LA3D_o2_pen100_c6_n45)  bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_60k())
782    bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_120k())
783    bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_240k())
784    bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_480k())
785    bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_960k())
786    bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_1920k())
787    bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_3840k())
788    bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_7680k())
789    bm_CLA2D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder1JumpE6Normal45_15360k())
790    map(bm_CLA2D_o1_c6_n45.addOptions,ops)
791    
792    bm_CLA2D_o2=Benchmark(name="Lame 2D (compressible, order 2)")
793    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_30k())
794    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_60k())
795    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_120k())
796    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_240k())
797    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_480k())
798    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_960k())
799    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_1920k())
800    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_3840k())
801    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_7680k())
802    bm_CLA2D_o2.addProblem(CompressibleLame2DOrder2_15360k())
803    map(bm_CLA2D_o2.addOptions,ops)
804    
805    bm_CLA2D_o2_c2=Benchmark(name="Lame 2D (compressible, order 2, contrast 1e2)")
806    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_30k())
807    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_60k())
808    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_120k())
809    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_240k())
810    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_480k())
811    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_960k())
812    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_1920k())
813    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_3840k())
814    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_7680k())
815    bm_CLA2D_o2_c2.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE2_15360k())
816    map(bm_CLA2D_o2_c2.addOptions,ops)
817    
818    bm_CLA2D_o2_c6=Benchmark(name="Lame 2D (compressible, order 2, contrast 1e6)")
819    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_30k())
820    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_60k())
821    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_120k())
822    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_240k())
823    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_480k())
824    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_960k())
825    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_1920k())
826    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_3840k())
827    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_7680k())
828    bm_CLA2D_o2_c6.addProblem(CompressibleInhomgeneousLame2DOrder2JumpE6_15360k())
829    map(bm_CLA2D_o2_c6.addOptions,ops)
830    
831    bm_CLA2D_o2_c2_n45=Benchmark(name="Lame 2D (compressible, order 2, contrast 1e2, normal 45deg)")
832    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_30k())
833    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_60k())
834    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_120k())
835    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_240k())
836    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_480k())
837    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_960k())
838    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_1920k())
839    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_3840k())
840    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_7680k())
841    bm_CLA2D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE2Normal45_15360k())
842    map(bm_CLA2D_o2_c2_n45.addOptions,ops)
843    
844    bm_CLA2D_o2_c6_n45=Benchmark(name="Lame 2D (compressible, order 2, contrast 1e6, normal 45deg)")
845    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_30k())
846    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_60k())
847    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_120k())
848    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_240k())
849    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_480k())
850    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_960k())
851    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_1920k())
852    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_3840k())
853    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_7680k())
854    bm_CLA2D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame2DOrder2JumpE6Normal45_15360k())
855    map(bm_CLA2D_o2_c6_n45.addOptions,ops)
856    
857    bm_CLA3D_o1=Benchmark(name="Lame 3D (compressible, order 1)")
858    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_30k())
859    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_60k())
860    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_120k())
861    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_240k())
862    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_480k())
863    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_960k())
864    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_1920k())
865    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_3840k())
866    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_7680k())
867    bm_CLA3D_o1.addProblem(CompressibleLame3DOrder1_15360k())
868    map(bm_CLA3D_o1.addOptions,ops)
869    
870    bm_CLA3D_o1_c2=Benchmark(name="Lame 3D (compressible, order 1, contrast 1e2)")
871    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_30k())
872    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_60k())
873    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_120k())
874    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_240k())
875    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_480k())
876    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_960k())
877    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_1920k())
878    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_3840k())
879    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_7680k())
880    bm_CLA3D_o1_c2.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE2_15360k())
881    map(bm_CLA3D_o1_c2.addOptions,ops)
882    
883    bm_CLA3D_o1_c6=Benchmark(name="Lame 3D (compressible, order 1, contrast 1e6)")
884    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_30k())
885    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_60k())
886    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_120k())
887    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_240k())
888    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_480k())
889    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_960k())
890    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_1920k())
891    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_3840k())
892    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_7680k())
893    bm_CLA3D_o1_c6.addProblem(CompressibleInhomgeneousLame3DOrder1JumpE6_15360k())
894    map(bm_CLA3D_o1_c6.addOptions,ops)
895    
896    bm_CLA3D_o1_c2_n45=Benchmark(name="Lame 3D (compressible, order 1, contrast 1e2, normal 45deg)")
897    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_30k())
898    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_60k())
899    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_120k())
900    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_240k())
901    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_480k())
902    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_960k())
903    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_1920k())
904    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_3840k())
905    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_7680k())
906    bm_CLA3D_o1_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE2Normal45_15360k())
907    map(bm_CLA3D_o1_c2_n45.addOptions,ops)
908    
909    bm_CLA3D_o1_c6_n45=Benchmark(name="Lame 3D (compressible, order 1, contrast 1e6, normal 45deg)")
910    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_30k())
911    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_60k())
912    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_120k())
913    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_240k())
914    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_480k())
915    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_960k())
916    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_1920k())
917    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_3840k())
918    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_7680k())
919    bm_CLA3D_o1_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder1JumpE6Normal45_15360k())
920    map(bm_CLA3D_o1_c6_n45.addOptions,ops)
921    
922    bm_CLA3D_o2=Benchmark(name="Lame 3D (compressible, order 2)")
923    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_30k())
924    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_60k())
925    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_120k())
926    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_240k())
927    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_480k())
928    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_960k())
929    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_1920k())
930    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_3840k())
931    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_7680k())
932    bm_CLA3D_o2.addProblem(CompressibleLame3DOrder2_15360k())
933    map(bm_CLA3D_o2.addOptions,ops)
934    
935    bm_CLA3D_o2_c2=Benchmark(name="Lame 3D (compressible, order 2, contrast 1e2)")
936    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_30k())
937    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_60k())
938    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_120k())
939    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_240k())
940    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_480k())
941    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_960k())
942    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_1920k())
943    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_3840k())
944    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_7680k())
945    bm_CLA3D_o2_c2.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE2_15360k())
946    map(bm_CLA3D_o2_c2.addOptions,ops)
947    
948    bm_CLA3D_o2_c6=Benchmark(name="Lame 3D (compressible, order 2, contrast 1e6)")
949    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_30k())
950    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_60k())
951    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_120k())
952    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_240k())
953    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_480k())
954    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_960k())
955    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_1920k())
956    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_3840k())
957    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_7680k())
958    bm_CLA3D_o2_c6.addProblem(CompressibleInhomgeneousLame3DOrder2JumpE6_15360k())
959    map(bm_CLA3D_o2_c6.addOptions,ops)
960    
961    bm_CLA3D_o2_c2_n45=Benchmark(name="Lame 3D (compressible, order 2, contrast 1e2, normal 45deg)")
962    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_30k())
963    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_60k())
964    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_120k())
965    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_240k())
966    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_480k())
967    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_960k())
968    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_1920k())
969    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_3840k())
970    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_7680k())
971    bm_CLA3D_o2_c2_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE2Normal45_15360k())
972    map(bm_CLA3D_o2_c2_n45.addOptions,ops)
973    
974    bm_CLA3D_o2_c6_n45=Benchmark(name="Lame 3D (compressible, order 2, contrast 1e6, normal 45deg)")
975    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_30k())
976    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_60k())
977    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_120k())
978    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_240k())
979    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_480k())
980    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_960k())
981    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_1920k())
982    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_3840k())
983    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_7680k())
984    bm_CLA3D_o2_c6_n45.addProblem(CompressibleInhomogeneousLame3DOrder2JumpE6Normal45_15360k())
985    map(bm_CLA3D_o2_c6_n45.addOptions,ops)
986    
987    
988    bms=BenchmarkSuite("Paso/Finley (%s benchmark)"%type)
989    
990    if type in ["all", "mantle"]:
991       bms.addBenchmark(bm_L2Do1)
992       bms.addBenchmark(bm_L2Do2)
993       bms.addBenchmark(bm_L3Do1)
994       bms.addBenchmark(bm_L3Do2)
995    
996       bms.addBenchmark(bm_LA2D_o2)
997       bms.addBenchmark(bm_LA2D_o2_pen100_c6)
998       bms.addBenchmark(bm_LA2D_o2_pen100_c6_n45)
999    
1000       bms.addBenchmark(bm_LA3D_o2)
1001       bms.addBenchmark(bm_LA3D_o2_pen100_c6)
1002       bms.addBenchmark(bm_LA3D_o2_pen100_c6_n45)
1003    
1004       bms.addBenchmark(bm_CLA2D_o2)
1005       bms.addBenchmark(bm_CLA2D_o2_c6)
1006       bms.addBenchmark(bm_CLA2D_o2_c6_n45)
1007    
1008       bms.addBenchmark(bm_CLA3D_o2)
1009       bms.addBenchmark(bm_CLA3D_o2_c6)
1010       bms.addBenchmark(bm_CLA3D_o2_c6_n45)
1011    
1012    if type in ["all"]:
1013       bms.addBenchmark(bm_A2Do1g30)
1014       bms.addBenchmark(bm_A2Do2g30)
1015       bms.addBenchmark(bm_A2Do2g45)
1016       bms.addBenchmark(bm_A2Do1g45)
1017       bms.addBenchmark(bm_A3Do1g30)
1018       bms.addBenchmark(bm_A3Do1g45)
1019       bms.addBenchmark(bm_A3Do2g30)
1020       bms.addBenchmark(bm_A3Do2g45)
1021    
1022       bms.addBenchmark(bm_LA2D_o1)
1023       bms.addBenchmark(bm_LA2D_o1_c2)
1024       bms.addBenchmark(bm_LA2D_o1_c6)
1025    
1026       bms.addBenchmark(bm_LA2D_o1_c2_n45)
1027       bms.addBenchmark(bm_LA2D_o1_c6_n45)
1028    
1029       bms.addBenchmark(bm_LA2D_o1_pen100)
1030       bms.addBenchmark(bm_LA2D_o1_pen100_c2)
1031       bms.addBenchmark(bm_LA2D_o1_pen100_c6)
1032    
1033       bms.addBenchmark(bm_LA2D_o1_pen100_c2_n45)
1034       bms.addBenchmark(bm_LA2D_o1_pen100_c6_n45)
1035    
1036       bms.addBenchmark(bm_LA2D_o2_c2)
1037       bms.addBenchmark(bm_LA2D_o2_c6)
1038    
1039       bms.addBenchmark(bm_LA2D_o2_c6_n45)
1040       bms.addBenchmark(bm_LA2D_o2_c2_n45)
1041       bms.addBenchmark(bm_LA2D_o2_pen100_c2)
1042       bms.addBenchmark(bm_LA2D_o2_pen100_c2_n45)
1043    
1044    
1045       bms.addBenchmark(bm_LA3D_o1)
1046       bms.addBenchmark(bm_LA3D_o1_pen100)
1047       bms.addBenchmark(bm_LA3D_o1_c2)
1048       bms.addBenchmark(bm_LA3D_o1_pen100_c2)
1049       bms.addBenchmark(bm_LA3D_o1_c6)
1050       bms.addBenchmark(bm_LA3D_o1_pen100_c6)
1051       bms.addBenchmark(bm_LA3D_o1_c2_n45)
1052       bms.addBenchmark(bm_LA3D_o1_pen100_c2_n45)
1053       bms.addBenchmark(bm_LA3D_o1_c6_n45)
1054       bms.addBenchmark(bm_LA3D_o1_pen100_c6_n45)
1055       bms.addBenchmark(bm_LA3D_o2_c2)
1056       bms.addBenchmark(bm_LA3D_o2_pen100)
1057       bms.addBenchmark(bm_LA3D_o2_pen100_c2)
1058       bms.addBenchmark(bm_LA3D_o2_c6)
1059       bms.addBenchmark(bm_LA3D_o2_c2_n45)
1060       bms.addBenchmark(bm_LA3D_o2_pen100_c2_n45)
1061       bms.addBenchmark(bm_LA3D_o2_c6_n45)
1062      
1063       bms.addBenchmark(bm_CLA2D_o1)
1064       bms.addBenchmark(bm_CLA2D_o1_c2)
1065       bms.addBenchmark(bm_CLA2D_o1_c6)
1066       bms.addBenchmark(bm_CLA2D_o1_c2_n45)
1067       bms.addBenchmark(bm_CLA2D_o1_c6_n45)
1068      
1069       bms.addBenchmark(bm_CLA2D_o2_c2)
1070       bms.addBenchmark(bm_CLA2D_o2_c2_n45)
1071      
1072       bms.addBenchmark(bm_CLA3D_o1)
1073       bms.addBenchmark(bm_CLA3D_o1_c2)
1074       bms.addBenchmark(bm_CLA3D_o1_c6)
1075       bms.addBenchmark(bm_CLA3D_o1_c2_n45)
1076       bms.addBenchmark(bm_CLA3D_o1_c6_n45)
1077      
1078       bms.addBenchmark(bm_CLA3D_o2_c2)
1079       bms.addBenchmark(bm_CLA3D_o2_c2_n45)
1080      
1081  bms.run(scale=thlist)  bms.run(scale=thlist)
1082  out=bms.getHTML(filter=ff)  out=bms.getHTML(filter=ff)
1083  print out  print out

Legend:
Removed from v.459  
changed lines
  Added in v.479

  ViewVC Help
Powered by ViewVC 1.1.26