Changeset 8611
- Timestamp:
- Nov 9, 2012, 5:04:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga_parallel/run_sequential_dist_distribute_rectangular.py
r8610 r8611 77 77 78 78 domain.set_name('sw_rectangle') 79 #domain.print_statistics()80 79 81 80 82 81 t1 = time.time() 83 84 if myid == 0 : 85 print 'Create sequential domain ',t1-t0 86 87 if myid == 0 and verbose: 88 print 'DISTRIBUTING DOMAIN' 89 sys.stdout.flush() 82 print 'Create sequential domain: ',t1-t0 90 83 91 #barrier()92 84 93 85 #------------------------------------------------------------------------- 94 86 # Distribute domain 95 87 #---------------------------------------------------------------------- 96 #domain = distribute(domain,verbose=verbose)97 98 88 sequential_distribute_dump(domain, numprocs, verbose = True) 99 89 100 90 101 91 t2 = time.time() 102 103 if myid == 0 : 104 print 'Distribute domain ',t2-t1 92 print 'Sequential Distribute domain: ',t2-t1 105 93 106 94
Note: See TracChangeset
for help on using the changeset viewer.