Changeset 3096


Ignore:
Timestamp:
Jun 6, 2006, 12:25:00 PM (19 years ago)
Author:
ole
Message:

Allowed parallel code to access pypar directly in its directory pypar_dist

Location:
inundation
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • inundation/parallel/build_commun.py

    r2909 r3096  
    2929
    3030import sys
    31 import pypar
     31from pypar_dist import pypar
    3232
    3333from build_local import build_local_mesh
  • inundation/parallel/documentation/code/RunParallelSwMerimbulaMetis.py

    r3095 r3096  
    2525#########################################################
    2626import sys
    27 import parallel.pypar as pypar   # The Python-MPI interface
     27from pypar_dist import pypar   # The Python-MPI interface
    2828import time
    2929
  • inundation/parallel/parallel_shallow_water.py

    r3090 r3096  
    44# FIXME: This should be removed. Set evironment variable PYTHONPATH to
    55# directory ...../anuga/inundation instead
    6 sys.path.append('..'+sep+'pyvolution')
     6#sys.path.append('..'+sep+'pyvolution')
    77
    88"""Class Parallel_Shallow_Water_Domain -
     
    2929from pyvolution.shallow_water import *
    3030from Numeric import zeros, Float, Int, ones, allclose, array
    31 import pypar
     31from pypar_dist import pypar
    3232
    3333
  • inundation/pypar_dist/__init__.py

    r85 r3096  
    88from pypar import __version__, __date__, __author__
    99
     10#Add path of package to PYTHONPATH to allow C-extension to be loaded
     11#import sys
     12#sys.path += __path__
    1013
    1114
Note: See TracChangeset for help on using the changeset viewer.