Changeset 5480
- Timestamp:
- Jul 8, 2008, 8:33:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/run_busselton.py
r5460 r5480 34 34 from anuga.pmesh.mesh_interface import create_mesh_from_regions 35 35 from anuga.shallow_water.data_manager import start_screen_catcher, copy_code_files,store_parameters 36 from anuga_parallel.parallel_api import distribute, numprocs, myid, barrier36 #from anuga_parallel.parallel_api import distribute, numprocs, myid, barrier 37 37 from anuga_parallel.parallel_abstraction import get_processor_name 38 38 from anuga.caching import myhash … … 42 42 # Application specific imports 43 43 import project # Definition of file names and polygons 44 45 numprocs = 1 46 myid = 0 44 47 45 48 def run_model(**kwargs): … … 62 65 store_parameters(**kwargs) 63 66 64 barrier()67 #barrier() 65 68 66 69 start_screen_catcher(kwargs['output_dir'], myid, numprocs) … … 95 98 use_cache=False, 96 99 verbose=False) 97 barrier()100 #barrier() 98 101 99 102 … … 137 140 alpha = kwargs['alpha']) 138 141 print 'Finished Set quantity' 139 barrier()142 #barrier() 140 143 141 144 … … 216 219 if myid==0: 217 220 store_parameters(**kwargs) 218 barrier221 #barrier 219 222 220 223 print 'memory usage before del domain1',mem_usage() … … 253 256 if myid==0: 254 257 export_model(**kwargs) 255 barrier256 258 #barrier 259
Note: See TracChangeset
for help on using the changeset viewer.