Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ noderun(1) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dplace(1)



noderun(1)                                                          noderun(1)



NAME
     noderun - Run process on specific node (advisory specification)

SYNOPSIS
     noderun node-path command


DESCRIPTION
     Run a process on a specific SN0 node. The request is advisory. To specify
     mandatory placement, use runon(1) or dplace(1).


EXAMPLE
     To run ls(1) on a specific node:
        $ noderun /hw/module/1/slot/n2/node ls
     To run a.out with several arguments:
        $ noderun /hw/module/1/slot/n1/node a.out a b c


COMMENTS
     Noderun is implemented as a sh(1) script using dplace(1) as follows:

     if ! test -f /usr/sbin/dplace
     then
     echo "Cannot find /usr/sbin/dplace -- please install"
     exit 1
     fi

     if test $# -lt 2
     then
     echo "Usage: $0 <node-name> command"
     exit 1
     fi

     if ! test -d $1
     then
     echo "Usage: $0 <node-name> command"
     echo "The node can only be one of the following:"
     find /hw -name node -print
     exit 1
     fi

     TMP=/usr/tmp/ndrun$$
     echo "memories 1 topology physical near $1" > $TMP
     echo "threads 1" >> $TMP
     echo "run thread 0 on memory 0" >> $TMP

     shift
     /usr/sbin/dplace -migration 0 -place $TMP $@

     rm -f $TMP
     exit 0



                                                                        Page 1





noderun(1)                                                          noderun(1)



SEE ALSO
     dplace(1), The Memory Management Control Interface User's Manual (Books).





















































                                                                        Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026