# Copyright 1998-2001, University of Notre Dame.
# Authors: Jeffrey M. Squyres and Arun Rodrigues with Brian Barrett,
#          Kinis L. Meyer, M. D. McNally, and Andrew Lumsdaine
# 
# This file is part of the Notre Dame LAM implementation of MPI.
# 
# You should have received a copy of the License Agreement for the Notre
# Dame LAM implementation of MPI along with the software; see the file
# LICENSE.  If not, contact Office of Research, University of Notre
# Dame, Notre Dame, IN 46556.
# 
# Permission to modify the code and to distribute modified code is
# granted, provided the text of this NOTICE is retained, a notice that
# the code was modified is included with the above COPYRIGHT NOTICE and
# with the COPYRIGHT NOTICE in the LICENSE file, and that the LICENSE
# file is distributed with the modified code.
# 
# LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.
# By way of example, but not limitation, Licensor MAKES NO
# REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY
# PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE COMPONENTS
# OR DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS
# OR OTHER RIGHTS.
# 
# Additional copyrights may follow.
# 
#
# 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).
#
# We specify the full pathname to the "master" executable so that it
# is sure to be found.  It may not be necessary to specify the full
# pathname in all cases; see mpirun(1) for more details.
#
h /usr/src/bs/BUILD/lam-6.5.1/examples/mandelbrot/master

#
# 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 NFS and your shell path to be right.
#
# We specify the full pathname to slave for the same reason as above.
#
C -s h /usr/src/bs/BUILD/lam-6.5.1/examples/mandelbrot/slave
