[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [mpi-21] Proposal EH2 & MPI_INPLACE
- To: mpi-21@xxxxxxxxxxxxx
- Subject: Re: [mpi-21] Proposal EH2 & MPI_INPLACE
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Mon, 4 Feb 2008 18:06:35 -0300
- Cc: "Hubert Ritzdorf" <ritzdorf@xxxxxxxxxxxx>, "Erez Haba" <erezh@xxxxxxxxxxxxx>
- Delivered-to: mpifrm-mpi-21-outgoing@mailbouncer.mcs.anl.gov
- Delivered-to: mpifrm-mpi-21@mailbouncer.mcs.anl.gov
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=k6BtiycxYZIuz2jwfMEQ1yxvUE2CBM+r9FZJ2OS5kpo=; b=yAC5qx0LZG/yRqFM1V9aI/oyqmy7W9XxiQOdUN4BNUy7MZmZQw/osusXD1twUXdyEDzymAIxJOJjRXohCApDK9TWFMBt6jgx+2T3m4lEW5b37xboWYIJUHtYDO4Gapyb9GaxZlmI6Dew0M8yV5bPQMtVdF00TNXVDdrBg3QobEU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Dxl+CqFA2Ki7V4RxAFdVTdGbh7Xnpre7msoWUjXY/z8JRXmG2Ss/dAf3KlvF1sb6cosj85sKXYSoBXI40lB8FJstjiQ7UhTvOeOAmxh03kgOv/Zj4uFFxz0JY71TQr5eLbCUD56U/xfEZ3wiPjIMNkVcZBuVBrHKrBVym+YcLnI=
- In-reply-to: <479780D7.5040601@it.neclab.eu>
- References: <20080122204024.GA13237@mhdmobile.lan> <6B68D01C00C9994A8E150183E62A119E6F9BC37A70@NA-EXMSG-C105.redmond.corp.microsoft.com> <Pine.LNX.4.58.0801221426120.17348@tux213.llnl.gov> <6B68D01C00C9994A8E150183E62A119E6F9BC37B90@NA-EXMSG-C105.redmond.corp.microsoft.com> <Pine.LNX.4.58.0801221555080.17348@tux213.llnl.gov> <6B68D01C00C9994A8E150183E62A119E6F9BC37D77@NA-EXMSG-C105.redmond.corp.microsoft.com> <4797133D.20500@it.neclab.eu> <6B68D01C00C9994A8E150183E62A119E6F9CCDE18F@NA-EXMSG-C105.redmond.corp.microsoft.com> <479780D7.5040601@it.neclab.eu>
- Reply-to: mpi-21@xxxxxxxxxxxxx
- Sender: owner-mpi-21@xxxxxxxxxxxxx
Please take a look to this... Hubert's usage of aliased buffer
arguments seems to have some issues...
http://www.mpi-forum.org/docs/mpi-20-html/node7.htm
On 1/23/08, Hubert Ritzdorf <ritzdorf@xxxxxxxxxxxx> wrote:
>
>
> Erez Haba wrote:
> > Using the send buffer pointer?
> >
> > Can you give an example?
> >
> >
> If you define 2 derived datatypes send_type and recv_type, which don't
> overlap, you can execute for example MPI_Gather in the following way
>
> {
> int buf[1000];
>
> MPI_Gather (buf, 1, send_type, buf, 1, recv_type, 0, MPI_COMM_WORLD);
>
> ....
>
> }
>
> In this case buf is send and recv buffer of MPI_Gather and
> buf is IN and OUT argument of MPI_Gather in root process 0.
>
>
> Hubert
>
>
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594