1 /*
2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3  *                         University Research and Technology
4  *                         Corporation.  All rights reserved.
5  * Copyright (c) 2004-2005 The University of Tennessee and The University
6  *                         of Tennessee Research Foundation.  All rights
7  *                         reserved.
8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9  *                         University of Stuttgart.  All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  *                         All rights reserved.
12  * Copyright (c) 2006      Los Alamos National Security, LLC.  All rights
13  *                         reserved.
14  * Copyright (c) 2008-2012 Cisco Systems, Inc.  All rights reserved.
15  * Copyright (c) 2009      Oak Ridge National Labs.  All rights reserved.
16  * Copyright (c) 2010-2013 Los Alamos National Security, LLC.
17  *                         All rights reserved.
18  * Copyright (c) 2014      Hochschule Esslingen.  All rights reserved.
19  * Copyright (c) 2015      Mellanox Technologies, Inc.
20  *                         All rights reserved.
21  * Copyright (c) 2017      IBM Corporation.  All rights reserved.
22  * $COPYRIGHT$
23  *
24  * Additional copyrights may follow
25  *
26  * $HEADER$
27  */
28 
29 #if !defined(OPAL_PARAMS_H)
30 #define OPAL_PARAMS_H
31 
32 extern char *opal_signal_string;
33 extern char *opal_stacktrace_output_filename;
34 extern char *opal_net_private_ipv4;
35 extern char *opal_set_max_sys_limits;
36 
37 #if OPAL_ENABLE_TIMING
38 extern char *opal_timing_sync_file;
39 extern char *opal_timing_output;
40 extern bool opal_timing_overhead;
41 #endif
42 
43 OPAL_DECLSPEC extern int opal_initialized;
44 OPAL_DECLSPEC extern bool opal_built_with_cuda_support;
45 
46 /**
47  *  * Whether we want to enable CUDA GPU buffer send and receive support.
48  *   */
49 OPAL_DECLSPEC extern bool opal_cuda_support;
50 
51 /**
52  * Whether to use the "leave pinned" protocol or not (0 = no, 1 = yes,
53  * -1 = determine at runtime).
54  */
55 OPAL_DECLSPEC extern int opal_leave_pinned;
56 
57 /**
58  * Whether to use the "leave pinned pipeline" protocol or not.
59  */
60 OPAL_DECLSPEC extern bool opal_leave_pinned_pipeline;
61 
62 /**
63  * Whether an abort operation should print out a stack trace or not.
64  */
65 OPAL_DECLSPEC extern bool opal_abort_print_stack;
66 
67 /**
68  * Whether  abort operation  should  print  out an  identifying  message
69  * (e.g., hostname  and PID)  and loop waiting  for a  debugger to
70  * attach.  The value of the integer is how many seconds to wait:
71  *
72  * 0 = do not print the message and do not loop
73  * negative value = print the message and loop forever
74  * positive value = print the message and delay for that many seconds
75  */
76 OPAL_DECLSPEC extern int opal_abort_delay;
77 
78 #if OPAL_ENABLE_DEBUG
79 extern bool opal_progress_debug;
80 #endif
81 
82 #if OPAL_ENABLE_FT_CR == 1
83 extern bool opal_base_distill_checkpoint_ready;
84 #endif
85 
86 #endif
87