1
1
openmpi/orte/mca/common/alps/common_alps.h
Howard Pritchard e0487e7702 orte/common/alps: add an alps common lib to orte
Add an alps common lib to orte.  Add a function
to determine whether or not a process is in a
PAGG container.

Note: we need a better naming convention for
common libs, since right now they use a "flat"
naming convention.
2014-12-03 09:44:17 -07:00

33 строки
844 B
C

/*
* Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
* All rights reserved.
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2012-2014 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef _COMMON_ALPS_H_
#define _COMMON_ALPS_H_
#include "opal_config.h"
BEGIN_C_DECLS
/**
* Determine if calling process is in a Cray PAGG job container.
* flag set to TRUE if the process is in a PAGG, otherwise FALSE.
*/
OPAL_DECLSPEC int orte_common_alps_proc_in_pagg(bool *flag);
END_C_DECLS
#endif