/[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 1046 by gross, Tue Mar 20 02:52:24 2007 UTC revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC
# Line 1  Line 1 
 #/usr/bin/python  
 # $Id:$  
1    
2    ########################################################
3    #
4    # Copyright (c) 2003-2009 by University of Queensland
5    # Earth Systems Science Computational Center (ESSCC)
6    # http://www.uq.edu.au/esscc
7    #
8    # Primary Business: Queensland, Australia
9    # Licensed under the Open Software License version 3.0
10    # http://www.opensource.org/licenses/osl-3.0.php
11    #
12    ########################################################
13    
14    __copyright__="""Copyright (c) 2003-2008 by University of Queensland
15    Earth Systems Science Computational Center (ESSCC)
16    http://www.uq.edu.au/esscc
17    Primary Business: Queensland, Australia"""
18    __license__="""Licensed under the Open Software License version 3.0
19    http://www.opensource.org/licenses/osl-3.0.php"""
20    __url__="https://launchpad.net/escript-finley"
21    
22  """  """
23  some benchmarks for tetsing the finley solver.  some benchmarks for tetsing the finley solver.
# Line 12  var __url__: url entry point on document Line 29  var __url__: url entry point on document
29  @var __date__: date of the version  @var __date__: date of the version
30  """  """
31    
 __copyright__="""  Copyright (c) 2006 by ACcESS MNRF  
                     http://www.access.edu.au  
                 Primary Business: Queensland, Australia"""  
 __license__="""Licensed under the Open Software License version 3.0  
              http://www.opensource.org/licenses/osl-3.0.php"""  
32  __author__="Lutz Gross, l.gross@uq.edu.au"  __author__="Lutz Gross, l.gross@uq.edu.au"
 __url__="http://www.iservo.edu.au/esys/escript"  
 __version__="$Revision:$"  
 __date__="$Date:$"  
33    
 from finleybench import *  
34  from esys.escript.benchmark import BenchmarkSuite,Benchmark  from esys.escript.benchmark import BenchmarkSuite,Benchmark
35    # from esys.finley.finleybench import *
36    from finleybench import *
37    
38  type="all"  type="all"
39  type="mantle"  type="mantle"
# Line 36  thlist=[1,2,4,8,16] Line 46  thlist=[1,2,4,8,16]
46  show=True  show=True
47  ff=FinleyFilter()  ff=FinleyFilter()
48    
49  opt1=FinleyOptions(solver_method=LinearPDE.PCG,preconditioner=LinearPDE.JACOBI,verbose=show)  opt1=FinleyOptions(solver_method=SolverOptions.PCG,preconditioner=SolverOptions.JACOBI,verbose=show)
50  opt2=FinleyOptions(solver_method=LinearPDE.PCG,preconditioner=LinearPDE.ILU0,verbose=show)  opt2=FinleyOptions(solver_method=SolverOptions.PCG,preconditioner=SolverOptions.ILU0,verbose=show)
51  opt3=FinleyOptions(solver_method=LinearPDE.PCG,preconditioner=LinearPDE.RILU,verbose=show)  opt3=FinleyOptions(solver_method=SolverOptions.PCG,preconditioner=SolverOptions.RILU,verbose=show)
52  opt4=FinleyOptions(solver_method=LinearPDE.DIRECT,verbose=show)  opt4=FinleyOptions(solver_method=SolverOptions.DIRECT,verbose=show)
53  ops=(opt1,opt3,opt4)  ops=(opt1,opt3,opt4)
54  ops=(opt1,opt3)  ops=(opt1,opt3)
55    

Legend:
Removed from v.1046  
changed lines
  Added in v.2548

  ViewVC Help
Powered by ViewVC 1.1.26