title: MPI send in passing pointer pointer c + +
body: <pre><code>MPI_Send (&amp;t[0], 2, MPI_INT, 1, tag, MPI_COMM_WORLD);
  </code></pre>
  
  <p>I can not get the address of this pointer pointer in the slave,A is a matrix already allocated ** A,A[0] is the address of the first row of the matrix</p>
  
  <pre><code>// MASTER
  
  int** T = new int*[2];
  T[0] = A[0];
  
  MPI_Send(&amp;T[0], 2, MPI_INT, 1, TAG, MPI_COMM_WORLD);
  
  // SLAVE
  
  int **V = new int*[2];
  MPI_Recv(V, 2, MPI_INT, 0, TAG, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
  
  int resposta = 1;
  
  MPI_Send(&amp;resposta, 1, MPI_INT, 0, TAG, MPI_COMM_WORLD);
  </code></pre>