title: I need help to convert a C code to MPI
body: <p>I now have an SGE cluster with the MPI runtime. As a beginner, I would like someone to help me translate the C code to MPI to run it later using the SGE queue system, but I do not get it.</p>
  
  <p>I add the sequential code in C:</p>
  
  <pre><code>int initialize (double **A, int n)
  {
     int i,j;
     for (j=0;j&lt;n+1;j++){
       A[0][j]=1.0;
     }
    for (i=1;i&lt;n+1;i++){
    A[i][0]=1.0;
    for (j=1;j&lt;n+1;j++) A[i][j]=0.0;
     }
  </code></pre>