#1486 closed Patches (fixed)
SEEK_* defined, but shouldn't be for MPICH2
Reported by: | 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)
Change History (5)
by , 15 years ago
Attachment: | mpiconfig.patch added |
---|
by , 15 years ago
Attachment: | mpiprimitives.patch added |
---|
ingore SEEK_* macros in MPICH2, defined in detail headers
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 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
........
ignore SEEK_* macros in MPICH2, defined in boost/mpi/config.hpp