Changeset 137
- Timestamp:
- 04/07/09 12:33:39 (7 years ago)
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
mystic/examples/README
r133 r137 41 41 - test_mogi_anneal.py: tests with scipy simulated annealing, but hasn't been tuned, so again, doesn't work at all. 42 42 - test_mogi2.py: two mogi sources 43 - test_mpimogi.py: mpi version of test_mogi.py, default uses 4 proc44 - test_mpimogi2.py: mpi version of test_mogi2.py, default uses 4 proc45 43 - test_mogi3.py: reimplements test_mogi 46 44 -
pyina/applications/Make.mm
r136 r137 23 23 machines.py \ 24 24 mpiversion.py \ 25 mpi_world.py \ 25 26 26 27 export:: export-binaries release-binaries -
pyina/examples_other/Make.mm
r136 r137 23 23 hello.py \ 24 24 pypi.py \ 25 test_mpi_world.py \ 25 26 test0.py \ 26 27 test1.py \ -
pyina/examples_other/README
r88 r137 1 To launch an mpipython job, do, for example, 1 = notes on pyina examples = 2 Dependencies: 3 - ... 2 4 3 mpirun -np 4 `which mpipython.exe` python_script 5 Exceptions to the rule: 6 - ... 4 7 5 extrapolate as needed. 6 7 if jobs exit uncleanly, you may need to run 8 9 /opt/mpich/gnu/sbin/cleanipcs; cluster-fork /opt/mpich/gnu/sbin/cleanipcs 10 11 also 12 13 cluster-fork killall mpipython.exe 8 Special examples: 9 - ... 14 10 15 11 16 adapted from pyina CVS 2008-07-07 17 requires pyre.mpi built as in svn@danse.us/pyre/branches/mpi-lib 12 ------------------------------------------------------------------------------- 13 14 Notes on the "ezmap" examples: 15 - ... 16 17 Notes on the "mogi" examples: 18 - ... 19 20 21 ------------------------------------------------------------------------------- 22 23 Notes on the examples in the "../examples" directory: 24 - ... 25 - test_mpimogi.py: mpi version of mystic's test_mogi.py, default uses 4 proc 26 - test_mpimogi2.py: mpi version of mystic's test_mogi2.py, default uses 4 proc 27 18 28 19 29 # end of file -
pyina/pyina/README
r88 r137 1 To launch an mpipython job, do, for example, 1 This package contains the beginnings of a parallel-mapping implementation 2 of the mystic inversion framework. The core launcher uses mpi. 2 3 3 mpirun -np 4 `which mpipython.exe` python_script 4 This package was adapted from the pyina CVS 2008-07-07. 5 It requires: 6 - numpy 7 - mystic 8 - pyre.mpi (built from svn@danse.us/pyre/branches/mpi-lib) 9 - journal (part of pythia-0.8; see http://danse.us/trac/pyre) 4 10 5 extrapolate as needed.6 11 7 if jobs exit uncleanly, you may need to run 12 ############################################################################## 8 13 9 /opt/mpich/gnu/sbin/cleanipcs; cluster-fork /opt/mpich/gnu/sbin/cleanipcs; cluster-fork killall mpipython.exe 14 WARNING: 15 To run all of the examples in the "examples" directory, 16 you _must_ copy some files from mystic/examples. 10 17 11 adapted from pyina CVS 2008-07-07 18 * Change to the pyina root directory 19 $ cd .. 20 * Copy the files: 21 $ ./mystic_files.py 22 * Remove the files: 23 $ ./mystic_files.py -clean 24 25 26 WARNING: 27 To run pyina code, you _must_ have your console configured for MPI. 28 * Start mpd 29 $ mpd & 30 * Configure master and slaves 31 $ mpi_world.py -slaves [node1,node2,node3] 32 33 34 NOTE: 35 It is convienent to set a shell alias for the launch of 36 the mpipython jobs. Something like the following (for bash): 37 $ alias mpython1='mpiexec -np 1 `which mpipython.exe`' 38 $ alias mpython2='mpiexec -np 2 `which mpipython.exe`' 39 $ ... 40 41 42 NOTE: 43 There's also a convienent script to tear down your mpi environment. 44 * Kill all 45 $ mpi_world -kill 46 47 48 NOTE: 49 If jobs exit uncleanly, you may need to run some cleanup scripts. 50 * Clean up 51 $ /opt/mpich/gnu/sbin/cleanipcs 52 $ cluster-fork /opt/mpich/gnu/sbin/cleanipcs 53 $ cluster-fork killall mpipython.exe 54 12 55 13 56 # end of file
Note: See TracChangeset
for help on using the changeset viewer.