| Top |
| int | gretl_MPI_init () |
| int | gretl_mpi_initialized () |
| int | gretl_mpi_rank () |
| int | gretl_mpi_n_processes () |
| int | gretl_mpi_bcast () |
| int | gretl_matrix_mpi_bcast () |
| int | gretl_scalar_mpi_bcast () |
| int | gretl_int_mpi_bcast () |
| int | gretl_unsigned_mpi_bcast () |
| int | gretl_mpi_send () |
| int | gretl_matrix_mpi_send () |
| gretl_matrix * | gretl_matrix_mpi_receive () |
| int | gretl_matrix_mpi_reduce () |
| int | gretl_scalar_mpi_reduce () |
| int | gretl_matrix_mpi_scatter () |
| double | gretl_scalar_mpi_receive () |
| int | gretl_mpi_receive () |
| void | gretl_mpi_stopwatch_init () |
| double | gretl_mpi_stopwatch () |
int gretl_mpi_bcast (void *p,GretlType type,int root);
Broadcasts the value referenced by p
to MPI_COMM_WORLD.
type
must be GRETL_TYPE_MATRIX, in which case
p
should be a (**gretl_matrix) pointer; GRETL_TYPE_BUNDLE,
in which case p
should be a (**gretl_bundle) pointer;
or GRETL_TYPE_DOUBLE, in which case p
should be a (*double)
pointer.
int gretl_mpi_send (void *p,GretlType type,int dest);
Sends the value referenced by p
to the MPI process with
rank dest
. At present type
must be GRETL_TYPE_MATRIX,
GRETL_TYPE_DOUBLE, GRETL_TYPE_INT or GRETL_TYPE_BUNDLE.
The p
argument should be a pointer of matching type:
(*gretl_matrix), (*double), (*int) or (*gretl_bundle).
int gretl_matrix_mpi_reduce (gretl_matrix *sm,gretl_matrix **pm,Gretl_MPI_Op op,int root,gretlopt opt);
int gretl_scalar_mpi_reduce (double x,double *xp,Gretl_MPI_Op op,int root,gretlopt opt);
int gretl_matrix_mpi_scatter (const gretl_matrix *m,gretl_matrix **recvm,Gretl_MPI_Op op,int root);
int gretl_mpi_receive (int source,GretlType *type,gretl_matrix **pm,gretl_bundle **pb,double *px,int *pi);