Changeset 7623
- Timestamp:
- Feb 12, 2010, 5:30:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/okushiri_2005/run_okushiri_parallel.py
r5848 r7623 19 19 mesh before running this script. 20 20 21 To run on e.g. 8 processors 22 mpirun -machinefile ~/.machines_tornado -np 8 python run_okushiri_parallel.py 23 24 where the machine file has the format 25 26 compute-0-19 cpu=4 27 compute-0-18 cpu=4 28 compute-0-17 cpu=4 29 compute-0-16 cpu=4 30 compute-0-15 cpu=4 31 compute-0-14 cpu=4 32 compute-0-13 cpu=4 33 compute-0-12 cpu=4 34 compute-0-11 cpu=4 35 compute-0-10 cpu=4 36 compute-0-9 cpu=4 37 compute-0-8 cpu=4 38 compute-0-7 cpu=4 39 compute-0-6 cpu=4 40 compute-0-5 cpu=4 41 compute-0-4 cpu=4 42 compute-0-3 cpu=4 43 compute-0-2 cpu=4 44 compute-0-1 cpu=4 45 compute-0-0 cpu=4 46 tornado cpu=4 47 48 See mpirun manual for more details 21 49 """ 22 50 … … 32 60 from anuga.abstract_2d_finite_volumes.util import file_function 33 61 34 from anuga_parallel.parallel_api import myid, numprocs, distribute 62 from anuga_parallel.parallel_api import myid, numprocs, distribute, processor_name 35 63 36 64 import project 65 66 print 'Pypar running process %d of %d on node "%s"' % (myid, numprocs, processor_name) 37 67 38 68 use_cache = True
Note: See TracChangeset
for help on using the changeset viewer.