Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2051 closed Bugs (fixed)

Improper argument order in mpi::scatter.

Reported by: Erik Zeek <zeekec@…> Owned by: Douglas Gregor
Milestone: To Be Determined Component: mpi
Version: Boost 1.35.0 Severity: Problem
Keywords: mpi scatter Cc:

Description

I've encountered an error with mpi::scatter for scattering multiple elements to each process. The arguments for scatter_impl are in the wrong order. The attached code fails to compile with boost 1.35.0, but the attached patch fixes it.

Attachments (2)

mpi_scatter.cpp (896 bytes ) - added by Erik Zeek <zeekec@…> 14 years ago.
Test program.
scatter.patch (548 bytes ) - added by Erik Zeek <zeekec@…> 14 years ago.
Proposed patch.

Download all attachments as: .zip

Change History (4)

by Erik Zeek <zeekec@…>, 14 years ago

Attachment: mpi_scatter.cpp added

Test program.

by Erik Zeek <zeekec@…>, 14 years ago

Attachment: scatter.patch added

Proposed patch.

comment:1 by Douglas Gregor, 14 years ago

Resolution: fixed
Status: newclosed

(In [46695]) Fix mpi::scatter arguments, from Erik Zeek. Fixes #2051

comment:2 by Douglas Gregor, 14 years ago

(In [46696]) Fix mpi::scatter arguments, from Erik Zeek. Fixes #2051

Note: See TracTickets for help on using tickets.