Changeset 752 for trunk/platforms/tsar_generic_xbar/scripts
- Timestamp:
- Jul 18, 2014, 11:38:54 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_xbar/scripts/run_simus.py
r749 r752 4 4 import os 5 5 import sys 6 import shutil 6 7 7 8 #TODO: recopier les fichiers d'entrees dans le script en fonction de l'appli selectionnee … … 14 15 15 16 nb_procs = [ 4 ] 16 #nb_procs = [ 1 , 4, 8, 16, 32, 64, 128, 256 ]17 #nb_procs = [ 16, 32, 64, 128, 256 ] 17 18 rerun_stats = True 18 19 use_omp = False … … 25 26 # to come: 'barnes', 'fmm', 'ocean', 'raytrace', 'radiosity', 'waters', 'watern' 26 27 27 apps = [ ' histogram', 'pca' ]28 apps = [ 'cholesky' ] 28 29 29 30 … … 155 156 os.symlink(target, link_name) 156 157 157 target = hdd_img_name 158 link_name = 'hdd-img.bin' 159 if not os.path.isfile(link_name): 160 print "ln -s", target, link_name 161 os.symlink(target, link_name) 158 copied_hdd = 'hdd-img.bin' 159 print "cp", hdd_img_name, copied_hdd 160 shutil.copy(hdd_img_name, copied_hdd) 162 161 163 162 os.chdir(old_path) … … 255 254 shrc = "exec -p 0 /bin/lu -n%(nproc)d -m512\n" % dict(nproc = nprocs) 256 255 elif (app_name == "radix"): 257 shrc = "exec -p 0 /bin/radix -n%(nproc)d -k 2097152\n" % dict(nproc = nprocs) # test : 1024 ; simu : 2097152256 shrc = "exec -p 0 /bin/radix -n%(nproc)d -k1024\n" % dict(nproc = nprocs) # test : 1024 ; simu : 2097152 258 257 elif (app_name == "radix_ga"): 259 258 shrc = "exec -p 0 /bin/radix_ga -n%(nproc)d -k2097152\n" % dict(nproc = nprocs) # p = proc, n = num_keys
Note: See TracChangeset
for help on using the changeset viewer.