Changeset 5290 for anuga_validation


Ignore:
Timestamp:
May 7, 2008, 5:40:11 PM (17 years ago)
Author:
ole
Message:

Refactored options, so that the use of centroid_velocities is a separate
option to tight_slope_limiters.

Location:
anuga_validation/automated_validation_tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/fitting/validate_benchmark_fit.py

    r4919 r5290  
    77memory is measured here. What is actually happening is the mesh
    88generation is using less memory, in version 4917.  In version 4897
    9 mesh gen uses and frees up more memory, so phython asks for less extra
     9mesh gen uses and frees up more memory, so python asks for less extra
    1010memory in the fitting stage.  So overall version 4917 is an
    1111improvement.
     
    6565            self.assert_(time<time_standard*1.2)
    6666            mem_standard = 302404
    67             # 
     67            #
    6868            self.assert_(mem<mem_standard*1.2)
    6969           
     
    9090            time_standard = 14.2
    9191            self.assert_(time<time_standard*1.2)
    92             mem_standard = 21008 # this will need to be updated, see top notes
    93             self.assert_(mem<mem_standard*1.2)           
     92            mem_standard = 30000 # Updated by Ole 20080507
     93            msg = 'Memory used was %d, mem_standard is %d' %(mem, mem_standard)           
     94            assert mem < mem_standard*1.2, msg           
    9495
    9596        elif host.find('pc-31569') == 0: # DSG's PC
  • anuga_validation/automated_validation_tests/validate_all.py

    r4842 r5290  
    22"""
    33
    4 import os
     4import os, time
    55
    66
     
    2828
    2929
     30print
     31print '----------------------------------------------------------'
     32print 'Running all validation tests - this may take several hours'
     33print '----------------------------------------------------------'
    3034
    3135for path, filename in validation_dirs_and_files:
     
    3337
    3438    os.chdir(path)
    35     s = 'python %s' %( filename)
     39    s = 'python %s' %(filename)
     40    print s
     41    t0 = time.time()
    3642    os.system(s)
    37     # print 'current dir', os.getcwd()
     43    print 'That took %.2f seconds' %(time.time()-t0)
    3844   
    3945    # Back to parent directory
Note: See TracChangeset for help on using the changeset viewer.