Ignore:
Timestamp:
Jan 20, 2012, 10:31:31 AM (13 years ago)
Author:
pittj
Message:

updating all so that they create the temporary files they use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/mem_time_tests/hardware/template/main.py

    r8311 r8315  
    4040spamWriter = csv.writer(open(file_path, 'wb'))
    4141spamWriter.writerow(['Number Of Processors' , 'Space Used MB' , 'Time Taken s','Total Space'])
     42e = open(file_path_store,'a')
     43e.close()
     44
    4245
    4346
     
    4649    subprocess.call(['mpirun', '-np', str(n), '-hostfile' ,'~/machinefiles/test.machines_tornado', '-x','PYTHONPATH','-x','INUNDATIONHOME','python2.5', 'runcairns.py'])   
    4750    y = time.time()
    48     f = open('store.txt','r+')
     51    f = open(file_path_store,'r+')
    4952    x = float(f.readline())
    5053    f.close()
Note: See TracChangeset for help on using the changeset viewer.