As reported by Paul Hargrove
(http://www.open-mpi.org/community/lists/devel/2013/12/13521.php), OpenBSD-5 #define's MIN and MAX, so we need to #undef them. cmr=v1.7.4:reviewer=rhc:subject=undef MIN and MAX for OpenBSD-5 This commit was SVN r30007.
Этот коммит содержится в:
родитель
090ce4187a
Коммит
4739850931
@ -116,6 +116,16 @@ const Datatype LONG_DOUBLE_COMPLEX((MPI_Datatype)&(ompi_mpi_cxx_ldblcplex));
|
|||||||
Intracomm COMM_WORLD(MPI_COMM_WORLD);
|
Intracomm COMM_WORLD(MPI_COMM_WORLD);
|
||||||
Intracomm COMM_SELF(MPI_COMM_SELF);
|
Intracomm COMM_SELF(MPI_COMM_SELF);
|
||||||
|
|
||||||
|
// Reported by Paul Hargrove: MIN and MAX are defined on OpenBSD, so
|
||||||
|
// we need to #undef them. See
|
||||||
|
// http://www.open-mpi.org/community/lists/devel/2013/12/13521.php.
|
||||||
|
#ifdef MAX
|
||||||
|
#undef MAX
|
||||||
|
#endif
|
||||||
|
#ifdef MIN
|
||||||
|
#undef MIN
|
||||||
|
#endif
|
||||||
|
|
||||||
// collective operations
|
// collective operations
|
||||||
const Op MAX(MPI_MAX);
|
const Op MAX(MPI_MAX);
|
||||||
const Op MIN(MPI_MIN);
|
const Op MIN(MPI_MIN);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user