title: MPI basics program
body: <p>Hi I wanted to learn using MPI in C. I am using Codeblocks on Windows 7</p>
  
  <p>I ran this program:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;mpi.h&gt;
  
  void main (int argc, char *argv[]) {
     int err;
     err = MPI_Init(&amp;argc, &amp;argv);
     printf("Hello world!\n");
     err = MPI_Finalize();
  }
  </code></pre>
  
  <p>but for some reason, i get an error at "mpi.h". Is there a way to add the library?</p>