- Timestamp:
- Nov 27, 2008, 11:34:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/fitting/validate_benchmark_fit.py
r5986 r6007 62 62 #print "time", time 63 63 #print "mem", mem 64 65 #Defaults 66 time_standard = 50. 67 mem_standard = 50000. 68 64 69 if host.find('tornado') == 0: 65 70 # Tornado headnode 66 71 #time_standard = 14.5 67 time_standard = 24 68 mem_standard = 302404 72 time_standard = 24. 73 mem_standard = 302404. 69 74 70 75 elif host.find('compute-1') == 0: # cyclone or tornado node 71 76 time_standard = 19.0 72 mem_standard = 30204 77 mem_standard = 30204. 73 78 74 79 elif host.find('cyclone') == 0: # cyclone headnode 75 80 time_standard = 13.3 76 mem_standard = 29424 81 mem_standard = 29424. 77 82 78 83 elif host.find('nautilus') == 0: … … 80 85 81 86 # v 4910 is giving a mem of 15572 82 mem_standard = 15572 87 mem_standard = 15572. 83 88 84 89 85 90 elif host.find('bogong') == 0: 86 91 time_standard = 14.2 87 mem_standard = 30000 # Updated by Ole 2008050792 mem_standard = 30000. # Updated by Ole 20080507 88 93 89 94 90 95 elif host.find('pc-31569') == 0: # DSG's PC 91 96 time_standard = 31.6 92 mem_standard = 15000 #?97 mem_standard = 15000. #? 93 98 94 99 """ … … 108 113 assert time<time_standard*1.2 109 114 115 116 117 if sys.platform == 'win32': 118 # Memory usage does not work on windows 119 return 110 120 111 121 # Before change: https://datamining.anu.edu.au/anuga/changeset/5855 … … 114 124 mem_standard *= 1.25 115 125 116 msg = 'Memory used was % d, mem_standard is %d' %(mem, mem_standard)126 msg = 'Memory used was %f, mem_standard is %f' %(float(mem), mem_standard) 117 127 #print msg 118 128 assert mem<mem_standard*1.2, msg
Note: See TracChangeset
for help on using the changeset viewer.