This source file includes following definitions.
- oshmem_framework_open_output
1
2
3
4
5
6
7
8
9
10
11 #ifndef OSHMEM_UTIL_H
12 #define OSHMEM_UTIL_H
13
14 #include "oshmem_config.h"
15
16 #include "opal/util/output.h"
17 #include "opal/mca/base/base.h"
18 #include "opal/mca/base/mca_base_framework.h"
19
20
21
22
23 #define OSHMEM_ENV_SYMMETRIC_SIZE "SMA_SYMMETRIC_SIZE"
24 #define OSHMEM_ENV_DEBUG "SMA_DEBUG"
25 #define OSHMEM_ENV_INFO "SMA_INFO"
26 #define OSHMEM_ENV_VERSION "SMA_VERSION"
27
28
29 void oshmem_output_verbose(int level, int output_id, const char* prefix,
30 const char* file, int line, const char* function, const char* format, ...);
31
32
33
34
35
36 void oshmem_output(int output_id, const char* prefix, const char* file,
37 int line, const char* function, const char* format, ...);
38
39
40
41
42
43
44
45 static inline void oshmem_framework_open_output(struct mca_base_framework_t *framework)
46 {
47 if (-1 == framework->framework_output) {
48 framework->framework_output = opal_output_open(NULL);
49 }
50 }
51
52
53 #endif