From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54076 invoked by alias); 31 Mar 2018 19:12:44 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 54066 invoked by uid 89); 31 Mar 2018 19:12:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,GIT_PATCH_2,HTML_MESSAGE,KAM_LINEPADDING,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS,UNSUBSCRIBE_BODY autolearn=ham version=3.3.2 spammy=weather, manually, 20214, regularly X-HELO: mail-lf0-f45.google.com Received: from mail-lf0-f45.google.com (HELO mail-lf0-f45.google.com) (209.85.215.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 31 Mar 2018 19:12:39 +0000 Received: by mail-lf0-f45.google.com with SMTP id g203-v6so16132333lfg.11 for ; Sat, 31 Mar 2018 12:12:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5AaNBrI/zj3n38EYWgXvdxcjwy5YDnESH+NaBhJ646A=; b=sJoOPXeK+zBrG0aiXfsh1Ukj/7qZTpHByQLlhgsh7lFBQMvlkC5Xea110Nd/4NH9wm j8mZgWF4kKO+1+8xaxjD9Xw2DUJc3Jg3A73DnRuVw433iWMfIgk9Z4coxj2V5ltzY/L5 zGU+iVDhymuDcHMteKcBlKd1/gdVBt/kZygSgEzFOZSxN+ZjYNnM5o4mpRgNrk5aH9Pb dfspzvlKTZ+KTnXz6GfyQRQX1bazfciJ93o94hIIrKmRzdZYaZ1YKDOmZJGkMULbhczd hdCRB/y7hXrZIFz56asCF1sZCO7P6l+HSCgypAMgIoByyIlL4PBmdcw/TjNVjTa5Yk2K v+hQ== X-Gm-Message-State: ALQs6tCqTdyuWZ2awaVFs9vgAhW/OoDaVKcSdP3gy0dfDuQ97Fkg2nf6 MXiHG5O2wZCHYsqPpIiIbjumvrndsSjUoNOHsCFRxA== X-Google-Smtp-Source: AIpwx4+ul3Mj4xiTN07QkyQQKeSyOsQgn2NhnrBPWMNty+cM3MIpO+Ih7twIA5C8NHe1yvPt3+YCN8nkPs+E5Yif5MU= X-Received: by 2002:a19:7385:: with SMTP id h5-v6mr2328474lfk.67.1522523556527; Sat, 31 Mar 2018 12:12:36 -0700 (PDT) MIME-Version: 1.0 References: <1522457085.31631.ezmlm@gcc.gnu.org> In-Reply-To: <1522457085.31631.ezmlm@gcc.gnu.org> From: Zaak Beekman Date: Sat, 31 Mar 2018 19:12:00 -0000 Message-ID: Subject: Re: Coarrays in Debian Testing. To: fortran@gcc.gnu.org Cc: Toon Moene , "Gerald \"Jerry\" DeLisle" , Damian Rouson Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-03/txt/msg00213.txt.bz2 Hi Toon et al., FYI, I'm not sure how up-to-date thos debian packages are. We have worked with the Debian package maintainer in the past but I'm not sure if they regularly create .debs for our releases through an automated system, or if someone needs to manually update the .debs. I would be curious to know: 1) which version they have (try running `caf --version` assuming they package the caf wrapper script) and 2) how you make out running it. Most tests that Jerry pointed to you are in the form of stand alone fortran programs that will print "Test passed." if there are no test failures. Stay away from the integration tests because those are more complicated to build. https://github.com/sourceryinstitute/OpenCoarrays/tree/master/src/tests/uni= t is the best place to start and https://github.com/sourceryinstitute/OpenCoarrays/tree/master/src/tests/reg= ression/reported but be aware that some tests require certain MPI features and some tests are only compatible with GFortran >=3D 7 or GFortran >=3D 8. (e.g., failed imag= es needs experimental MPIX routines only implemented in MPICH >=3D 3.2 and ev= en then, there is an MPICH bug that Andre fixed which was merged with master but is not in any release yet that can cause some other tests to fail.) There is also an effort started to get an RPM package into fedora. Anyone who wants to take a look or offer advice should check out https://bugzilla.redhat.com/show_bug.cgi?id=3D1560874 Best, Zaak On Fri, Mar 30, 2018 at 8:45 PM wrote: > > fortran Digest 31 Mar 2018 00:44:45 -0000 Issue 4644 > > Topics (messages 50150 through 50154): > > Re: [patch, fortran] Fix PR 85111, some more zero size stuff > 50150 by: Jerry DeLisle > > [patch, fortran, testsuite, committed] Remove illegal code from > substr_6.f90 > 50151 by: Thomas Koenig > > Coarrays in Debian Testing. > 50152 by: Toon Moene > 50153 by: Jerry DeLisle > > Patching the GCC build system to build MPICH and OpenCoarrays > 50154 by: Damian Rouson > > Administrivia: > > To subscribe to the digest, e-mail: > fortran-digest-subscribe@gcc.gnu.org > > To unsubscribe from the digest, e-mail: > fortran-digest-unsubscribe@gcc.gnu.org > > To post to the list, e-mail: > fortran@gcc.gnu.org > > > ---------------------------------------------------------------------- > > > > ---------- Forwarded message ---------- > From: Jerry DeLisle > To: Thomas Koenig , "fortran@gcc.gnu.org" < > fortran@gcc.gnu.org>, gcc-patches > Cc: > Bcc: > Date: Thu, 29 Mar 2018 19:30:47 -0700 > Subject: Re: [patch, fortran] Fix PR 85111, some more zero size stuff > On 03/29/2018 11:07 AM, Thomas Koenig wrote: > > Hello world, > > > > the attached patch fixes PR 85111, a regression introduced with my > > recent simplification patches. Seems like the zero-size saga > > has yet another chapter :-) > > > > Regression-tested. OK for trunk? > > > > Looks OK, > > Thanks, > > Jerry > > Regards > > > > Thomas > > > > 2017-03-29 Thomas Koenig > > > > PR fortran/85111 > > * array.c (gfc_resolve_character_array_constructor): Early > > exit for zero-size arrays. > > * simplify.c (simplify_transformation_to_array): Exit early > > if the result size is zero. > > (simplify_minmaxloc_to_array): Likewise. > > > > 2017-03-29 Thomas Koenig > > > > PR fortran/85111 > > * gfortran.dg/zero_sized_10.f90: New test. > > > > > ---------- Forwarded message ---------- > From: Thomas Koenig > To: "fortran@gcc.gnu.org" , gcc-patches < > gcc-patches@gcc.gnu.org> > Cc: > Bcc: > Date: Fri, 30 Mar 2018 14:18:42 +0200 > Subject: [patch, fortran, testsuite, committed] Remove illegal code from > substr_6.f90 > Hello world, > > F2003, 6.1.1. "Substrings" states that > > Both the starting point and the ending > point shall be within the range 1, 2, ..., n unless the starting point > exceeds the ending point, in which > case the substring has length zero. > > The attached patch, which corrects the test case, has > been committed as obvious. > > What's left is the accepts-invalid bug. > > Regards > > Thomas > > 2018-03-30 Thomas Koenig > > PR fortran/85130 > * gfortran.dg/substr_6.f90: Remove illegal test for > out-of-bounds substring. > > > > ---------- Forwarded message ---------- > From: Toon Moene > To: gfortran > Cc: > Bcc: > Date: Fri, 30 Mar 2018 16:19:29 +0200 > Subject: Coarrays in Debian Testing. > I just noticed that the following packages were available in Debian > Testing: > > libcaf-mpi2 - Co-Array Fortran libraries for gfortran > libcoarrays-dev - Co-Array Fortran libraries for gfortran - development > files > open-coarrays-bin - Executables for running Co-Array Fortran programs > > so I installed them. > > Are there any test programs to test this Debian installation (before I > am going proclaim them "useful" ?) > > Thanks in advance, > > -- > Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290 > <+31%20346%20214%20290> > Saturnushof 14, 3738 XG Maartensdijk, The Netherlands > At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/ > Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news > > > > ---------- Forwarded message ---------- > From: Jerry DeLisle > To: Toon Moene , gfortran > Cc: > Bcc: > Date: Fri, 30 Mar 2018 10:03:32 -0700 > Subject: Re: Coarrays in Debian Testing. > On 03/30/2018 07:19 AM, Toon Moene wrote: > > I just noticed that the following packages were available in Debian > > Testing: > > > > libcaf-mpi2 - Co-Array Fortran libraries for gfortran > > libcoarrays-dev - Co-Array Fortran libraries for gfortran - development > > files > > open-coarrays-bin - Executables for running Co-Array Fortran programs > > > > so I installed them. > > > > Are there any test programs to test this Debian installation (before I > > am going proclaim them "useful" ?) > > > > Thanks in advance, > > > > Go here and look in these test directories: > > https://github.com/sourceryinstitute/OpenCoarrays/tree/master/src/tests > > There are examples of pde solvers etc. > > Jerry > > > > ---------- Forwarded message ---------- > From: Damian Rouson > To: GCC Development , gfortran > Cc: Daniel Celis Garza , Jerry DeLisle < > jvdelisle@charter.net>, "Filippone, Salvatore" < > salvatore.filippone@cranfield.ac.uk> > Bcc: > Date: Fri, 30 Mar 2018 17:44:37 -0700 > Subject: Patching the GCC build system to build MPICH and OpenCoarrays > All, > > Jerry DeLisle, Daniel Celis Garza, and I would greatly appreciate feedback > on our approach to patching the GCC build system to build MPICH and > OpenCoarrays after it builds gfortran (gfortran requires MPI and > OpenCoarrays to support the parallel features of Fortran 2008 and Fortran > 2018). A diff of our work relative to the GCC trunk is at > http://bit.ly/2pQuzvS. Our steps so far include the following: > > 1. Jerry wrote an autotools build system for OpenCoarrays (on the > OpenCoarrays issue-343-gnu-build branch.) > 2. Jerry got MPICH and OpenCoarrays tar balls onto the GCC ftp server. > 3. I modified GCC=E2=80=99s contrib/download_prerequisites script to down= load the > tar balls. > 4. Daniel edited GCC=E2=80=99s Makefile.def, config.ac, and Makefile.tpl = to > incorporate MPICH. > > Our current issue is that the Makefile produced as follows doesn=E2=80=99= t create > the desired =E2=80=9Cmpi" directory: > > git clone -b build-mpich https://github.com/sourceryinstitute/gcc > mkdir -p gcc/build > cd gcc/build > ../configure --disable-bootstrap --enable-languages=3Dfortran > > whereupon "grep mpi Makefile=E2=80=9D only returns comments and an echo > statement. Ultimately, our desired sequence is to build gfortran, then > build MPICH, and then build OpenCoarrays. All advice is welcome. > > Damian > > > > > > > >