|
|
|
|
/home/brennan/n-sim/OrbisQuartus/server/mini_mpi.c File Reference#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mini_mpi.h>
#include "mini_mpi-internal.h"
Go to the source code of this file.
|
Functions |
void | string_to_tasks (int count, char *str, task_t *head) |
int | type_size (MPI_Datatype type) |
int | buffer_to_char (char *string, int len, void *buf, int count, MPI_Datatype type) |
int | char_to_buffer (void *buf, int count, MPI_Datatype type, char *string) |
int | MPI_Initialized (int *flag) |
int | MPI_Comm_size (MPI_Comm comm, int *size) |
int | MPI_Comm_rank (MPI_Comm comm, int *rank) |
Variables |
int | my_numprocs = 0 |
int | my_taskid = 0 |
unsigned short | my_init = 0 |
sockaddr_in | head_addr |
int | my_socket |
task_t * | task_array |
Function Documentation
int buffer_to_char |
( |
char * |
string, |
|
|
int |
len, |
|
|
void * |
buf, |
|
|
int |
count, |
|
|
MPI_Datatype |
type |
|
) |
|
|
int char_to_buffer |
( |
void * |
buf, |
|
|
int |
count, |
|
|
MPI_Datatype |
type, |
|
|
char * |
string |
|
) |
|
|
int MPI_Comm_rank |
( |
MPI_Comm |
comm, |
|
|
int * |
rank |
|
) |
|
|
int MPI_Comm_size |
( |
MPI_Comm |
comm, |
|
|
int * |
size |
|
) |
|
|
int MPI_Initialized |
( |
int * |
flag |
) |
|
|
void string_to_tasks |
( |
int |
count, |
|
|
char * |
str, |
|
|
task_t * |
head |
|
) |
|
|
int type_size |
( |
MPI_Datatype |
type |
) |
|
|
|
Definition at line 72 of file mini_mpi.c.
References MPI_BYTE, MPI_CHAR, MPI_DOUBLE, MPI_FLOAT, MPI_INT, MPI_LONG, MPI_LONG_DOUBLE, MPI_PACKED, MPI_SHORT, MPI_UNSIGNED_INT, MPI_UNSIGNED_LONG, and MPI_UNSIGNED_SHORT.
Referenced by MPI_Bcast(), MPI_Isend(), and MPI_Send(). |
Variable Documentation
|