petsc-3.5.4 2015-05-23
Report Typos and Errors

PetscGetNCores

Gets the number of available cores on the system

Synopsis

#include "petscthreadcomm.h" 
PetscErrorCode PetscGetNCores(PetscInt *ncores)
Not Collective

Notes Defaults to 1 if the available core count cannot be found

Level:developer
Location:
src/sys/threadcomm/interface/threadcomm.c
Index of all PetscThreadComm routines
Table of Contents for all manual pages
Index of all manual pages