2005-03-14 23:57:21 +03:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-03-14 23:57:21 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2005-03-14 23:57:21 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/** @file:
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ORTE_MCA_RAS_BASE_H
|
|
|
|
#define ORTE_MCA_RAS_BASE_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* includes
|
|
|
|
*/
|
|
|
|
#include "orte_config.h"
|
2006-07-10 18:10:21 +04:00
|
|
|
|
2006-02-12 04:33:29 +03:00
|
|
|
#include "orte/mca/ras/ras.h"
|
2005-03-14 23:57:21 +03:00
|
|
|
/*
|
|
|
|
* Global functions for MCA overall collective open and close
|
|
|
|
*/
|
2008-02-28 04:57:57 +03:00
|
|
|
|
|
|
|
BEGIN_C_DECLS
|
2005-03-14 23:57:21 +03:00
|
|
|
|
2008-06-18 07:15:56 +04:00
|
|
|
ORTE_DECLSPEC int orte_ras_base_open(void);
|
|
|
|
|
|
|
|
#if !ORTE_DISABLE_FULL_SUPPORT
|
2005-03-14 23:57:21 +03:00
|
|
|
/*
|
2008-02-28 04:57:57 +03:00
|
|
|
* globals that might be needed
|
2005-03-14 23:57:21 +03:00
|
|
|
*/
|
2008-02-28 04:57:57 +03:00
|
|
|
typedef struct orte_ras_base_t {
|
|
|
|
int ras_output;
|
|
|
|
opal_list_t ras_opened;
|
|
|
|
bool allocation_read;
|
2008-04-20 06:25:45 +04:00
|
|
|
bool display_alloc;
|
2008-02-28 04:57:57 +03:00
|
|
|
orte_ras_base_module_t *active_module;
|
|
|
|
} orte_ras_base_t;
|
2005-03-14 23:57:21 +03:00
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
ORTE_DECLSPEC extern orte_ras_base_t orte_ras_base;
|
2005-03-14 23:57:21 +03:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* function definitions
|
|
|
|
*/
|
2008-02-28 04:57:57 +03:00
|
|
|
ORTE_DECLSPEC int orte_ras_base_select(void);
|
2005-04-15 21:04:57 +04:00
|
|
|
ORTE_DECLSPEC int orte_ras_base_finalize(void);
|
2005-03-14 23:57:21 +03:00
|
|
|
ORTE_DECLSPEC int orte_ras_base_close(void);
|
2005-10-08 02:24:52 +04:00
|
|
|
|
2008-06-18 07:15:56 +04:00
|
|
|
#endif /* ORTE_DISABLE_FULL_SUPPORT */
|
2005-03-14 23:57:21 +03:00
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
END_C_DECLS
|
2005-03-14 23:57:21 +03:00
|
|
|
|
|
|
|
#endif
|