Changeset 8225
- Timestamp:
- Oct 14, 2011, 11:55:11 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga_parallel/INSTALL-README
r8191 r8225 4 4 ========================= 5 5 6 anuga_parallel 7 ============== 8 9 Well first you need to get the anuga_parallel code. You can get this from 10 our svn repository with userid anonymous (blank password) 11 12 The location is 13 14 https://anuga.anu.edu.au/svn/anuga/trunk/anuga_core/source/anuga_parallel 15 16 (By the way, the most recent version of the development code of anuga 17 is available at 18 19 https://anuga.anu.edu.au/svn/anuga/trunk/anuga_core/source/anuga 20 ) 21 22 Setup your PYTHONPATH to point to location of the source directory 23 24 For instance I havethe following line in my .bashrc file 25 26 export PYTHONPATH=/home/steve/anuga/anuga_core/source 27 28 29 6 30 MPI 7 31 === 8 32 9 First thing, you need to install MPI on your system. OPENMPI and MPICH2 33 Now you need to install MPI on your system. OPENMPI and MPICH2 10 34 are supported by pypar (see below) so both should be ok. 11 35 … … 27 51 28 52 (There is an old version on sourceforge 29 http://sourceforge.net/projects/pypar/ )53 http://sourceforge.net/projects/pypar/ don't use that) 30 54 31 Install pypar following the instructions in hte download. Should be able 32 use standard python setup.py install 55 Install pypar following the instructions in the download. Should be able 56 use standard command 57 58 python setup.py install 59 60 or maybe 61 62 sudo python setup.py install 63 33 64 34 65 Make sure the pypar examples work … … 42 73 Follow the instructions in README to install. Essentially just run make. 43 74 44 From the pymetis directory, test using test_all.py 75 If you have a 64 bit machine run 76 77 make COPTIONS="-fPIC" 78 79 From the pymetis directory, test using test_all.py, ie 80 81 python test_all.py 45 82 46 83 ANUGA_PARALLEL … … 55 92 Run run_parallel_sw_merimbula.py 56 93 57 First just run it a sequential program. 94 First just run it as a sequential program, via 95 96 python run_parallel_sw_merimbula.py 58 97 59 98 Then try a parallel run using a command like -
trunk/anuga_core/source/anuga_parallel/run_parallel_sw_merimbula_profile.py
r8215 r8225 42 42 #-------------------------------------------------------------------------- 43 43 44 mesh_filename = "merimbula_10785_1.tsh" ; x0 = 756000.0 ; x1 = 756500.045 #mesh_filename = "merimbula_43200.tsh" ; x0 = 756000.0 ; x1 = 756500.044 #mesh_filename = "merimbula_10785_1.tsh" ; x0 = 756000.0 ; x1 = 756500.0 45 mesh_filename = "merimbula_43200.tsh" ; x0 = 756000.0 ; x1 = 756500.0 46 46 #mesh_filename = "test-100.tsh" ; x0 = 0.25 ; x1 = 0.5 47 yieldstep = 5 47 48 48 finaltime = 50 49 yieldstep = finaltime 49 50 verbose = True 50 51 … … 125 126 p.sort_stats('time').print_stats(25) 126 127 127 p.print_callers(.5, 'init')128 128 129 129 -
trunk/anuga_validation/validation_tests/periodic_carrier_greenspan.py
r8214 r8225 40 40 # Setup domain 41 41 #------------------------------------------------------------------------------ 42 dx = 100 0.42 dx = 100. 43 43 dy = dx 44 44 L = 40000. -
trunk/anuga_work/development/2010-projects/anuga_1d/sww/sww_domain.py
r8209 r8225 158 158 159 159 160 from anuga_1d.sww.sww_comp_flux_ext import compute_fluxes_ext_short 161 162 #self.flux_timestep = compute_fluxes_ext(timestep,self,stage,xmom,bed,height,velocity) 163 164 165 self.flux_timestep = compute_fluxes_ext_short(timestep,self,stage,xmom,bed) 160 #from anuga_1d.sww.sww_comp_flux_ext import compute_fluxes_ext_short as comp_flux_ext 161 #self.flux_timestep = comp_flux_ext(timestep,self,stage,xmom,bed) 162 163 from anuga_1d.sww.sww_vel_comp_flux_ext import compute_fluxes_vel_ext as comp_flux_ext 164 self.flux_timestep = comp_flux_ext(timestep,self,stage,xmom,bed,height,velocity) 165 166 166 167 167 168
Note: See TracChangeset
for help on using the changeset viewer.