1 /* 2 * Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved. 3 * All rights reserved. 4 * Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved. 5 * Copyright (c) 2012-2014 Cisco Systems, Inc. All rights reserved. 6 * Copyright (c) 2014 The University of Tennessee and The University 7 * of Tennessee Research Foundation. All rights 8 * reserved. 9 * $COPYRIGHT$ 10 * 11 * Additional copyrights may follow 12 * 13 * $HEADER$ 14 */ 15 16 #ifndef _COMMON_ALPS_H_ 17 #define _COMMON_ALPS_H_ 18 19 #include "opal_config.h" 20 21 BEGIN_C_DECLS 22 23 /** 24 * Determine if calling process is in a Cray PAGG job container. 25 * flag set to TRUE if the process is in a PAGG, otherwise FALSE. 26 */ 27 OPAL_DECLSPEC int orte_common_alps_proc_in_pagg(bool *flag); 28 29 END_C_DECLS 30 31 #endif 32