- Timestamp:
- Jan 20, 2012, 10:31:31 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/mem_time_tests/hardware/template/main.py
r8311 r8315 40 40 spamWriter = csv.writer(open(file_path, 'wb')) 41 41 spamWriter.writerow(['Number Of Processors' , 'Space Used MB' , 'Time Taken s','Total Space']) 42 e = open(file_path_store,'a') 43 e.close() 44 42 45 43 46 … … 46 49 subprocess.call(['mpirun', '-np', str(n), '-hostfile' ,'~/machinefiles/test.machines_tornado', '-x','PYTHONPATH','-x','INUNDATIONHOME','python2.5', 'runcairns.py']) 47 50 y = time.time() 48 f = open( 'store.txt','r+')51 f = open(file_path_store,'r+') 49 52 x = float(f.readline()) 50 53 f.close()
Note: See TracChangeset
for help on using the changeset viewer.