Ignore:
Timestamp:
Feb 10, 2012, 10:34:08 AM (12 years ago)
Author:
pittj
Message:

update for the new experiments

File:
1 edited

Legend:

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

    r8326 r8331  
    1919#set up variables for the correct I/O directories for data storage
    2020home = os.getenv('INUNDATIONHOME')
    21 scenariodir = add_directories(home, ["data", "mem_time_test", "parallel", "template"])
    2221scenariodirV = add_directories(home, ["data","mem_time_test", "parallel",
    2322                                       "template", "template-" + str(numprocs) +"-"+ str(myid)])
     
    2726log._setup = False
    2827
    29 log.resource_usage_timing(prefix = 'BeforeSimulation')#get memory statistics here
     28log.timingInfo(msg=('variable1,'+str(numprocs))) #write the variable to be measured to file
     29log.timingInfo(msg=('variable2,'+str(myid))) #write the variable to be measured to file
     30
     31log.timingInfo(msg=('beforetime,'+str(log.TimeStamp()))) #get the time at the beginning of the simulation
     32
     33log.resource_usage_timing(prefix = 'beforesimulation')#get memory statistics here
    3034#------------------------------------------------------------------------------
    3135#Create the domain and mesh for the resource experiment on only one processor
     
    4751domain.set_name('CAIRNS') # Name of sww file
    4852domain.set_datadir(scenariodirV)# Store sww output here
    49 log.resource_usage_timing(prefix = 'AfterMesh')#get memory statistics here
     53log.resource_usage_timing(prefix = 'aftermesh')#get memory statistics here
    5054
    5155#------------------------------------------------------------------------------
     
    8084    print domain.timestepping_statistics()
    8185
    82 log.resource_usage_timing(prefix='aftersimulation')#get memory statistics here 
     86log.resource_usage_timing(prefix='aftersimulation')#get memory statistics here
     87log.timingInfo(msg=('aftertime,'+str(log.TimeStamp()))) #get the time at the end of the simulation
     88
Note: See TracChangeset for help on using the changeset viewer.