StarNEig User's Guide
v0.1.8
A task-based library for solving dense nonsymmetric eigenvalue problems
|
Go to the documentation of this file.
39 #ifndef STARNEIG_BLACS_HELPERS_H
40 #define STARNEIG_BLACS_HELPERS_H
48 #ifndef STARNEIG_ENABLE_MPI
49 #error "This header should be included only when STARNEIG_ENABLE_MPI is defined."
52 #ifndef STARNEIG_ENABLE_BLACS
53 #error "This header should be included only when STARNEIG_ENABLE_BLACS is defined."
79 #define STARNEIG_BLACS_GET_DEFAULT_CONTEXT 0
212 int n,
int nb,
int iproc,
int isrcproc,
int nprocs);
222 int starneig_numroc(
int n,
int nb,
int iproc,
int isrcproc,
int nprocs);
279 #endif // STARNEIG_BLACS_HELPERS_H
int starneig_blacs_query_id_t
Data type for blacs_get() function query id.
Definition: blacs_helpers.h:74
int starneig_numroc(int n, int nb, int iproc, int isrcproc, int nprocs)
Computes the number of matrix rows/columns owned by a given process. Deprecated.
void starneig_blacs_pcoord(starneig_blacs_context_t context, int process, int *row, int *col)
Queries BLACS process grid coordinates.
void starneig_blacs_exit(int cont)
Releases all contexts and related resources.
BLACS descriptor.
Definition: blacs_matrix.h:140
void starneig_blacs_pinfo(int *my_rank, int *rank_count)
Queries process rank information.
int starneig_blacs_context_t
BLACS context.
Definition: blacs_matrix.h:75
This file contains data types and functions for BLACS formatted distributed matrices.
starneig_blacs_context_t starneig_blacs_gridinit(starneig_blacs_context_t system_context, char *order, int rows, int cols)
Initializes a BLACS process grid.
int starneig_blacs_descinit(struct starneig_blacs_descr *descr, int m, int n, int sm, int sn, int irsrc, int icsrc, starneig_blacs_context_t context, int ld)
Initializes a BLACS descriptor.
void starneig_blacs_gridinfo(starneig_blacs_context_t context, int *rows, int *cols, int *row, int *col)
Queries BLACS process grid information.
int starneig_blacs_get(starneig_blacs_context_t context, starneig_blacs_query_id_t query)
Returns BLACS context's internal defaults.
This file contains StarNEig library configuration.
void starneig_blacs_gridexit(starneig_blacs_context_t context)
Releases process grid specific resources.
int starneig_blacs_numroc(int n, int nb, int iproc, int isrcproc, int nprocs)
Computes the number of matrix rows/columns owned by a given process.
int starneig_descinit(struct starneig_blacs_descr *descr, int m, int n, int sm, int sn, int irsrc, int icsrc, starneig_blacs_context_t context, int ld)
Initializes a BLACS descriptor. Deprecated.