From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22001 invoked by alias); 3 Apr 2018 14:36:59 -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 21991 invoked by uid 89); 3 Apr 2018 14:36:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,KAM_SHORT,RCVD_IN_BL_SPAMCOP_NET,SPAM_BODY,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=becoming, Alpha, Its, weather X-HELO: mta03.svc.cra.dublin.eircom.net Received: from mta03.svc.cra.dublin.eircom.net (HELO mta03.svc.cra.dublin.eircom.net) (159.134.118.145) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Tue, 03 Apr 2018 14:36:56 +0000 Received: (qmail 27551 messnum 4718682 invoked from network[213.94.190.14/avas02.vendorsvc.cra.dublin.eircom.net]); 3 Apr 2018 14:36:48 -0000 Received: from avas02.vendorsvc.cra.dublin.eircom.net (HELO avas02) (213.94.190.14) by mta03.svc.cra.dublin.eircom.net (qp 27551) with SMTP; 3 Apr 2018 14:36:48 -0000 Received: from mail.sceal.ie ([83.70.207.66]) by Cloudmark Gateway with SMTP id 3N3IfTKW4Bt3b3N3IfmOyF; Tue, 03 Apr 2018 15:36:48 +0100 X-CNFS-Analysis: v=2.2 cv=U5fiNaju c=1 sm=1 tr=0 a=0Iw1gYdl+gX5BU/pizvEUA==:117 a=0Iw1gYdl+gX5BU/pizvEUA==:17 a=IkcTkHD0fZMA:10 a=Kd1tUaAdevIA:10 a=NEAV23lmAAAA:8 a=20KFwNOVAAAA:8 a=mDV3o1hIAAAA:8 a=hOpmn2quAAAA:8 a=TK3SFSyuAAAA:8 a=fke1fuqoAAAA:8 a=Kuxkyv0YAAAA:8 a=vk-uLhB7AAAA:8 a=hW3Bpc0kAAAA:20 a=xNf9USuDAAAA:8 a=Ug2Xn3OAAAAA:8 a=RZD8eA24tVjJhG6qsZoA:9 a=RBorNZcrHvY-CwWN:21 a=aagyQ7eNmkW1JIZc:21 a=QEXdDO2ut3YA:10 a=XddT0sleYZ4A:10 a=rhVDleHTcQgA:10 a=N0dWNLW149QA:10 a=lqMj2sriwWIA:10 a=b-3njcNONIIA:10 a=_FVE-zBwftR9WsbkzFJk:22 a=GyA-uvUxXSCciAkwuKQO:22 a=Jciswc3cPMYXo__lzCVt:22 a=Eg6FPjcU-ZtbgFdfOKLV:22 a=13X9K8Nt-DTixI9DwrnA:22 a=SEwjQc04WA-l_NiBhQ7s:22 a=jup2QEcnA-U7-sUVP0FS:22 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.sceal.ie (Postfix) with ESMTP id 68D9F160658; Tue, 3 Apr 2018 15:36:48 +0100 (IST) Received: from mail.sceal.ie ([127.0.0.1]) by localhost (mail.sceal.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hxhscm9mDBFN; Tue, 3 Apr 2018 15:36:45 +0100 (IST) Received: from AlastairsLaptop.ichec.ie (arcturus.ichec.ie [193.1.243.3]) by mail.sceal.ie (Postfix) with ESMTPSA id 7B7D216028B; Tue, 3 Apr 2018 15:36:45 +0100 (IST) Subject: Re: Coarrays in Debian Testing. To: Zaak Beekman , fortran@gcc.gnu.org Cc: Toon Moene , "Gerald \"Jerry\" DeLisle" , Damian Rouson References: <1522457085.31631.ezmlm@gcc.gnu.org> From: Alastair McKinstry Openpgp: preference=signencrypt Autocrypt: addr=mckinstry@debian.org; keydata= xsFNBFS3qQUBEACtHDt11ptFZUeP8woF0XT3f6g8Jpw7sL6ro8yUmY2gBntsDJ4J5jP8Fu4V Tr6gfrGekkAzy3y+gc5ukbN/bIJGWZsjlSYTEKvZIZlvpvfYJx9M/si8KwSBIpFavIDRw2kW wC9INwD3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7Tl2a06WR2w// ezuxLpLk95INR1jTdRP9EOCNXIS1yov5JWXvsr5s1+/oMC+8ijR9BMBumwpci55B8XbEzt+q 1+//XzZCjuMF2zE9IO1Exrf7XUlGnKolofXwgQTn9PqNB6kxitNoln4xXEZ8fpkw3tyqGMP7 4vV3bx6VbiLGbbjYpQAXVsmHb5rVJ6rAA683kVavhOUUDqnnFicrE/72vM6snWrNSFegMrIh y5ryAMO+pMytukBkyvARZTXl+cjMMKjZwjWu5WmJZPJrE8xXLnSJ6AO7NXASFSt9aTxKAcU3 IvYQPADfxacPf9BR713JrpJmL4qEK3++pA0S18wuuCVZIr69dzgG2P9MZ6mg8AFpc3VAfNof twwhCc9vYzauCyeCadMKb+l6yn1fwm+9gigePwtWZsycdCfckxcPLozbeCCa7VDuXHC+ow52 tpap46JA4PuNVapUYU9QX2nJ/tJFzIlwjlKXbsfEik8JWPe4w4GRBgbRHsjHwnna2PqU1/oB QM6VLkbkVy1HOhWdktE1mIkMqdEMleF9R8QYZN714j0onqotslA0zMeByi81pTj84ocau0M1 4s8ZDXh9GDYZuqTcMW8XESX5d3CIyM4fZR+Rxu7QymhZuz7c/HBqFqN8TLBWdL2XuV/jKJpZ hfaWScA39bDxv0xEDfOhqpRTeKAti64GTYs= Message-ID: Date: Tue, 03 Apr 2018 14:36:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4wfH5jmZk9uwsvRm80ELeDV/r19UI0rSsLzwdWYQDsmcPdzVKriVBnK93Yp9zJx8NLoloWp8f6Rxl+Ev11LVUOiQus/j9RrF0UGAbJJX8yQcJqvMuCjDJU UWHLXL3VhCxnGP0zoiW0adbzy1S+QmnrH8hWB3nyCdHfuvrAUvQ/fXPOZg51phY3Y9uam2SoEHXp2uiVmNOHMxCt1mC7b8iK7NHdOeUrJ5KhbuZ9Obb7VUTY B/gnlsgTBUzhbM39W9xjXe7ZjZ/fQvrl/CO6RlXxoTlde9uJg0iPWIe6R2XbwC+V X-SW-Source: 2018-04/txt/msg00006.txt.bz2 Hi Toon et al, I'm the maintainer of the coarrays package in Debian. (1) They're not automated, though I typically turn around new releases within a week. We have a watch mechanism to check for new releases on the webpage; the=C2=A0 process needs to be manual as it checks for things like new code without copyright and licenses; license changes, etc. (2) Its currently tested against openmpi (2.1.1 ; 3.0) but not mpich. I need to extend the build system to include mpich builds. OpenMPI is the default MPI on all Debian archs at the moment. Its tested against gfortran 7.3.0 ; I have manually tested against 8.0, but not recently (last 2 months). The build procedure runs tests automatically, It fails on Powerpc (Big-Endian) and Alpha archs, but likely to be due to openmpi issues on those builds. Failed image support is not tested because it is not supported in OpenMPI yet. I should examine the gcc build process that uses MPICH and extend it to use OpenMPI as an option, and see whats needed for Failed Images in OpenMPI: having gfortran depend on mpich while openmpi is the default MPI in Debian would be .. unhelpful. regards Alastair On 31/03/2018 20:12, Zaak Beekman wrote: > 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 fortr= an > programs that will print "Test passed." if there are no test failures. St= ay > away from the integration tests because those are more complicated to > build. > https://github.com/sourceryinstitute/OpenCoarrays/tree/master/src/tests/u= nit is > the best place to start and > https://github.com/sourceryinstitute/OpenCoarrays/tree/master/src/tests/r= egression/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 im= ages > needs experimental MPIX routines only implemented in MPICH >=3D 3.2 and = even > 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 feedba= ck >> 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 dow= nload 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= =99t 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 >> >> >> >> >> >> >> >> --=20 Alastair McKinstry, , , https://di= aspora.sceal.ie/u/amckinstry Misentropy: doubting that the Universe is becoming more disordered.=20