1 <!--#set var="root_directory" value="../../.." --><!--#include virtual="$root_directory/shared/header.shtml"-->
4 <p><em>Due Tuesday, October 12, 2010</em></p>
8 <p>Learn to write and run simple MPI code.</p>
10 <p>Note: Please identify all your work.</p>
12 <p>Write an MPI code, <code>submit.c</code>, to execute a Linux
13 command on all the nodes of a virtual machine. The command to execute
14 will be extracted from the command line arguments. For instance,</p>
17 mpiexec -np 4 ./submit rm /tmp/a
20 <p>will remove the file <code>a</code> from the local
21 directory <code>/tmp</code> on the 4 nodes on which the code runs.</p>
23 <!--#include virtual="$root_directory/shared/footer.shtml"-->