title: Why does MPI give run time Error
body: <p>After i typed</p>
  
  <pre><code>sudo apt-get install mpich2
  </code></pre>
  
  <p>The mpich was installed but the first problem is that I dont know where the files were installed. On the other hand when I wrote</p>
  
  <pre><code>mpirun -np 3 ./hello.o
  </code></pre>
  
  <p>it gives me:</p>
  
  <pre><code>mpiexec_hani-laptop: cannot connect to local mpd (/tmp/mpd2.console_hani); possible causes:
    1. no mpd is running on this host
    2. an mpd is running but was started without a "console" (-n option)
  In case 1, you can start an mpd on this host with:
      mpd &amp;
  and you will be able to run jobs just on this host.
  For more details on starting mpds on a set of hosts, see
  the MPICH2 Installation Guide.
  </code></pre>
  
  <p>Can any one help.</p>