StarNEig Library
version v0.1-beta.6
A task-based library for solving nonsymmetric eigenvalue problems
|
Distributed memory helper functions. More...
MPI communicator | |
void | starneig_mpi_set_comm (MPI_Comm comm) |
Sets a MPI communicator for the library. More... | |
MPI_Comm | starneig_mpi_get_comm () |
Returns the library MPI communicator. More... | |
Broadcast | |
void | starneig_mpi_broadcast (int root, size_t size, void *buffer) |
Broadcast a buffer. More... | |
void | starneig_broadcast (int root, size_t size, void *buffer) |
Broadcast a buffer. Deprecated. More... | |
Distributed memory helper functions.
void starneig_mpi_set_comm | ( | MPI_Comm | comm | ) |
Sets a MPI communicator for the library.
Should be called before the starneig_node_init() interface function.
[in] | comm | The library MPI communicator. |
MPI_Comm starneig_mpi_get_comm | ( | ) |
Returns the library MPI communicator.
void starneig_mpi_broadcast | ( | int | root, |
size_t | size, | ||
void * | buffer | ||
) |
Broadcast a buffer.
[in] | root | The rank that is going to broadcast the buffer. |
[in] | size | The size of the buffer. |
[in,out] | buffer | A pointer to the buffer. |
void starneig_broadcast | ( | int | root, |
size_t | size, | ||
void * | buffer | ||
) |
Broadcast a buffer. Deprecated.