Changeset 8225


Ignore:
Timestamp:
Oct 14, 2011, 11:55:11 AM (13 years ago)
Author:
steve
Message:

Committing changes

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga_parallel/INSTALL-README

    r8191 r8225  
    44=========================
    55
     6anuga_parallel
     7==============
     8
     9Well first you need to get the anuga_parallel code. You can get this from
     10our svn repository with userid anonymous (blank password)
     11
     12The location is
     13
     14https://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
     17is available at
     18
     19https://anuga.anu.edu.au/svn/anuga/trunk/anuga_core/source/anuga
     20)
     21
     22Setup your PYTHONPATH to point to location of the source directory
     23
     24For instance I havethe following line in my .bashrc file
     25
     26export PYTHONPATH=/home/steve/anuga/anuga_core/source
     27
     28
     29
    630MPI
    731===
    832
    9 First thing, you need to install MPI on your system. OPENMPI and MPICH2
     33Now you need to install MPI on your system. OPENMPI and MPICH2
    1034are supported by pypar (see below) so both should be ok.
    1135
     
    2751
    2852(There is an old version on sourceforge
    29 http://sourceforge.net/projects/pypar/)
     53http://sourceforge.net/projects/pypar/ don't use that)
    3054
    31 Install pypar following the instructions in hte download. Should be able
    32 use standard python setup.py install
     55Install pypar following the instructions in the download. Should be able
     56use standard command
     57
     58python setup.py install
     59
     60or maybe
     61
     62sudo python setup.py install
     63
    3364
    3465Make sure the pypar examples work
     
    4273Follow the instructions in README to install. Essentially just run make.
    4374
    44 From the pymetis directory, test using test_all.py
     75If you have a 64 bit machine run
     76
     77make COPTIONS="-fPIC"
     78
     79From the pymetis directory, test using test_all.py, ie
     80
     81python test_all.py
    4582
    4683ANUGA_PARALLEL
     
    5592Run run_parallel_sw_merimbula.py
    5693
    57 First just run it a sequential program.
     94First just run it as a sequential program, via
     95
     96python run_parallel_sw_merimbula.py
    5897
    5998Then try a parallel run using a command like
  • trunk/anuga_core/source/anuga_parallel/run_parallel_sw_merimbula_profile.py

    r8215 r8225  
    4242#--------------------------------------------------------------------------
    4343
    44 mesh_filename = "merimbula_10785_1.tsh" ; x0 = 756000.0 ; x1 = 756500.0
    45 #mesh_filename = "merimbula_43200.tsh"   ; x0 = 756000.0 ; x1 = 756500.0
     44#mesh_filename = "merimbula_10785_1.tsh" ; x0 = 756000.0 ; x1 = 756500.0
     45mesh_filename = "merimbula_43200.tsh"   ; x0 = 756000.0 ; x1 = 756500.0
    4646#mesh_filename = "test-100.tsh" ; x0 = 0.25 ; x1 = 0.5
    47 yieldstep = 5
     47
    4848finaltime = 50
     49yieldstep = finaltime
    4950verbose = True
    5051
     
    125126    p.sort_stats('time').print_stats(25)
    126127
    127     p.print_callers(.5, 'init')
    128128
    129129
  • trunk/anuga_validation/validation_tests/periodic_carrier_greenspan.py

    r8214 r8225  
    4040# Setup domain
    4141#------------------------------------------------------------------------------
    42 dx = 1000.
     42dx = 100.
    4343dy = dx
    4444L = 40000.
  • trunk/anuga_work/development/2010-projects/anuga_1d/sww/sww_domain.py

    r8209 r8225  
    158158
    159159
    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
    166167
    167168
Note: See TracChangeset for help on using the changeset viewer.