Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1486 closed Patches (fixed)

SEEK_* defined, but shouldn't be for MPICH2

Reported by: ben.collins@… Owned by: Douglas Gregor
Milestone: To Be Determined Component: mpi
Version: Boost Development Trunk Severity: Problem
Keywords: mpi, mpich2, mpich Cc: dgregor@…

Description

From the mpich2 faq:

The problem is that both stdio.h and the MPI C++ interface use SEEK_SET, SEEK_CUR, and SEEK_END. This is really a bug in the MPI-2 standard.

MPICH_IGNORE_CXX_SEEK needs to be defined to prevent compiler errors. 4 files in the Boost.MPI library need this change:

./boost/mpi/detail/packed_oprimitive.hpp ./boost/mpi/detail/packed_iprimitive.hpp ./boost/mpi/detail/mpi_datatype_primitive.hpp ./boost/mpi/config.hpp

Patches attached.

Attachments (2)

mpiconfig.patch (342 bytes ) - added by ben.collins@… 15 years ago.
ignore SEEK_* macros in MPICH2, defined in boost/mpi/config.hpp
mpiprimitives.patch (1.2 KB ) - added by ben.collins@… 15 years ago.
ingore SEEK_* macros in MPICH2, defined in detail headers

Download all attachments as: .zip

Change History (5)

by ben.collins@…, 15 years ago

Attachment: mpiconfig.patch added

ignore SEEK_* macros in MPICH2, defined in boost/mpi/config.hpp

by ben.collins@…, 15 years ago

Attachment: mpiprimitives.patch added

ingore SEEK_* macros in MPICH2, defined in detail headers

comment:1 by Douglas Gregor, 15 years ago

Resolution: fixed
Status: newclosed

(In [41802]) Workaround for MPICH to properly deal with SEEK_* constants. Fixes #1486

comment:2 by Eric Niebler, 15 years ago

(In [41915]) Merged revisions 41776-41815 via svnmerge from https://svn.boost.org/svn/boost/trunk

........

r41778 | bgubenko | 2007-12-06 02:47:52 -0800 (Thu, 06 Dec 2007) | 1 line

compute 'result' in to_ulong() as it is done in Boost 1.34

........

r41788 | vladimir_prus | 2007-12-06 08:00:38 -0800 (Thu, 06 Dec 2007) | 2 lines

Add Google Analytics tracking code for the uploaded docs.

........

r41789 | vladimir_prus | 2007-12-06 08:12:01 -0800 (Thu, 06 Dec 2007) | 3 lines

Fix search for html files. Put packages where beta.boost.org can fetch them.

........

r41791 | vladimir_prus | 2007-12-06 08:23:39 -0800 (Thu, 06 Dec 2007) | 1 line

Fix quoting

........

r41795 | dgregor | 2007-12-06 09:17:38 -0800 (Thu, 06 Dec 2007) | 4 lines

Bump VC++ version check to continue applying VC-specific workaround for Visual C++ 9.0. Fixes #1499

........

r41798 | dgregor | 2007-12-06 10:39:06 -0800 (Thu, 06 Dec 2007) | 3 lines

Disable more Visual C++ warnings in Function headers. Fixes #1416

........

r41801 | guwi17 | 2007-12-06 11:21:31 -0800 (Thu, 06 Dec 2007) | 3 lines

  • fix and close #1502
  • the return types were not correct: there was A instead of indirect_array<A>

........

r41802 | dgregor | 2007-12-06 11:22:06 -0800 (Thu, 06 Dec 2007) | 4 lines

Workaround for MPICH to properly deal with SEEK_* constants. Fixes #1486

........

r41805 | t_schwinger | 2007-12-06 13:25:10 -0800 (Thu, 06 Dec 2007) | 3 lines

annotates on msvc 7.1 overload selection bug in function_types example

........

comment:3 by Douglas Gregor, 15 years ago

(In [42031]) Merged fixes for Function, Signals, and MPI from trunk. See #1499, see #1416, see #1486

Note: See TracTickets for help on using tickets.