From owner-freebsd-ports@freebsd.org Sun Feb 21 21:51:31 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D00B5AB0AC2 for ; Sun, 21 Feb 2016 21:51:31 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A9511C3A for ; Sun, 21 Feb 2016 21:51:30 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x235.google.com with SMTP id b205so132648696wmb.1 for ; Sun, 21 Feb 2016 13:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:cc:reply-to:in-reply-to; bh=CPcH2R0SsQPMtbbyh7W20ZVYHxn4M7bIwM10lQGcVjQ=; b=hM1LmsdwlFnCK84ABjHiVw+VZelJS0D/cUr/Yi7z7GzWFgNR6JgIxgiLnuHK/g2lSn 4I95yoRsMxEGHgNOrg82I7fnR/ZQV2L3jDKm7vGGVMi/joTJNaY5hpwBd2FOFZ5f8LYd pq1iTfCL15WfYF/8qcaLD52c3bp9NgNJXuhrRAG6M1vewMziTmgXzGfFoaohQmcm9VzN varLnfQvwDPgDJPzzv8WzSuEMoZK7/WR6ewndzxrOYviPREeY88EHEOjf5S2BmCiu4G9 RjTTpgRtZiSetdHoptTwMhoVIUx/FevGQLfIgzzBSMz21q/QzUZraupFTvCI4iXmytDb 8Xcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=CPcH2R0SsQPMtbbyh7W20ZVYHxn4M7bIwM10lQGcVjQ=; b=FMRRkwjzeN9btO+Zv7f02LsF87dDWvCFgI6igoFcw41f+w/Lg47L9D3aDRLeSOv3k2 2ZSC44boT4v+qFjc23Z+JzokbT8LTrPwx859rVZnBFwQ1+mS17Abm1DEhkFab2katRUE RR3afIdxaw09Eubx/rlNG8o7QqzUTrAGINKkuvrcB1VygPedQZjFXWxjkvv7U2fXJsTX drmkzHT7eIafOAtk6XAyTJieA4627y9VnW6asf5xcaACqzCAoKy+htQh3zgbrDM2LRMs k+ipLWkJiULxm4+WP/PPWUNdQA5XcR6voaJMWnpqeMAKdSrDfGYLS3Ntop4IG3Mxa5RC O12A== X-Gm-Message-State: AG10YOTCKk+mRM4chtUSLFrCCZt5u3j4dB3o6QvSOR9UKk3thQTA+UgCrIkomrHpD1+HH+Cs X-Received: by 10.194.23.7 with SMTP id i7mr24326301wjf.9.1456091489488; Sun, 21 Feb 2016 13:51:29 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id t205sm18159293wmt.23.2016.02.21.13.51.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Feb 2016 13:51:28 -0800 (PST) Date: Sun, 21 Feb 2016 13:51:28 -0800 (PST) X-Google-Original-Date: Sun, 21 Feb 2016 21:51:27 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u1LLpSbJ085897; Sun, 21 Feb 2016 21:51:28 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u1LLpRBB085896; Sun, 21 Feb 2016 21:51:27 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201602212151.u1LLpRBB085896@mech-as222.men.bris.ac.uk> To: mexas@bris.ac.uk, thierry@FreeBSD.org Subject: Re: help make port for opencoarrays Cc: fortran@freebsd.org, freebsd-ports@freebsd.org, tijl@FreeBSD.org Reply-To: mexas@bris.ac.uk In-Reply-To: <20160221164250.GC2122@graf.pompo.net> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 21:51:32 -0000 >From thierry@pompo.net Sun Feb 21 17:36:47 2016 > >Hello, > >[+ tijl@ to Cc: as maintainer of net/mpich] > >Le mer 17 fév 16 à 23:50:37 +0100, Anton Shterenlikht > écrivait : >> Please help/advise >> >> https://github.com/sourceryinstitute/opencoarrays >> >> It requires mpich built with at least gcc5.3, >> more specifically mpif90 built with gcc5.3 or gcc6. >> net/mpich has FORTRAN_USES=fortran, which I understand >> triggers lang/gcc. >> >> Is it a good idea (or at all possible) to add >> an option to net/mpich to choose a particular >> gcc version? >> >> Any other advice? > >ATM Fortran in FreeBSD is in a very bad shape, and, as you know, we >encounter difficulties with several ports (french/aster, cad/salome, >etc.) caused by a mix between clang and Gcc, and thus libstdc++ / >libc++. My impression over the last several years was actually that GCC on FreeBSD has become very stable, at least on amd64. Building ports with complex dependencies is about how GCC integrated with the ports system. So I'd say Fortran itself is all right. Also, I naively thought that ports which use GCC do not use any part of clang. >If building mpich with a newer Gcc could solve the problem with >opencoarrays, I'm afraid it would cause uncompatibilities in other >dependencies - but unfortunately I cannot suggest a better alternative! Well, I'm only asking for an option in the port. The default will not change. I'll have a go locally and see what happens. But I'm not sure what option to use to build with e.g. GCC6. Is it this line? FORTRAN_USES= fortran Or are you saying that building mpich with non-default gcc is problematic because all its dependencies should be built with the same gcc version? Thanks Anton