Hi,<br><br>I am trying to construct a sparse parallel matrix (MPIAIJ) by adding up sparse sequential matrices (SeqAIJ) from each CPU. I am using <br><br>MatMerge_SeqsToMPI(MPI_Comm comm,Mat seqmat,PetscInt m,PetscInt n,MatReuse scall,Mat *mpimat) <br><br>to do that. However, when I compile the code I get the following <br><br>&nbsp;undefined reference to `matmerge_seqstompi_'<br>collect2: ld returned 1 exit status<br>make: *** [all] Error 1<br><br>Am I using this function correctly ?<br><br>Thanks<br><br>Waad <br><p>&#32;