From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26668 invoked by alias); 29 Apr 2011 12:49:10 -0000 Received: (qmail 26652 invoked by uid 22791); 29 Apr 2011 12:49:09 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 29 Apr 2011 12:48:55 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/48820] New: TR 29113: Implement parts needed for MPI 3 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 29 Apr 2011 12:49:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg03092.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48820 Summary: TR 29113: Implement parts needed for MPI 3 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: burnus@gcc.gnu.org Blocks: 41897 For MPI 3, the "void *buffer" equivalent "type(*), dimension(..)" is needed; which means essentially all features of the TR 29113 draft except for the new C-binding compatible array descriptor. Latest TR 29113 draft: http://j3-fortran.org/pipermail/interop-tr/2011-April/000582.html Latest MPI 3 draft: http://j3-fortran.org/pipermail/interop-tr/2011-April/000696.html GCC's Status chart http://gcc.gnu.org/wiki/TR29113Status Question: Is -std=gnu enough? Or should there be a -std=TR29113 for F2008+TR29113 or better -std=f2008tr, which includes then all post-2008 TRs, i.e. also the coarray TR? The needed features are: a) OPTIONAL allowed with BIND(C) (unless VALUE) [TR, Section 2.3; trivial!] b) Assumed type: TYPE(*) [TR, Section 2.1] c) Assumed-rank: dimension(..) [TR, Section 2.2] Nice to have: d) RANK intrinsic [TR, Section 4.2] e) Modifications to SIZE, SHAPE and UBOUND [cf. TR, Section 3.4] f) F2008's is_contiguous (which is not yet implemented) Note: (b) and (c) allow to implement a Fortran version of "void *buffer". Additional items from Section 6: - Allow CONTIGUOUS with assumed rank - and update simply-contiguous part