Changeset 2152 for inundation/parallel/run_parallel_sw_rectangle.py
- Timestamp:
- Dec 16, 2005, 9:59:58 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/parallel/run_parallel_sw_rectangle.py
r2130 r2152 1 #!/usr/bin/env /python1 #!/usr/bin/env python 2 2 ######################################################### 3 3 # … … 7 7 # file. 8 8 # 9 # *) The test files currently avaliable are of the form10 # test*.out, eg test_5l_4c.out. The term infront of the l11 # corresponds to the number of levels of refinement12 # required to build the grid, i.e. a higher number13 # corresponds to a finer grid. The term infront of the c14 # corresponds to the number of processors.15 9 # 16 # *) The (new) files that have been added to manage the17 # grid partitioning are18 # +) pmesh_divide.py: subdivide a pmesh19 # +) build_submesh.py: build the submeshes on the host20 # processor.21 # +) build_local.py: build the GA mesh datastructure22 # on each processor.23 # +) build_commun.py: handle the communication between24 # the host and processors25 #26 # *) Things still to do:27 # +) Overlap the communication and computation: The28 # communication routines in build_commun.py should be29 # interdispersed in the build_submesh.py and build_local.py30 # files. This will overlap the communication and31 # computation and will be far more efficient. This should32 # be done after more testing and there more confidence in33 # the subpartioning.34 # +) Much more testing especially with large numbers of35 # processors.36 10 # Authors: Linda Stals, Steve Roberts and Matthew Hardy, 37 11 # June 2005 … … 62 36 63 37 from pmesh_divide import pmesh_divide, pmesh_divide_steve 64 from build_submesh import *65 from build_local import *66 from build_commun import *67 from pmesh2domain import pmesh_to_domain_instance68 38 69 39 # read in the processor information … … 72 42 myid = pypar.rank() 73 43 processor_name = pypar.Get_processor_name() 74 75 76 77 78 44 79 45 M = 20
Note: See TracChangeset
for help on using the changeset viewer.