Start the Message Passing Daemons with
- $ mpdboot -f mpd.hosts
+ $ mpdboot -n 4 -f mpd.hosts
-which spawns a daemon (`mpd`) on each host. Then run your program
-(e.g. `simplest_message`) with.
+which spawns a daemon (`mpd`) on the first four hosts in `mpd.hosts`.
+Then run your program (e.g. `simplest_message`) with.
$ mpiexec -n 4 ./simplest_message
Parallel code
- $ mpdboot -f mpd.hosts
+ $ mpdboot -n 4 -f mpd.hosts
$ mpiexec -n 4 ./average_parallel data
$ mpdallexit
Parallel code
- $ mpdboot -f mpd.hosts
+ $ mpdboot -n 4 -f mpd.hosts
$ mpiexec -n 4 ./global_mpi_operations
$ mpiexec -n 4 ./broadcast
$ mpdallexit
xphy1.physics.xterm.net
xphy2.physics.xterm.net
...
+ xphy15.physics.xterm.net
Start the Message Passing Daemons with
- $ mpdboot -f mpd.hosts
+ $ mpdboot -n 15 -f mpd.hosts
which spawns a daemon (`mpd`) on each host. Then run your program
(e.g. `hello`) with.