#!/bin/sh # Simple wrapper around smpd to select the appropriate binary # DO NOT CREATE SYMBOLIC LINKS TO THIS SCRIPT. # Copyright 2006 The MathWorks, Inc. # dummy check_archlist for arch.sh check_archlist () { return 0 } # The following line assumes that this script is not being run via a symbolic # link. bindir=`dirname $0` # This will set ARCH for us - ensure it's unset first ARCH= . ${bindir}/util/arch.sh # Call the correct mpiexec with the arguments we were given ${bindir}/${ARCH}/smpd "${@}"