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 we want to warn the user when libcuda is missing. 53 * */ 54 OPAL_DECLSPEC extern bool opal_warn_on_missing_libcuda; 55 56 /** 57 * Whether to use the "leave pinned" protocol or not (0 = no, 1 = yes, 58 * -1 = determine at runtime). 59 */ 60 OPAL_DECLSPEC extern int opal_leave_pinned; 61 62 /** 63 * Whether to use the "leave pinned pipeline" protocol or not. 64 */ 65 OPAL_DECLSPEC extern bool opal_leave_pinned_pipeline; 66 67 /** 68 * Whether an abort operation should print out a stack trace or not. 69 */ 70 OPAL_DECLSPEC extern bool opal_abort_print_stack; 71 72 /** 73 * Whether abort operation should print out an identifying message 74 * (e.g., hostname and PID) and loop waiting for a debugger to 75 * attach. The value of the integer is how many seconds to wait: 76 * 77 * 0 = do not print the message and do not loop 78 * negative value = print the message and loop forever 79 * positive value = print the message and delay for that many seconds 80 */ 81 OPAL_DECLSPEC extern int opal_abort_delay; 82 83 #if OPAL_ENABLE_DEBUG 84 extern bool opal_progress_debug; 85 #endif 86 87 #if OPAL_ENABLE_FT_CR == 1 88 extern bool opal_base_distill_checkpoint_ready; 89 #endif 90 91 #endif