pyina scripts documentation

ezpool script

helper script for pyina.mpi maps using the ‘worker pool’ strategy

Notes

this uses the same code as ezscatter, but with pyina.mpi_pool.

Warning

this is a helper script for pyina.mpi.Mapper – don’t use it directly.

ezscatter script

helper script for pyina.mpi maps using the ‘scatter gather’ strategy

Notes

this uses the same code as ezpool, but with pyina.mpi_scatter.

Warning

this is a helper script for pyina.mpi.Mapper – don’t use it directly.

mpi_world script

setup/query/kill the MPI environment

Notes

Commandline options are:
  • --help [prints this message]
  • --workers nodes [set mpi world (nodes is a list of worker nodes)]
  • --fetch N [get rank and names of ‘N’ worker nodes]
  • --kill [tear down mpi world]

'mpd &' must be run before setting the worker nodes.

Examples:

$ mpi_world --workers n00 n01 n02 n03
seting up mpi...

$ mpi_world --fetch 4
Rank: 0 -- n00.borel.local
Rank: 1 -- n01.borel.local
Rank: 3 -- n03.borel.local
Rank: 2 -- n02.borel.local