From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1J3DGH-0000bG-3a for garchives@archives.gentoo.org; Fri, 14 Dec 2007 16:19:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lBEGIlY8017669; Fri, 14 Dec 2007 16:18:47 GMT Received: from smtp2.ist.utl.pt (smtp2.ist.utl.pt [193.136.128.22]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lBEGGmHx015314 for ; Fri, 14 Dec 2007 16:16:48 GMT Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id C9903700039D for ; Fri, 14 Dec 2007 16:16:48 +0000 (WET) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at ist.utl.pt Received: from smtp2.ist.utl.pt ([127.0.0.1]) by localhost (smtp2.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id g-6Y2ao7UUAM for ; Fri, 14 Dec 2007 16:16:48 +0000 (WET) Received: from mail.ist.utl.pt (mail.ist.utl.pt [193.136.128.8]) by smtp2.ist.utl.pt (Postfix) with ESMTP id 7C1977000385 for ; Fri, 14 Dec 2007 16:16:48 +0000 (WET) Received: from [192.168.1.22] (spice.ist.utl.pt [193.136.161.163]) by mail.ist.utl.pt (Postfix) with ESMTP id 5AE621400920 for ; Fri, 14 Dec 2007 16:16:48 +0000 (WET) Message-ID: <4762AC6F.9020206@gentoo.org> Date: Fri, 14 Dec 2007 16:16:47 +0000 From: =?UTF-8?B?U8OpYmFzdGllbiBGYWJicm8=?= User-Agent: Thunderbird 2.0.0.9 (X11/20071120) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/openmpi: ChangeLog openmpi-1.1.1.ebuild openmpi-1.2.4.ebuild References: <20071213091812.GM31432@supernova> <1197627875.24412.2.camel@vega.lnet> <47627362.7050902@gentoo.org> <1197641559.16649.10.camel@vega.lnet> In-Reply-To: <1197641559.16649.10.camel@vega.lnet> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id lBEGIlZn017669 X-Archives-Salt: 182bef16-c52f-4698-8800-65a994db4e83 X-Archives-Hash: c361464bf3fdfed7f37940cc104c2810 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/12/07 14:12, Matthias Langer wrote: > F77=3D"ifort" FC=3D"ifort" FFLAGS=3D"-O3 -xO" emerge -av openmpi This how it should be. To make it automatically reproducible, specify environment variables in the configuration files. > Maybe someone can explain to me what positive side effects the removal > of the ifc USE flag has - and why this flag is generally discouraged. Positive side effect: avoid cluttering the tree. Why icc/ifc are discouraged: you can always try to compile every C/C++ package with CC=3Dicc and fortran packages with F77=3Difort or FC=3Difort. Packages wh= ich do specify more options with e.g. --enable-icc and friends can be easily worked out with the toolchain-funcs and fortran eclass, and most of the time they do nothing more than specify the environment variables. If we allow icc/ifc flags, at some point, we could allow a whole bunch of other compiler flags such as "sunstudio". New keywords for compilers could be a better idea, but I doubt we have the human resources to test them. > The reason it disappeared is that it makes gfortran horribly slow when > compiling against mpi. This is not the case with ifc, and therefore the > old ebuild in bugzilla emitted a bold warning when emerging with > USE=3D"-ifc f90-typesafe" but kept quiet if USE=3D"ifc f90-typesave". T= hus > it *did make sense* to control it with a USE flag, at least with the > "ifc" USE flag being around also. If the f90-typesafe options always improve compilation time with gfortran only, why not using something like this (modified from the openmpi bump bug): if use fortran; then case ${FORTRANC} in g77) myconf=3D"${myconf} --disable-mpi-f90" ;; gfortran) myconf=3D"${myconf} --with-mpi-f90-size=3Dmedium" =09 myconf=3D"${myconf} --with-f90-max-array-dim=3D4" ;; if*) myconf=3D"${myconf} blah" ;; *) die "unsupported fortran compiler: ${FORTRANC}" esac else myconf=3D"${myconf} --disable-mpi-f90 --disable-mpi-f77" fi Let the ebuild make reasonable choices instead of making a user trying to find out about undocumented use flags. - -- S=C3=A9bastien -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHYqxv1ycZbhPLE2ARAlRRAJ9BySHhbxAzLOgJdG4I2L3RpCPPNwCgi8aF v3OgmxW4UZj1Gqf7Pg2vBWE=3D =3DvYF+ -----END PGP SIGNATURE----- --=20 gentoo-dev@gentoo.org mailing list