petsc-3.3-p7 2013-05-11


This function initializes everything in the Petsc interface to PLAPACK. It is called from MatCreate_MPIDense() the first time an MPI dense matrix is called.


#include "petscmat.h"  
PetscErrorCode  PetscPLAPACKInitializePackage(MPI_Comm comm)

Input Parameter

comm -the communicator the matrix lives on

Notes: PLAPACK does not have a good fit with MPI communicators; all (parallel) PLAPACK objects have to live in the same communicator (because there is some global state that is initialized and used for all matrices). In addition if PLAPACK is initialized (that is the initial matrices created) are on subcommunicators of MPI_COMM_WORLD, these subcommunicators cannot overlap.


Petsc, initialize, package, PLAPACK

See Also

PetscSysInitializePackage(), PetscInitialize()

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