Received: (from listserv@localhost) by antares.mcs.anl.gov (8.6.10/8.6.10) id PAA09390 for mpi-core-out; Fri, 26 Mar 1999 15:39:19 -0600 Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by antares.mcs.anl.gov (8.6.10/8.6.10) with ESMTP id PAA09384 for ; Fri, 26 Mar 1999 15:39:12 -0600 Received: from East.Sun.COM ([129.148.1.241]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id NAA06084; Fri, 26 Mar 1999 13:39:00 -0800 (PST) Received: from caja.East.Sun.COM by East.Sun.COM (SMI-8.6/SMI-5.3) id QAA13081; Fri, 26 Mar 1999 16:38:51 -0500 Received: from caja (caja [129.148.180.111]) by caja.East.Sun.COM (8.8.8+Sun/8.8.8) with SMTP id QAA05742; Fri, 26 Mar 1999 16:38:51 -0500 (EST) Message-Id: <199903262138.QAA05742@caja.East.Sun.COM> Date: Fri, 26 Mar 1999 16:38:51 -0500 (EST) From: Nicholas Nevin - Sun HPC High Performance Computing Reply-To: Nicholas Nevin - Sun HPC High Performance Computing Subject: Re: clarification on inter-language interoperability of attributes To: snir@us.ibm.com Cc: mpi-core@mcs.anl.gov MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: WbB7DRyFXc8swew+ZeC6PA== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Sender: owner-mpi-core@mcs.anl.gov Precedence: bulk X-UIDL: c82b6f57a1f27dc15c85dae716517f1a > From: snir@us.ibm.com > X-Lotus-FromDomain: IBMUS > To: Nicholas Nevin - Sun HPC High Performance Computing > cc: gropp@mcs.anl.gov, mpi-core@mcs.anl.gov > Date: Fri, 26 Mar 1999 16:20:21 -0500 > Subject: Re: clarification on inter-language interoperability of attributes > Content-Disposition: inline > > > MPI_xxx_get_attr returns a void* value in "attr". If the attribute you accessed > is a Fortran attribute then (int*)attr will point to an INTEGER. > MPI_ADDRESS_KIND is irrelevant. > > > I'm afraid I have to disagree. MPI_ADDRESS_KIND is relevant. Here is the binding for MPI_COMM_SET_ATTR. MPI_COMM_SET_ATTR(COMM, COMM_KEYVAL, ATTRIBUTE_VAL, IERROR) INTEGER COMM, COMM_KEYVAL, IERROR INTEGER(KIND=MPI_ADDRESS_KIND) ATTRIBUTE_VAL ^^^^^^^^^^^^^^^^ ????? -nick