1
1

Some dependencies cleanups (there were on hold for a while).

This commit was SVN r8425.
Этот коммит содержится в:
George Bosilca 2005-12-09 05:14:18 +00:00
родитель e65e98ca58
Коммит 6fb4ce5e2e
4 изменённых файлов: 12 добавлений и 22 удалений

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

@ -31,7 +31,6 @@
#include "ompi_config.h"
#include "ompi/include/constants.h"
#include "opal/class/opal_object.h"
#include "class/ompi_bitmap.h"
#include "class/opal_hash_table.h"
#include "mca/gpr/gpr_types.h"
@ -173,11 +172,11 @@ int ompi_attr_hash_init(opal_hash_table_t **keyhash)
{
*keyhash = OBJ_NEW(opal_hash_table_t);
if (NULL == keyhash) {
fprintf(stderr, "Error while creating the local attribute list\n");
return MPI_ERR_SYSRESOURCE;
fprintf(stderr, "Error while creating the local attribute list\n");
return MPI_ERR_SYSRESOURCE;
}
if (OMPI_SUCCESS != opal_hash_table_init(*keyhash, ATTR_HASH_SIZE)) {
return MPI_ERR_SYSRESOURCE;
return MPI_ERR_SYSRESOURCE;
}
return MPI_SUCCESS;
@ -498,7 +497,7 @@ int ompi_attr_delete_all(ompi_attribute_type_t type, void *object,
*/
int ompi_attr_create_predefined(void);
struct orte_gpr_notify_data_t;
/**
* \internal
* Callback function to get data from registry and create predefined attributes

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

@ -20,18 +20,13 @@
#define OMPI_COMMUNICATOR_H
#include "opal/class/opal_object.h"
#include "class/opal_hash_table.h"
#include "errhandler/errhandler.h"
#include "opal/threads/mutex.h"
#include "opal/util/output.h"
#include "mpi.h"
#include "group/group.h"
#include "mca/coll/coll.h"
#include "mca/topo/topo.h"
#include "mca/gpr/gpr_types.h"
#include "mca/oob/oob_types.h"
#include "request/request.h"
#include "ompi/proc/proc.h"
#if defined(c_plusplus) || defined(__cplusplus)
@ -105,7 +100,7 @@ struct ompi_communicator_t {
ompi_group_t *c_remote_group;
/* Attributes */
opal_hash_table_t *c_keyhash;
struct opal_hash_table_t *c_keyhash;
/**< inscribing cube dimension */
int c_cube_dim;
@ -113,10 +108,10 @@ struct ompi_communicator_t {
/* Hooks for topo module to hang things */
mca_base_component_t *c_topo_component;
const mca_topo_base_module_1_0_0_t *c_topo;
const struct mca_topo_base_module_1_0_0_t* c_topo;
/**< structure of function pointers */
mca_topo_base_comm_t *c_topo_comm;
struct mca_topo_base_comm_1_0_0_t* c_topo_comm;
/**< structure containing basic information about the topology */
struct mca_topo_base_module_comm_t *c_topo_module;
@ -488,10 +483,10 @@ struct ompi_communicator_t {
*/
struct ompi_comm_disconnect_obj {
ompi_communicator_t *comm;
int size;
ompi_request_t **reqs;
int buf;
ompi_communicator_t *comm;
int size;
struct ompi_request_t **reqs;
int buf;
};
typedef struct ompi_comm_disconnect_obj ompi_comm_disconnect_obj;

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

@ -29,7 +29,6 @@
#include "mpi.h"
#include "datatype/datatype.h"
#include "opal/class/opal_object.h"
#include "class/ompi_pointer_array.h"
#include "mpi/f77/fint_2_int.h"
@ -347,7 +346,7 @@ OMPI_DECLSPEC extern ompi_op_t ompi_mpi_op_replace;
/**
* Table for Fortran <-> C op handle conversion
*/
OMPI_DECLSPEC extern ompi_pointer_array_t *ompi_op_f_to_c_table;
OMPI_DECLSPEC extern struct ompi_pointer_array_t *ompi_op_f_to_c_table;
#if defined(c_plusplus) || defined(__cplusplus)

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

@ -28,8 +28,6 @@
#include "opal/class/opal_list.h"
#include "class/ompi_pointer_array.h"
#include "errhandler/errhandler.h"
#include "opal/runtime/opal_progress.h"
#include "opal/threads/mutex.h"
#include "opal/threads/condition.h"
#if defined(c_plusplus) || defined(__cplusplus)
@ -143,7 +141,6 @@ OMPI_DECLSPEC extern size_t ompi_request_waiting;
OMPI_DECLSPEC extern size_t ompi_request_completed;
OMPI_DECLSPEC extern opal_mutex_t ompi_request_lock;
OMPI_DECLSPEC extern opal_condition_t ompi_request_cond;
OMPI_DECLSPEC extern int ompi_request_poll_iterations;
OMPI_DECLSPEC extern ompi_request_t ompi_request_null;
OMPI_DECLSPEC extern ompi_request_t ompi_request_empty;
OMPI_DECLSPEC extern ompi_status_public_t ompi_status_empty;