Changeset 790 for trunk/platforms/tsar_generic_xbar/scripts/run_simus.py
- Timestamp:
- Sep 3, 2014, 2:41:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_xbar/scripts/run_simus.py
r779 r790 15 15 rerun_stats = False 16 16 use_omp = False 17 protocol = ' rwt'17 protocol = 'dhccp' 18 18 19 19 #apps = [ 'histogram', 'mandel', 'filter', 'radix_ga', 'fft_ga', 'kmeans' ] … … 32 32 # to come: 'barnes', 'fmm', 'ocean', 'raytrace', 'radiosity', 'waters', 'watern' 33 33 34 all_protocols = [ 'dhccp', 'rwt', ' mesi' ]34 all_protocols = [ 'dhccp', 'rwt', 'hmesi' ] 35 35 36 36 top_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..") … … 92 92 sys.exit() 93 93 94 if protocol == " mesi":95 if mesi_dir == "":96 print "*** Error: variable mesi_dir not defined in config file"97 sys.exit() 98 if not os.path.exists( mesi_dir):99 print "*** Error: variable mesi_dir does not define a valid path"94 if protocol == "hmesi": 95 if hmesi_dir == "": 96 print "*** Error: variable hmesi_dir not defined in config file" 97 sys.exit() 98 if not os.path.exists(hmesi_dir): 99 print "*** Error: variable hmesi_dir does not define a valid path" 100 100 sys.exit() 101 101 … … 177 177 elif protocol == "rwt": 178 178 arch_dir = rwt_dir 179 elif protocol == " mesi":180 arch i_dir =mesi_dir179 elif protocol == "hmesi": 180 arch_dir = hmesi_dir 181 181 else: 182 182 assert(False)
Note: See TracChangeset
for help on using the changeset viewer.