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