From dalcinl@XXXXXXXXX Mon Feb 4 15:20:40 2008 Delivered-To: mpifrm-mpi-21-outgoing@XXXXXXXXXXXXXXXXXXXXXXX X-Original-To: mpifrm-mpi-21@XXXXXXXXXXXXXXXXXXXXXXX Delivered-To: mpifrm-mpi-21@XXXXXXXXXXXXXXXXXXXXXXX X-Greylist: delayed 829 seconds by postgrey-1.21 at mailbouncer.mcs.anl.gov; Mon, 04 Feb 2008 15:20:30 CST 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= Date: Mon, 4 Feb 2008 18:06:35 -0300 From: "Lisandro Dalcin" To: mpi-21@XXXXXXXXXXXXX Subject: Re: [mpi-21] Proposal EH2 & MPI_INPLACE Cc: "Hubert Ritzdorf" ,In-Reply-To: <479780D7.5040601@XXXXXXXXXXXX> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080122204024.GA13237@XXXXXXXXXXXXX> <6B68D01C00C9994A8E150183E62A119E6F9BC37A70@XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX> <6B68D01C00C9994A8E150183E62A119E6F9BC37B90@XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX> <6B68D01C00C9994A8E150183E62A119E6F9BC37D77@XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX> <4797133D.20500@XXXXXXXXXXXX> <6B68D01C00C9994A8E150183E62A119E6F9CCDE18F@XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX> <479780D7.5040601@XXXXXXXXXXXX>X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mailbouncer.mcs.anl.gov Sender: owner-mpi-21@XXXXXXXXXXXXX Precedence: bulk Reply-To: mpi-21@XXXXXXXXXXXXX X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mailbouncer.mcs.anl.gov 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 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 > > --=20 Lisandro Dalc=EDn --------------- Centro Internacional de M=E9todos Computacionales en Ingenier=EDa (CIMEC) Instituto de Desarrollo Tecnol=F3gico para la Industria Qu=EDmica (INTEC) Consejo Nacional de Investigaciones Cient=EDficas y T=E9cnicas (CONICET) PTLC - G=FCemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594