1
1

Make things compile (but not link :-)

This commit was SVN r4.
Этот коммит содержится в:
Jeff Squyres 2003-11-22 16:57:54 +00:00
родитель cadf5e6fc7
Коммит 550c12b968
4 изменённых файлов: 18 добавлений и 10 удалений

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

@ -7,7 +7,7 @@
# information, see the LICENSE file in the top level directory of the # information, see the LICENSE file in the top level directory of the
# CMPI source distribution. # CMPI source distribution.
# #
# $Id: configure.ac,v 1.2 2003/11/22 16:40:48 jsquyres Exp $ # $Id: configure.ac,v 1.3 2003/11/22 16:57:54 jsquyres Exp $
# #
@ -94,6 +94,7 @@ AH_TOP([/* -*- c -*-
#ifndef CMPI_CONFIG_H #ifndef CMPI_CONFIG_H
#define CMPI_CONFIG_H #define CMPI_CONFIG_H
]) ])
AH_BOTTOM([#endif /* CMPI_CONFIG_H */])
# What kind of machine are we on? # What kind of machine are we on?
@ -298,9 +299,11 @@ AC_CONFIG_FILES([
src/Makefile src/Makefile
src/include/Makefile src/include/Makefile
src/mpi/Makefile src/mpi/Makefile
src/mpi/communicator/Makefile src/mpi/communicator/Makefile
src/mpi/datatype/Makefile src/mpi/datatype/Makefile
src/tools/Makefile src/tools/Makefile
src/tools/wrappers/Makefile src/tools/wrappers/Makefile

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

@ -7,14 +7,16 @@
# information, see the LICENSE file in the top level directory of the # information, see the LICENSE file in the top level directory of the
# CMPI source distribution. # CMPI source distribution.
# #
# $Id: Makefile.am,v 1.1 2003/11/22 16:36:25 jsquyres Exp $ # $Id: Makefile.am,v 1.2 2003/11/22 16:57:54 jsquyres Exp $
# #
include $(top_srcdir)/config/Makefile.options include $(top_srcdir)/config/Makefile.options
noinst_HEADERS = \ noinst_HEADERS = \
communicator.h \ communicator.h \
datatype.h datatype.h \
group.h \
totalview.h
include_HEADERS = \ include_HEADERS = \
cmpi_config.h \ cmpi_config.h \

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

@ -6,19 +6,20 @@
* information, see the LICENSE file in the top level directory of the * information, see the LICENSE file in the top level directory of the
* CMPI source distribution. * CMPI source distribution.
* *
* $Id: mpi.h,v 1.1 2003/11/22 16:36:25 jsquyres Exp $ * $Id: mpi.h,v 1.2 2003/11/22 16:57:54 jsquyres Exp $
*/ */
#ifndef CMPI_COMMUNICATOR_H #ifndef CMPI_H
#define CMPI_COMMUNICATOR_H #define CMPI_H
#include <cmpi_config.h> #include <cmpi_config.h>
#define MPI_SUCCESS 0 #define MPI_SUCCESS 0
#define MPI_MAX_OBJECT_NAME 64 #define MPI_MAX_OBJECT_NAME 64
typedef int MPI_Comm; typedef struct cmpi_communicator *MPI_Comm;
typedef struct cmpi_group *MPI_Group;
typedef struct cmpi_datatype *MPI_Datatype; typedef struct cmpi_datatype *MPI_Datatype;
extern MPI_Comm MPI_COMM_NULL; extern MPI_Comm MPI_COMM_NULL;
@ -28,4 +29,4 @@ extern MPI_Comm MPI_COMM_SELF;
extern MPI_Datatype MPI_TYPE_NULL; extern MPI_Datatype MPI_TYPE_NULL;
#endif /* CMPI_COMMUNICATOR_H */ #endif /* CMPI_H */

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

@ -6,12 +6,14 @@
* information, see the LICENSE file in the top level directory of the * information, see the LICENSE file in the top level directory of the
* CMPI source distribution. * CMPI source distribution.
* *
* $Id: comm_set_name.c,v 1.1 2003/11/22 16:36:26 jsquyres Exp $ * $Id: comm_set_name.c,v 1.2 2003/11/22 16:57:54 jsquyres Exp $
*/ */
#include <string.h> #include <string.h>
#include <mpi.h> #include <mpi.h>
#include <communicator.h>
#include <totalview.h>
int int