2004-04-21 02:37:46 +04:00
|
|
|
/*
|
2004-11-22 04:38:40 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
* All rights reserved.
|
2004-11-28 23:09:25 +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.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-04-21 02:37:46 +04:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
#ifndef OMPI_OP_PREDEFINED_H
|
|
|
|
#define OMPI_OP_PREDEFINED_H
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
#include "op/op.h"
|
|
|
|
|
2004-06-29 04:02:25 +04:00
|
|
|
/*
|
|
|
|
* Since we have so many of these, and they're all identical except
|
|
|
|
* for the name, use macros to prototype them.
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
2004-06-29 04:02:25 +04:00
|
|
|
#define OMPI_OP_PROTO (void *in, void *out, int *count, MPI_Datatype *dtype)
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
|
|
|
|
/* C integer */
|
|
|
|
|
|
|
|
#define OMPI_OP_HANDLER_C_INTEGER_INTRINSIC(name) \
|
2004-06-29 04:02:25 +04:00
|
|
|
void ompi_mpi_op_##name##_int OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_long OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_short OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_unsigned_short OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_unsigned OMPI_OP_PROTO; \
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
void ompi_mpi_op_##name##_unsigned_long OMPI_OP_PROTO;
|
|
|
|
#if HAVE_LONG_LONG
|
|
|
|
#define OMPI_OP_HANDLER_C_INTEGER_OPTIONAL(name) \
|
|
|
|
void ompi_mpi_op_##name##_long_long_int OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_long_long OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_unsigned_long_long OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_C_INTEGER_OPTIONAL(name)
|
|
|
|
#endif
|
|
|
|
#define OMPI_OP_HANDLER_C_INTEGER(name) \
|
|
|
|
OMPI_OP_HANDLER_C_INTEGER_INTRINSIC(name) \
|
|
|
|
OMPI_OP_HANDLER_C_INTEGER_OPTIONAL(name) \
|
|
|
|
|
|
|
|
/* Fortran integer */
|
2004-06-29 04:02:25 +04:00
|
|
|
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER_INTRINSIC(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_integer OMPI_OP_PROTO;
|
|
|
|
#if OMPI_HAVE_FORTRAN_INTEGER1
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER1(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_integer1 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER1(name)
|
|
|
|
#endif
|
|
|
|
#if OMPI_HAVE_FORTRAN_INTEGER2
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER2(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_integer2 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER2(name)
|
|
|
|
#endif
|
|
|
|
#if OMPI_HAVE_FORTRAN_INTEGER4
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER4(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_integer4 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER4(name)
|
|
|
|
#endif
|
|
|
|
#if OMPI_HAVE_FORTRAN_INTEGER8
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER8(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_integer8 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER8(name)
|
|
|
|
#endif
|
|
|
|
#if OMPI_HAVE_FORTRAN_INTEGER16
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER16(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_integer16 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER16(name)
|
|
|
|
#endif
|
2004-06-29 04:02:25 +04:00
|
|
|
#define OMPI_OP_HANDLER_FORTRAN_INTEGER(name) \
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER_INTRINSIC(name) \
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER1(name) \
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER2(name) \
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER4(name) \
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER8(name) \
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER16(name)
|
2004-06-29 04:02:25 +04:00
|
|
|
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
/* Floating point */
|
|
|
|
|
|
|
|
#define OMPI_OP_HANDLER_FLOATING_POINT_INTRINSIC(name) \
|
2004-06-29 04:02:25 +04:00
|
|
|
void ompi_mpi_op_##name##_float OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_double OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_fortran_real OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_fortran_double_precision OMPI_OP_PROTO; \
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
void ompi_mpi_op_##name##_long_double OMPI_OP_PROTO;
|
|
|
|
#if OMPI_HAVE_FORTRAN_REAL4
|
|
|
|
#define OMPI_OP_HANDLER_FLOATING_POINT_REAL4(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_real4 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_FLOATING_POINT_REAL4(name)
|
|
|
|
#endif
|
|
|
|
#if OMPI_HAVE_FORTRAN_REAL8
|
|
|
|
#define OMPI_OP_HANDLER_FLOATING_POINT_REAL8(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_real8 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_FLOATING_POINT_REAL8(name)
|
|
|
|
#endif
|
|
|
|
#if OMPI_HAVE_FORTRAN_REAL16
|
|
|
|
#define OMPI_OP_HANDLER_FLOATING_POINT_REAL16(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_real16 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_FLOATING_POINT_REAL16(name)
|
|
|
|
#endif
|
|
|
|
#define OMPI_OP_HANDLER_FLOATING_POINT(name) \
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT_INTRINSIC(name) \
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT_REAL4(name) \
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT_REAL8(name) \
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT_REAL16(name) \
|
|
|
|
|
|
|
|
/* Logical */
|
2004-06-29 04:02:25 +04:00
|
|
|
|
|
|
|
#define OMPI_OP_HANDLER_LOGICAL(name) \
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
void ompi_mpi_op_##name##_fortran_logical OMPI_OP_PROTO;
|
2004-06-29 04:02:25 +04:00
|
|
|
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
/* Complex */
|
|
|
|
|
|
|
|
#define OMPI_OP_HANDLER_COMPLEX_INTRINSIC(name) \
|
2005-10-12 06:31:28 +04:00
|
|
|
void ompi_mpi_op_##name##_fortran_complex OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_fortran_double_complex OMPI_OP_PROTO;
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
#if OMPI_HAVE_FORTRAN_REAL4
|
|
|
|
#define OMPI_OP_HANDLER_COMPLEX8(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_complex8 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_COMPLEX8(name)
|
|
|
|
#endif
|
|
|
|
#if OMPI_HAVE_FORTRAN_REAL8
|
|
|
|
#define OMPI_OP_HANDLER_COMPLEX16(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_complex16 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_COMPLEX16(name)
|
|
|
|
#endif
|
|
|
|
#if OMPI_HAVE_FORTRAN_REAL16
|
|
|
|
#define OMPI_OP_HANDLER_COMPLEX32(name) \
|
|
|
|
void ompi_mpi_op_##name##_fortran_complex32 OMPI_OP_PROTO;
|
|
|
|
#else
|
|
|
|
#define OMPI_OP_HANDLER_COMPLEX32(name)
|
|
|
|
#endif
|
2004-06-29 04:02:25 +04:00
|
|
|
#define OMPI_OP_HANDLER_COMPLEX(name) \
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_COMPLEX_INTRINSIC(name) \
|
|
|
|
OMPI_OP_HANDLER_COMPLEX8(name) \
|
|
|
|
OMPI_OP_HANDLER_COMPLEX16(name) \
|
|
|
|
OMPI_OP_HANDLER_COMPLEX32(name)
|
|
|
|
|
|
|
|
/* Byte */
|
2004-06-29 04:02:25 +04:00
|
|
|
|
|
|
|
#define OMPI_OP_HANDLER_BYTE(name) \
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
void ompi_mpi_op_##name##_byte OMPI_OP_PROTO;
|
|
|
|
|
|
|
|
/* "2 type" */
|
2004-06-29 04:02:25 +04:00
|
|
|
|
2004-07-13 19:20:46 +04:00
|
|
|
#define OMPI_OP_HANDLER_2TYPE(name) \
|
|
|
|
void ompi_mpi_op_##name##_2real OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_2double_precision OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_2integer OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_float_int OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_double_int OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_long_int OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_2int OMPI_OP_PROTO; \
|
|
|
|
void ompi_mpi_op_##name##_short_int OMPI_OP_PROTO; \
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
void ompi_mpi_op_##name##_long_double_int OMPI_OP_PROTO;
|
2004-07-13 19:20:46 +04:00
|
|
|
|
2004-06-29 04:02:25 +04:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_MAX
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(max)
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER(max)
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT(max)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_MIN
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(min)
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER(min)
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT(min)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_SUM
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(sum)
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER(sum)
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT(sum)
|
|
|
|
OMPI_OP_HANDLER_COMPLEX(sum)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_PROD
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(prod)
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER(prod)
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT(prod)
|
|
|
|
OMPI_OP_HANDLER_COMPLEX(prod)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_LAND
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(land)
|
|
|
|
OMPI_OP_HANDLER_LOGICAL(land)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_BAND
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(band)
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER(band)
|
|
|
|
OMPI_OP_HANDLER_BYTE(band)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_LOR
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(lor)
|
|
|
|
OMPI_OP_HANDLER_LOGICAL(lor)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_BOR
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(bor)
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER(bor)
|
|
|
|
OMPI_OP_HANDLER_BYTE(bor)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_LXOR
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(lxor)
|
|
|
|
OMPI_OP_HANDLER_LOGICAL(lxor)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_BXOR
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(bxor)
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER(bxor)
|
|
|
|
OMPI_OP_HANDLER_BYTE(bxor)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_MAXLOC
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_2TYPE(maxloc)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
|
|
|
/**
|
2004-06-29 04:02:25 +04:00
|
|
|
* Handler functions for MPI_MINLOC
|
2004-04-21 02:37:46 +04:00
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_2TYPE(minloc)
|
2004-07-13 19:20:46 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler functions for MPI_REPLACE (only for MPI_ACCUMULATE)
|
|
|
|
*/
|
A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations. These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)
- Add checks in configure for back-end C types for MPI_INTEGER*x and
MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
(between C "*_INT" names and Fortran "*_INT" names). This caused
some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
- "C integer" now includes long long int, long long, and unsigned
long long
- "Fortran integer" now includes MPI_INTEGER*x
- "Floating point" now includes MPI_REAL*x
- "Complex" now includes MPI_COMPLEX*x
This commit was SVN r5511.
2005-04-27 14:23:06 +04:00
|
|
|
OMPI_OP_HANDLER_C_INTEGER(replace)
|
|
|
|
OMPI_OP_HANDLER_FORTRAN_INTEGER(replace)
|
|
|
|
OMPI_OP_HANDLER_FLOATING_POINT(replace)
|
|
|
|
OMPI_OP_HANDLER_LOGICAL(replace)
|
|
|
|
OMPI_OP_HANDLER_COMPLEX(replace)
|
|
|
|
OMPI_OP_HANDLER_BYTE(replace)
|
2004-04-21 02:37:46 +04:00
|
|
|
|
2004-10-18 23:35:54 +04:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
#endif /* OMPI_OP_PREDEFINED_H */
|