as far as i'm concerned, these types are only valid with the C bindings when a C++ compiler is used. does that solve it?<div><br></div><div>jeff</div><div><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 11:41 AM, Douglas Miller <span dir="ltr"><<a href="mailto:dougmill@us.ibm.com" target="_blank">dougmill@us.ibm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p><font face="sans-serif">I've got to raise a concern here. If we start defining MPI datatypes to be C++ types then how will an implementation support that with only a C compiler? I thought the point of 281 was to eradicate C++ from the standard (and start over later if C++ was to be defined in the standard). </font><br>
<br>
<br>
<font face="sans-serif">_______________________________________________<br>
Douglas Miller BlueGene Messaging Development<br>
IBM Corp., Rochester, MN USA Bldg 030-2 A401<br>
<a href="mailto:dougmill@us.ibm.com" target="_blank">dougmill@us.ibm.com</a> Douglas Miller/Rochester/IBM</font><br>
<br>
<img width="16" height="16" src="cid:1__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Jed Brown ---06/26/2012 11:26:16 AM---Jed Brown <jedbrown@mcs.anl.gov>"><font color="#424282" face="sans-serif">Jed Brown ---06/26/2012 11:26:16 AM---Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></font><br>
<br>
</p><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody><tr valign="top"><td style="background-image:url('cid:2__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com');background-repeat:no-repeat" width="40%">
<ul style="padding-left:72pt"><font size="1" face="sans-serif"><b>Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></b></font><font size="1" face="sans-serif"> </font><br>
<font size="1" face="sans-serif">Sent by: <a href="mailto:mpi-forum-bounces@lists.mpi-forum.org" target="_blank">mpi-forum-bounces@lists.mpi-forum.org</a></font>
<p><font size="1" face="sans-serif">06/26/2012 11:14 AM</font>
</p><table border="1">
<tbody><tr valign="top"><td width="168" bgcolor="#FFFFFF"><div align="center"><font size="1" face="sans-serif">Please respond to<div class="im"><br>
Main MPI Forum mailing list <<a href="mailto:mpi-forum@lists.mpi-forum.org" target="_blank">mpi-forum@lists.mpi-forum.org</a>></div></font></div></td></tr>
</tbody></table>
<p></p></ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody><tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<ul style="padding-left:7pt"><font size="1" face="sans-serif">Main MPI Forum mailing list <<a href="mailto:mpi-forum@lists.mpi-forum.org" target="_blank">mpi-forum@lists.mpi-forum.org</a>>, </font></ul>
</td></tr>
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
</td></tr>
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt=""><div class="im"><br>
<ul style="padding-left:7pt"><font size="1" face="sans-serif">Re: [Mpi-forum] C++ types inaccessible after #281</font></ul>
</div></td></tr>
</tbody></table>
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=09BBF0BADFC8E6D88f9e8a93df938@us.ibm.com" border="0" alt=""></td>
</tr>
</tbody></table>
</td></tr>
</tbody></table><div class="im">
<br>
<font size="3" face="serif">On Tue, Jun 26, 2012 at 6:13 AM, Jeff Squyres <</font><a href="mailto:jsquyres@cisco.com" target="_blank"><font size="3" color="#0000FF" face="serif"><u>jsquyres@cisco.com</u></font></a><font size="3" face="serif">> wrote:</font>
<ul style="padding-left:9pt"><font size="3" face="serif">There are a few C++-specific datatypes for which it would be worth introducing new C datatypes (e.g., MPI_CXX_COMPLEX). It's too bad that no one realized this until now, because this won't make the MPI-3 deadline. But it could be part of MPI-3.1 or errata, or some such.</font></ul>
<br>
</div><font size="3" face="serif">Two people in offline discussions have suggested that C bindings to the std::complex types (I'm not aware of anything else that #281 will lose) might qualify as ticket 0.</font><tt><font>_______________________________________________<br>
mpi-forum mailing list<br>
<a href="mailto:mpi-forum@lists.mpi-forum.org" target="_blank">mpi-forum@lists.mpi-forum.org</a><br>
</font></tt><tt><font><a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum</a></font></tt><br>
<p></p></div>
<br>_______________________________________________<br>
mpi-forum mailing list<br>
<a href="mailto:mpi-forum@lists.mpi-forum.org">mpi-forum@lists.mpi-forum.org</a><br>
<a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeff Hammond<br>
Argonne Leadership Computing Facility<br>University of Chicago Computation Institute<br><a href="mailto:jhammond@alcf.anl.gov" target="_blank">jhammond@alcf.anl.gov</a> / (630) 252-5381<br><a href="http://www.linkedin.com/in/jeffhammond" target="_blank">http://www.linkedin.com/in/jeffhammond</a><br>
<a href="https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond" target="_blank">https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond</a><br>
</div>