# MatPartitioningChacoSetGlobal
Set the global method for Chaco partitioner. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPartitioningChacoSetGlobal(MatPartitioning part, MPChacoGlobalType method)
```
Collective


## Input Parameters

- ***part -*** the partitioning context
- ***method -*** one of `MP_CHACO_MULTILEVEL`, `MP_CHACO_SPECTRAL`, `MP_CHACO_LINEAR`,
`MP_CHACO_RANDOM` or `MP_CHACO_SCATTERED`



## Options Database Key

- ***-mat_partitioning_chaco_global <method> -*** the global method





## Note
The default is the multi-level method. See Chaco documentation for
additional details.


## See Also
 `MatPartitioning`, `MatPartioningSetType()`, `MatPartitioningType`, `MATPARTITIONINGCHACO`, `MatPartitioningChacoSetLocal()`, `MatPartitioningChacoGetGlobal()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/partition/impls/chaco/chaco.c.html#MatPartitioningChacoSetGlobal">src/mat/partition/impls/chaco/chaco.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/partition/impls/chaco/chaco.c.html#MatPartitioningChacoSetGlobal_Chaco">MatPartitioningChacoSetGlobal_Chaco in src/mat/partition/impls/chaco/chaco.c</A><BR>


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


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