Appendix D: The mpC User s Guide


C.2. USER’S GUIDE

A typical session to run the N-body application includes the following steps (see Appendix D for a full mpC user’s guide):

  • Open a virtual parallel machine, vpm

    mpcopen vpm
  • Translate your mpC program into a C file

    mpcc pquanc8.mpc
  • Copy file pquanc8.c from the current directory to the $MPCLOAD directory

    cp pquanc8.c $MPCLOAD
  • Broadcast this file from the host workstation to all other workstations involved

    mpcbcast pquanc8.c
  • Produce executable pquanc8 on all workstations involved

    mpcload -het -o pquanc8 pquanc8.c
  • Run the application

    mpcrun pquanc8




Parallel Computing on Heterogeneous Networks
Parallel Computing on Heterogeneous Networks (Wiley Series on Parallel and Distributed Computing)
ISBN: B000W7ZQBO
EAN: N/A
Year: 2005
Pages: 95

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net