StarNEig Library  version v0.1-beta.6
A task-based library for solving nonsymmetric eigenvalue problems
distr_helpers.h
Go to the documentation of this file.
1 
39 #ifndef STARNEIG_DISTR_HELPERS_H
40 #define STARNEIG_DISTR_HELPERS_H
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 #include <starneig/configuration.h>
47 #include <stddef.h>
48 #include <mpi.h>
49 
57 
62 
71 void starneig_mpi_set_comm(MPI_Comm comm);
72 
78 MPI_Comm starneig_mpi_get_comm();
79 
83 
88 
101 void starneig_mpi_broadcast(int root, size_t size, void *buffer);
102 
110 void starneig_broadcast(int root, size_t size, void *buffer);
111 
115 
119 
120 #ifdef __cplusplus
121 }
122 #endif
123 
124 #endif // STARNEIG_DISTR_HELPERS_H
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.
This file contains StarNEig library configuration.
void starneig_broadcast(int root, size_t size, void *buffer)
Broadcast a buffer. Deprecated.
void starneig_mpi_set_comm(MPI_Comm comm)
Sets a MPI communicator for the library.