2005-05-19 17:33:55 +04: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-05-19 17:33:55 +04:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @file **/
|
|
|
|
|
2005-05-22 22:40:03 +04:00
|
|
|
#ifndef OPAL_H
|
|
|
|
#define OPAL_H
|
|
|
|
|
2005-08-18 19:48:59 +04:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-05-22 22:40:03 +04:00
|
|
|
/**
|
2006-01-16 04:48:03 +03:00
|
|
|
* Initialize the OPAL layer, including the MCA system.
|
2005-05-22 22:40:03 +04:00
|
|
|
*
|
2006-02-12 04:33:29 +03:00
|
|
|
* @retval OPAL_SUCCESS Upon success.
|
|
|
|
* @retval OPAL_ERROR Upon failure.
|
2005-05-22 22:40:03 +04:00
|
|
|
*
|
2006-01-16 04:48:03 +03:00
|
|
|
* \note If this function is called, opal_init_util() should *not* be
|
|
|
|
* called.
|
2005-05-22 22:40:03 +04:00
|
|
|
*/
|
2006-01-16 04:48:03 +03:00
|
|
|
OMPI_DECLSPEC int opal_init(void);
|
2005-05-19 17:33:55 +04:00
|
|
|
|
|
|
|
/**
|
2006-01-16 04:48:03 +03:00
|
|
|
* Finalize the OPAL layer, including the MCA system.
|
2005-05-19 17:33:55 +04:00
|
|
|
*
|
2006-02-12 04:33:29 +03:00
|
|
|
* @retval OPAL_SUCCESS Upon success.
|
|
|
|
* @retval OPAL_ERROR Upon failure.
|
2005-05-19 17:33:55 +04:00
|
|
|
*
|
2006-01-16 04:48:03 +03:00
|
|
|
* \note If this function is called, opal_finalize_util() should *not*
|
|
|
|
* be called.
|
2005-05-19 17:33:55 +04:00
|
|
|
*/
|
2006-01-16 04:48:03 +03:00
|
|
|
OMPI_DECLSPEC int opal_finalize(void);
|
2005-05-19 17:33:55 +04:00
|
|
|
|
2006-01-16 04:48:03 +03:00
|
|
|
/**
|
|
|
|
* Initialize the OPAL layer, excluding the MCA system.
|
|
|
|
*
|
2006-02-12 04:33:29 +03:00
|
|
|
* @retval OPAL_SUCCESS Upon success.
|
|
|
|
* @retval OPAL_ERROR Upon failure.
|
2006-01-16 04:48:03 +03:00
|
|
|
*
|
|
|
|
* \note If this function is called, opal_init() should *not*
|
|
|
|
* be called.
|
|
|
|
*/
|
|
|
|
OMPI_DECLSPEC int opal_init_util(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Finalize the OPAL layer, excluding the MCA system.
|
|
|
|
*
|
2006-02-12 04:33:29 +03:00
|
|
|
* @retval OPAL_SUCCESS Upon success.
|
|
|
|
* @retval OPAL_ERROR Upon failure.
|
2006-01-16 04:48:03 +03:00
|
|
|
*
|
|
|
|
* \note If this function is called, opal_finalize() should *not*
|
|
|
|
* be called.
|
|
|
|
*/
|
|
|
|
OMPI_DECLSPEC int opal_finalize_util(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal function. Do not call.
|
|
|
|
*/
|
|
|
|
OMPI_DECLSPEC int opal_register_params(void);
|
2006-01-11 07:36:39 +03:00
|
|
|
|
2005-08-18 19:48:59 +04:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2005-05-19 17:33:55 +04:00
|
|
|
#endif
|