[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MatMerge_SeqsToMPI



Hi,

I am trying to construct a sparse parallel matrix (MPIAIJ) by adding up sparse sequential matrices (SeqAIJ) from each CPU. I am using

MatMerge_SeqsToMPI(MPI_Comm comm,Mat seqmat,PetscInt m,PetscInt n,MatReuse scall,Mat *mpimat)

to do that. However, when I compile the code I get the following

 undefined reference to `matmerge_seqstompi_'
collect2: ld returned 1 exit status
make: *** [all] Error 1

Am I using this function correctly ?

Thanks

Waad