PETSC_MPI_THREAD_REQUIRED — PETSc 3.25.0 documentation

Skip to main content
`Ctrl`+`K`

# PETSC_MPI_THREAD_REQUIRED

the required threading support used if PETSc initializes MPI with `MPI_Init_thread()`. No Fortran Support

## Note

By default `PETSC_MPI_THREAD_REQUIRED` equals `MPI_THREAD_FUNNELED` when the MPI implementation provides `MPI_Init_thread()`, otherwise it equals `MPI_THREAD_SINGLE`

## See Also

`PetscInitialize()`

## Level

beginner

## Location

include/petscsys.h

## Examples

src/ksp/ksp/tutorials/ex52.c

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages