1
1

Change a bunch of 'OMPI' names to OPAL names, since this is opal.

This commit was SVN r14165.
Этот коммит содержится в:
Tim Prins 2007-03-29 01:00:33 +00:00
родитель 9cb455272b
Коммит bc1b046e33
19 изменённых файлов: 81 добавлений и 81 удалений

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -57,7 +57,7 @@ typedef struct opal_hash_table_t opal_hash_table_t;
* @param table The input hash table (IN).
* @param size The size of the table, which will be rounded up
* (if required) to the next highest power of two (IN).
* @return OMPI error code.
* @return OPAL error code.
*
*/
@ -81,7 +81,7 @@ static inline size_t opal_hash_table_get_size(opal_hash_table_t *ht)
* Remove all elements from the table.
*
* @param table The input hash table (IN).
* @return OMPI return code.
* @return OPAL return code.
*
*/
@ -109,7 +109,7 @@ OPAL_DECLSPEC int opal_hash_table_get_value_uint32(opal_hash_table_t* table, uin
* @param table The input hash table (IN).
* @param key The input key (IN).
* @param value The value to be associated with the key (IN).
* @return OMPI return code.
* @return OPAL return code.
*
*/
@ -120,7 +120,7 @@ OPAL_DECLSPEC int opal_hash_table_set_value_uint32(opal_hash_table_t* table, uin
*
* @param table The input hash table (IN).
* @param key The input key (IN).
* @return OMPI return code.
* @return OPAL return code.
*
*/
@ -148,7 +148,7 @@ OPAL_DECLSPEC int opal_hash_table_get_value_uint64(opal_hash_table_t *table, uin
* @param table The input hash table (IN).
* @param key The input key (IN).
* @param value The value to be associated with the key (IN).
* @return OMPI return code.
* @return OPAL return code.
*
*/
@ -159,7 +159,7 @@ OPAL_DECLSPEC int opal_hash_table_set_value_uint64(opal_hash_table_t *table, uin
*
* @param table The input hash table (IN).
* @param key The input key (IN).
* @return OMPI return code.
* @return OPAL return code.
*
*/
@ -187,7 +187,7 @@ OPAL_DECLSPEC int opal_hash_table_get_value_ptr(opal_hash_table_t *table, const
* @param table The input hash table (IN).
* @param key The input key (IN).
* @param value The value to be associated with the key (IN).
* @return OMPI return code.
* @return OPAL return code.
*
*/
@ -198,7 +198,7 @@ OPAL_DECLSPEC int opal_hash_table_set_value_ptr(opal_hash_table_t *table, const
*
* @param table The input hash table (IN).
* @param key The input key (IN).
* @return OMPI return code.
* @return OPAL return code.
*
*/
@ -223,7 +223,7 @@ OPAL_DECLSPEC int opal_hash_table_remove_value_ptr(opal_hash_table_t *table, con
* @param node The pointer to the hash table internal node which stores
* the key-value pair (this is required for subsequent calls
* to get_next_key) (OUT)
* @return OMPI error code
* @return OPAL error code
*
*/
@ -241,7 +241,7 @@ OPAL_DECLSPEC int opal_hash_table_get_first_key_uint32(opal_hash_table_t *table,
* @param out_node The pointer to the hash table internal node which stores
* the key-value pair (this is required for subsequent calls
* to get_next_key) (OUT)
* @return OMPI error code
* @return OPAL error code
*
*/
@ -259,7 +259,7 @@ OPAL_DECLSPEC int opal_hash_table_get_next_key_uint32(opal_hash_table_t *table,
* @param node The pointer to the hash table internal node which stores
* the key-value pair (this is required for subsequent calls
* to get_next_key) (OUT)
* @return OMPI error code
* @return OPAL error code
*
*/
@ -277,7 +277,7 @@ OPAL_DECLSPEC int opal_hash_table_get_first_key_uint64(opal_hash_table_t *table,
* @param out_node The pointer to the hash table internal node which stores
* the key-value pair (this is required for subsequent calls
* to get_next_key) (OUT)
* @return OMPI error code
* @return OPAL error code
*
*/

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 The University of Tennessee and The University
@ -57,7 +57,7 @@ OPAL_DECLSPEC OBJ_CLASS_DECLARATION(opal_value_array_t);
*
* @param array The array to initialize (IN).
* @param item_size The sizeof each array element (IN).
* @return OMPI error code
* @return OPAL error code
*
* Note that there is no corresponding "finalize" function -- use
* OBJ_DESTRUCT (for stack arrays) or OBJ_RELEASE (for heap arrays) to
@ -79,7 +79,7 @@ static inline int opal_value_array_init(opal_value_array_t *array, size_t item_s
*
* @param array The input array (IN).
* @param size The anticipated size of the array (IN).
* @return OMPI error code.
* @return OPAL error code.
*/
static inline int opal_value_array_reserve(opal_value_array_t* array, size_t size)
@ -117,7 +117,7 @@ static inline size_t opal_value_array_get_size(opal_value_array_t* array)
* @param array The input array (IN).
* @param size The new array size.
*
* @return OMPI error code.
* @return OPAL error code.
*
* Note that resizing the array to a smaller size may not change
* the underlying memory allocated by the array. However, setting
@ -192,7 +192,7 @@ static inline void* opal_value_array_get_item(opal_value_array_t *array, size_t
* @param item_value A pointer to the item, which is copied into
* the array.
*
* @return OMPI error code.
* @return OPAL error code.
*
* It is safe to free the item after returning from this call; it is
* copied into the array by value.
@ -216,7 +216,7 @@ static inline int opal_value_array_set_item(opal_value_array_t *array, size_t it
* @param item A pointer to the item to append, which is copied
* into the array.
*
* @return OMPI error code
* @return OPAL error code
*
* This will grow the array if it is not large enough to contain the
* item. It is safe to free the item after returning from this call;
@ -236,7 +236,7 @@ static inline int opal_value_array_append_item(opal_value_array_t *array, const
* @param item_index The index to remove, which must be less than
* the current array size (IN).
*
* @return OMPI error code.
* @return OPAL error code.
*
* All elements following this index are shifted down.
*/

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -20,8 +20,8 @@
* List of supported architectures
*/
#ifndef OMPI_SYS_ARCHITECTURE_H
#define OMPI_SYS_ARCHITECTURE_H
#ifndef OPAL_SYS_ARCHITECTURE_H
#define OPAL_SYS_ARCHITECTURE_H
/* Architectures */
#define OMPI_UNSUPPORTED 0000
@ -43,4 +43,4 @@
#define OMPI_PPC_LINUX 1002 /* Linux on PowerPC */
#define OMPI_AIX 1003 /* AIX on Power / PowerPC */
#endif /* #ifndef OMPI_SYS_ARCHITECTURE_H */
#endif /* #ifndef OPAL_SYS_ARCHITECTURE_H */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -22,8 +22,8 @@
*
*/
#ifndef OMPI_SYS_CACHE_H
#define OMPI_SYS_CACHE_H 1
#ifndef OPAL_SYS_CACHE_H
#define OPAL_SYS_CACHE_H 1
/**
* Size of cache line.
@ -33,4 +33,4 @@
#define CACHE_LINE_SIZE 128
#endif /* OMPI_SYS_CACHE_H */
#endif /* OPAL_SYS_CACHE_H */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -20,8 +20,8 @@
* gathered by configure.
*/
#ifndef OMPI_STDINT_H
#define OMPI_STDINT_H 1
#ifndef OPAL_STDINT_H
#define OPAL_STDINT_H 1
/*
* Include what we can and define what is missing.
@ -187,5 +187,5 @@ typedef unsigned long long uintptr_t;
#endif /* ifndef SIZE_MAX */
#endif /* OMPI_STDINT_H */
#endif /* OPAL_STDINT_H */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -23,8 +23,8 @@
* these routines are used by both the OOB and the registry.
*/
#ifndef OMPI_MCA_BASE_MSGBUF_H
#define OMPI_MCA_BASE_MSGBUF_H
#ifndef OPAL_MCA_BASE_MSGBUF_H
#define OPAL_MCA_BASE_MSGBUF_H
/**************************************************************************/
@ -184,4 +184,4 @@ OPAL_DECLSPEC int mca_base_msgbuf_unpack_string (mca_base_msgbuf_t bufid, char*
#define MCA_BASE_MSGBUF_BADPARM -2014 /* other parameters are bad/invalid pointers */
#define MCA_BASE_MSGBUF_BADDATA -2015 /* to/from data addr is bad (null etc) */
#endif /* OMPI_MCA_BASE_MSGBUF_H */
#endif /* OPAL_MCA_BASE_MSGBUF_H */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -23,8 +23,8 @@
* these routines are used by both the OOB and the registry.
*/
#ifndef OMPI_MCA_BASE_MSGBUF_INTERNAL_H
#define OMPI_MCA_BASE_MSGBUF_INTERNAL_H
#ifndef OPAL_MCA_BASE_MSGBUF_INTERNAL_H
#define OPAL_MCA_BASE_MSGBUF_INTERNAL_H
/*
@ -62,4 +62,4 @@ struct mca_base_msgbuffer_s {
};
#endif /* OMPI_MCA_BASE_MSGBUF_INTERNAL_H */
#endif /* OPAL_MCA_BASE_MSGBUF_INTERNAL_H */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 The University of Tennessee and The University
@ -55,8 +55,8 @@
* itself; it should not be required by any other Open MPI entities.
*/
#ifndef OMPI_MCA_BASE_PARAM_H
#define OMPI_MCA_BASE_PARAM_H
#ifndef OPAL_MCA_BASE_PARAM_H
#define OPAL_MCA_BASE_PARAM_H
#include "opal_config.h"
@ -818,4 +818,4 @@ extern "C" {
}
#endif
#endif /* OMPI_MCA_BASE_PARAM_H */
#endif /* OPAL_MCA_BASE_PARAM_H */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 The University of Tennessee and The University
@ -29,8 +29,8 @@
* to generate internal documentation (by default, it is skipped).
*/
#ifndef OMPI_MCA_BASE_PARAM_INTERNAL_H
#define OMPI_MCA_BASE_PARAM_INTERNAL_H
#ifndef OPAL_MCA_BASE_PARAM_INTERNAL_H
#define OPAL_MCA_BASE_PARAM_INTERNAL_H
#include "opal_config.h"
@ -63,7 +63,7 @@ typedef union {
* default value.
*/
struct mca_base_param_t {
/** Allow this to be an OMPI OBJ */
/** Allow this to be an OPAL OBJ */
opal_object_t mbp_super;
/** Enum indicating the type of the parameter (integer or string) */
@ -127,7 +127,7 @@ OPAL_DECLSPEC OBJ_CLASS_DECLARATION(mca_base_param_t);
* Structure for holding param names and values read in from files.
*/
struct mca_base_param_file_value_t {
/** Allow this to be an OMPI OBJ */
/** Allow this to be an OPAL OBJ */
opal_list_item_t super;
/** Parameter name */
@ -166,4 +166,4 @@ OPAL_DECLSPEC int mca_base_parse_paramfile(const char *paramfile);
}
#endif
#endif /* OMPI_MCA_BASE_PARAM_INTERNAL_H */
#endif /* OPAL_MCA_BASE_PARAM_INTERNAL_H */

Просмотреть файл

@ -21,8 +21,8 @@
* Top-level interface for \em all MCA components.
*/
#ifndef OMPI_MCA_H
#define OMPI_MCA_H
#ifndef OPAL_MCA_H
#define OPAL_MCA_H
#include "opal_config.h"
@ -197,4 +197,4 @@ enum {
/**< Maximum error code. */
};
#endif /* OMPI_MCA_H */
#endif /* OPAL_MCA_H */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 The University of Tennessee and The University
@ -142,7 +142,7 @@ typedef void (opal_mem_hooks_callback_fn_t)(void *buf, size_t length,
* invoked.
*
* @retval OPAL_SUCCESS The registration completed successfully.
* @retval OMPI_EXISTS The function is already registered and will not
* @retval OPAL_EXISTS The function is already registered and will not
* be registered again.
* @retval OPAL_ERR_NOT_SUPPORTED There are no hooks available for
* receiving callbacks when memory is to be allocated
@ -162,7 +162,7 @@ OPAL_DECLSPEC int opal_mem_hooks_register_alloc(opal_mem_hooks_callback_fn_t *fu
* invoked.
*
* @retval OPAL_SUCCESS The registration completed successfully.
* @retval OMPI_EXISTS The function is already registered and will not
* @retval OPAL_EXISTS The function is already registered and will not
* be registered again.
* @retval OPAL_ERR_NOT_SUPPORTED There are no hooks available for
* receiving callbacks when memory is to be released

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -204,7 +204,7 @@ OPAL_DECLSPEC int opal_argv_delete(int *argc, char ***argv,
* @param source The argv to copy tokens from
*
* @retval OPAL_SUCCESS upon success
* @retval OMPI_BAD_PARAM if any parameters are non-sensical
* @retval OPAL_BAD_PARAM if any parameters are non-sensical
*
* This function takes one arg and inserts it in the middle of
* another. The first token in source will be insertted at index

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -482,14 +482,14 @@ extern "C" {
* @retval num Number of instances (to include 0) of a given potion
* found during opal_cmd_line_parse().
*
* @retval OMPI_ERR If the command line option was not found during
* @retval OPAL_ERR If the command line option was not found during
* opal_cmd_line_parse(), or opal_cmd_line_parse() was not invoked on
* this handle.
*
* This function should only be called after opal_cmd_line_parse().
*
* The function will return the number of instances of a given option
* (either by its short or long name) -- to include 0 -- or OMPI_ERR if
* (either by its short or long name) -- to include 0 -- or OPAL_ERR if
* either the option was not specified as part of the OPAL command line
* handle, or opal_cmd_line_parse() was not invoked on this handle.
*/

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 The University of Tennessee and The University
@ -63,12 +63,12 @@ extern "C" {
* @param out The output int value.
* @param want_check Whether to check for truncation or not
*
* @returns OMPI_SUCESS If all went well
* @returns OMPI_NOT_SUPPORTED if the size_t value was truncated
* @returns OPAL_SUCESS If all went well
* @returns OPAL_NOT_SUPPORTED if the size_t value was truncated
*
* The conversion will always occur. However, if the size_t value was
* truncated (i.e., sizeof(size_t) > sizeof(int), and the cast down to
* the int actually changed the value), OMPI_NOT_SUPPORTED will be
* the int actually changed the value), OPAL_NOT_SUPPORTED will be
* returned.
*
* On platforms where sizeof(size_t) <= sizeof(int), this function

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -58,4 +58,4 @@ OPAL_DECLSPEC int opal_few(char *argv[], int *status);
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
#endif /* OMPI_FEW_H */
#endif /* OPAL_FEW_H */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -26,8 +26,8 @@
/*
* THIS FILE CANNOT INCLUDE ANY OTHER OPAL HEADER FILES!!!
*
* It is included via <ompi_config_bottom.h>. Hence, it should not
* include ANY other files, nor should it include "ompi_config.h".
* It is included via <opal_config_bottom.h>. Hence, it should not
* include ANY other files, nor should it include "opal_config.h".
*
*/

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -19,8 +19,8 @@
* @file
*/
#ifndef OMPI_NUMTOSTR_UTIL
#define OMPI_NUMTOSTR_UTIL
#ifndef OPAL_NUMTOSTR_UTIL
#define OPAL_NUMTOSTR_UTIL
#include "opal_config.h"
/**
@ -42,4 +42,4 @@ OPAL_DECLSPEC char* opal_ltostr(long num);
*/
OPAL_DECLSPEC char* opal_dtostr(double num);
#endif /* OMPI_NUMTOSTR_UTIL */
#endif /* OPAL_NUMTOSTR_UTIL */

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -66,10 +66,10 @@ extern "C" {
* @param env The environment to use
*
* @retval OPAL_ERR_OUT_OF_RESOURCE If internal malloc() fails.
* @retval OMPI_EXISTS If the name already exists in \em env and
* @retval OPAL_EXISTS If the name already exists in \em env and
* \em overwrite is false (and therefore the \em value was not
* saved in \em env)
* @retval OMPI_SUCESS If the value replaced another value or is
* @retval OPAL_SUCESS If the value replaced another value or is
* appended to \em env.
*
* \em env is expected to be a NULL-terminated array of pointers

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2007 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
@ -18,8 +18,8 @@
* @file
*/
#ifndef OMPI_STACKTRACE_H
#define OMPI_STACKTRACE_H
#ifndef OPAL_STACKTRACE_H
#define OPAL_STACKTRACE_H
#include "opal_config.h"
@ -39,4 +39,4 @@
*/
OPAL_DECLSPEC int opal_util_register_stackhandlers (void);
#endif /* OMPI_STACKTRACE_H */
#endif /* OPAL_STACKTRACE_H */