File: mpe.h

package info (click to toggle)
mpich 1.1.0-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 22,116 kB
  • ctags: 27,349
  • sloc: ansic: 193,435; sh: 11,172; fortran: 6,545; makefile: 5,801; cpp: 5,020; tcl: 3,548; asm: 3,536; csh: 1,079; java: 614; perl: 183; awk: 168; sed: 70; f90: 62
file content (76 lines) | stat: -rw-r--r-- 2,249 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* MPE_Graphics should not be included here in case the system does not
   support the graphics features. */

#ifndef _MPE_INCLUDE
#define _MPE_INCLUDE

#ifndef ANSI_ARGS
#if defined(__STDC__) || defined(__cplusplus)
#define ANSI_ARGS(a) a
#else
#define ANSI_ARGS(a) ()
#endif
#endif

#if defined(__cplusplus)
extern "C" {
#endif

#ifdef MPE_GRAPHICS
#include "mpe_graphics.h"
#endif
#include "mpe_log.h"

#define MPE_SUCCESS        0		/* successful operation */
#define MPE_ERR_NOXCONNECT 1		/* could not connect to X server */
#define MPE_ERR_BAD_ARGS   2            /* graphics handle invalid */
#define MPE_ERR_LOW_MEM    3	        /* out of memory (malloc() failed) */

#if defined(MPI_rs6000)

#define mpe_ptime_            mpe_ptime
#define mpe_initlog_          mpe_initlog
#define mpe_startlog_         mpe_startlog
#define mpe_stoplog_          mpe_stoplog
#define mpe_describe_state_   mpe_describe_state
#define mpe_describe_event_   mpe_describe_event
#define mpe_log_event_        mpe_log_event
#define mpe_finishlog_        mpe_finishlog

#endif

void MPE_Seq_begin ANSI_ARGS(( MPI_Comm, int ));
void MPE_Seq_end   ANSI_ARGS(( MPI_Comm, int ));

int MPE_DelTag     ANSI_ARGS(( MPI_Comm, int, void *, void * ));
int MPE_GetTags    ANSI_ARGS(( MPI_Comm, int, MPI_Comm *, int * ));
int MPE_ReturnTags ANSI_ARGS(( MPI_Comm, int, int ));
int MPE_TagsEnd    ANSI_ARGS(( void ));

void MPE_IO_Stdout_to_file ANSI_ARGS(( char *, int ));

void MPE_GetHostName       ANSI_ARGS(( char *, int ));

double MPE_Wtime   ANSI_ARGS(( void ));
double MPE_Ptime   ANSI_ARGS(( void ));

void MPE_Start_debugger ANSI_ARGS(( void ));
#if (defined(__STDC__) || defined(__cpluscplus))
void MPE_Errors_to_dbx ANSI_ARGS(( MPI_Comm *, int *, ... ));
#else
void MPE_Errors_to_dbx ANSI_ARGS(( MPI_Comm *, int *, char *, char *, int * ));
#endif
void MPE_Errors_call_debugger ANSI_ARGS(( char *, char *, char ** ));
void MPE_Errors_call_xdbx     ANSI_ARGS(( char *, char * ));
void MPE_Errors_call_dbx_in_xterm ANSI_ARGS(( char *, char * ));
void MPE_Signals_call_debugger ANSI_ARGS(( void ));

int MPE_Decomp1d ANSI_ARGS(( int, int, int, int *, int * ));

void MPE_Comm_global_rank ANSI_ARGS(( MPI_Comm, int, int * ));

#if defined(__cplusplus)
};
#endif

#endif