|
|
|
|
/home/brennan/n-sim/OrbisQuartus/control/mini_mpi_server.c File Reference#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <pthread.h>
#include <mini_mpi.h>
#include <daemon.h>
#include "mini_mpi_server.h"
Go to the source code of this file.
Define Documentation
Typedef Documentation
Function Documentation
void change_task_flag |
( |
int |
i, |
|
|
short |
f |
|
) |
|
|
int get_cluster_size |
( |
void |
|
) |
|
|
int get_task_socket |
( |
int |
i |
) |
|
|
void* mini_mpi_server |
( |
void * |
arg_struct |
) |
|
|
|
Definition at line 239 of file mini_mpi_server.c.
References _proc_count_, BACKLOG, daemon_quitting(), daemon_shuttingdown(), task_handle::fd, task_handle::flag, task_handle::id, task_handle::ip_addr, task_handle::list, mpi_handler(), mpi_mutex, MPI_PORT, task_handle::next, task_mutex, tasks_head, tasks_tail, and task_handle::thread.
Referenced by main(). |
void* mpi_handler |
( |
void * |
t |
) |
|
|
|
Definition at line 175 of file mini_mpi_server.c.
References _proc_count_, daemon_shuttingdown(), task_handle::fd, task_handle::id, MINI_MPI_ABORT, MINI_MPI_BARRIER, MINI_MPI_FINAL, MINI_MPI_GATHER, MINI_MPI_HEAD, MINI_MPI_INIT, MINI_MPI_RECV, MINI_MPI_SCATTER, MINI_MPI_SEND, mpi_conditional, mpi_mutex, task_mutex, tasks_head, and tasks_to_string().
Referenced by mini_mpi_server(). |
int tasks_to_string |
( |
int |
count, |
|
|
task_t * |
head, |
|
|
char * |
string |
|
) |
|
|
Variable Documentation
|