#
# Mandelbrot sample application schema
# mpirun -v myapp
#

#
# Run the master on the node where lamboot was invoked so
# that stdout will be visible.  Change the printf() functions to tprintf(),
# to use LAM I/O and the master can run on any node (with the output
# again coming, by default, to the lamboot node).
#
master h

#
# Run any number of slaves, but one per CPU is the most sensible thing.
# Assuming the multicomputer is homogeneous, ship the executable
# to each node.  This is slower but more convenient than placing it there
# yourself or relying upon NSF and your shell path to be right.
# See mpirun(1) if you get a "file not found" error.
#
slave -s h N
