Ignore:
Timestamp:
Jul 18, 2014, 11:38:54 AM (10 years ago)
Author:
meunier
Message:
  • Added initialization to some components in order to avoid valgrind errors
  • Corrected two bugs which caused the simulations to be non-deterministic:
    • one in the memcache (possibly uninitialized paddr variable used for cache access, modifying LRU bits)
    • one in the run_simus.py script (replacing a file with an identical file in a hdd image does modify its size)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_xbar/scripts/run_simus.py

    r749 r752  
    44import os
    55import sys
     6import shutil
    67
    78#TODO: recopier les fichiers d'entrees dans le script en fonction de l'appli selectionnee
     
    1415
    1516nb_procs = [ 4 ]
    16 #nb_procs = [ 1, 4, 8, 16, 32, 64, 128, 256 ]
     17#nb_procs = [ 16, 32, 64, 128, 256 ]
    1718rerun_stats = True
    1819use_omp = False
     
    2526# to come: 'barnes', 'fmm', 'ocean', 'raytrace', 'radiosity', 'waters', 'watern'
    2627
    27 apps = [ 'histogram', 'pca' ]
     28apps = [ 'cholesky' ]
    2829
    2930
     
    155156      os.symlink(target, link_name)
    156157
    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)
    162161
    163162   os.chdir(old_path)
     
    255254      shrc = "exec -p 0 /bin/lu -n%(nproc)d -m512\n" % dict(nproc = nprocs)
    256255   elif (app_name == "radix"):
    257       shrc = "exec -p 0 /bin/radix -n%(nproc)d -k2097152\n" % dict(nproc = nprocs) # test : 1024 ; simu : 2097152
     256      shrc = "exec -p 0 /bin/radix -n%(nproc)d -k1024\n" % dict(nproc = nprocs) # test : 1024 ; simu : 2097152
    258257   elif (app_name == "radix_ga"):
    259258      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.