# MatMPIAdjToSeq
Converts an parallel `MATMPIADJ` matrix to complete `MATMPIADJ` on each process (needed by sequential partitioner) 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatMPIAdjToSeq(Mat A, Mat *B)
```
Logically Collective


## Input Parameter

- ***A -*** the matrix



## Output Parameter

- ***B -*** the same matrix on all processes





## See Also
 `MATMPIADJ`, `MatCreate()`, `MatCreateMPIAdj()`, `MatSetValues()`, `MatMPIAdjToSeqRankZero()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/adj/mpi/mpiadj.c.html#MatMPIAdjToSeq">src/mat/impls/adj/mpi/mpiadj.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/adj/mpi/mpiadj.c.html#MatMPIAdjToSeq_MPIAdj">MatMPIAdjToSeq_MPIAdj in src/mat/impls/adj/mpi/mpiadj.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/adj/mpi/mpiadj.c)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
