Defines |
| #define | IPC_RAW8 ((ipc_datatype)1) |
| | any 8-bit type. More...
|
| #define | IPC_RAW32 ((ipc_datatype)2) |
| | any 32-bit type. More...
|
| #define | IPC_RAW64 ((ipc_datatype)3) |
| | any 64-bit type. More...
|
| #define | IPC_CHAR ((ipc_datatype)4) |
| | signed char. More...
|
| #define | IPC_SHORT ((ipc_datatype)5) |
| | signed short. More...
|
| #define | IPC_INT ((ipc_datatype)6) |
| | signed int. More...
|
| #define | IPC_LONG ((ipc_datatype)7) |
| | signed long. More...
|
| #define | IPC_LONG_LONG ((ipc_datatype)8) |
| | signed long long. More...
|
| #define | IPC_UNSIGNED_CHAR ((ipc_datatype)9) |
| | unsigned char. More...
|
| #define | IPC_UNSIGNED_SHORT ((ipc_datatype)10) |
| | unsigned short. More...
|
| #define | IPC_UNSIGNED ((ipc_datatype)11) |
| | unsigned int. More...
|
| #define | IPC_UNSIGNED_LONG ((ipc_datatype)12) |
| | unsigned long. More...
|
| #define | IPC_FLOAT ((ipc_datatype)13) |
| | float. More...
|
| #define | IPC_DOUBLE ((ipc_datatype)14) |
| | double. More...
|
| #define | IPC_LONG_DOUBLE ((ipc_datatype)15) |
| | long double. More...
|
| #define | IPC_NO_ERROR 0 |
| #define | IPC_EXIT_NORMAL 0 |
| #define | IPC_EXIT_WRONG_USAGE 1 |
| #define | IPC_EXIT_FILE_PROBLEM 2 |
| #define | IPC_EXIT_PARAM_VALUE_ERROR 3 |
| #define | IPC_EXIT_OUT_OF_MEMORY 4 |
| #define | IPC_EXIT_TOO_MANY_ERRORS 5 |
| #define | IPC_NONE -10 |
| #define | IPC_ERROR -6 |
| #define | IPC_WARNING -4 |
| #define | IPC_CAUTION -2 |
| #define | IPC_ALERT 0 |
| #define | IPC_SUMMARY 2 |
| #define | IPC_STD 4 |
| #define | IPC_VERBOSE 6 |
| #define | IPC_OVERWHELM 10 |
| #define | IPC_ONE 0 |
| #define | IPC_ALL -1 |
| #define | IPC_CALL_PROTO(name, type,ipc_type) |
| #define | IPC_PUT_RAW_PROTO(bits) |
| | Raw interface for use when absolute lengths of data are known when code is written. More...
|
| #define | IPC_GET_RAW_PROTO(bits) |
Typedefs |
| typedef unsigned int | ipc_datatype |
| typedef int | ipc_status |
Functions |
| int | ipc_datatype_size (ipc_datatype datatype) |
| | private function to determine size of each IPC datatype. More...
|
| int | ipc_num_processes (void) |
| | Return the number of processes involved in the current run (currently the same as the number of processors). More...
|
| int | ipc_my_process (void) |
| | Return the number of the current process. More...
|
| void | ipc_barrier (void) |
| | Global barrier. More...
|
| void | ipc_set_barrier (void) |
| | Barrier announce (non-blocking). More...
|
|
| IPC_CALL_PROTO (put, signed short ,IPC_SHORT ) |
|
| IPC_CALL_PROTO (put, unsigned char ,IPC_UNSIGNED_CHAR ) |
|
| IPC_CALL_PROTO (put, float ,IPC_FLOAT ) |
|
| IPC_CALL_PROTO (put, double ,IPC_DOUBLE ) |
|
| IPC_CALL_PROTO (put, long double ,IPC_LONG_DOUBLE ) |
|
| IPC_CALL_PROTO (get, signed short ,IPC_SHORT ) |
|
| IPC_CALL_PROTO (get, unsigned char ,IPC_UNSIGNED_CHAR ) |
|
| IPC_CALL_PROTO (get, float ,IPC_FLOAT ) |
|
| IPC_CALL_PROTO (get, double ,IPC_DOUBLE ) |
|
| IPC_CALL_PROTO (get, long double ,IPC_LONG_DOUBLE ) |
|
| IPC_PUT_RAW_PROTO (8) IPC_PUT_RAW_PROTO(32) IPC_PUT_RAW_PROTO(64) #define IPC_GET_RAW_PROTO(bits) IPC_GET_RAW_PROTO(8) IPC_GET_RAW_PROTO(32) IPC_GET_RAW_PROTO(64) void ipc_pe_msg_delay( double scale ) |
| void | ipc_init (void) |
| | Call before making any other ipc_ calls Currently doesn't do much, but could in the future for some underlying protocols. More...
|
| void | ipc_init_logfile (const char *basefilename) |
| | Call before making any ipc_log calls. More...
|
| void | ipc_log ( int print_pe, const char *format, ...) |
| | Log a non-urgent message to the runfile. More...
|
| int | ipc_notify ( int print_pe, int message_level, const char *format, ...) |
| | Print an informative or warning message on the console or stderr. More...
|
| void | ipc_exit ( int status, const char *format, ...) |
| | Synchronize all processors and exit with the given status. More...
|
| void | ipc_abort ( int status, const char *format, ...) |
| | Abort all processors (not just this one) and exit with the given status. More...
|
| void | ipc_error ( void ) |
| | These are separate routines merely because that makes it easy to have a debugger such as gdb stop execution when an error or warning occurs. More...
|
| void | ipc_warning ( void ) |