From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ojtux-0002lx-P6 for garchives@archives.gentoo.org; Fri, 13 Aug 2010 13:03:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA8F9E080D for ; Fri, 13 Aug 2010 13:03:25 +0000 (UTC) Received: from mx1.d.umn.edu (mx1.d.umn.edu [131.212.109.15]) by pigeon.gentoo.org (Postfix) with ESMTP id B003CE07A0 for ; Fri, 13 Aug 2010 12:21:28 +0000 (UTC) Received: from mxr1.d.umn.edu (mxr1.d.umn.edu [131.212.109.92]) by mx1.d.umn.edu (8.13.8/8.13.8) with ESMTP id o7DCLR8h013461 for ; Fri, 13 Aug 2010 07:21:27 -0500 (CDT) Received: from mxv2.d.umn.edu (mxv2.d.umn.edu [131.212.109.136]) by mxr1.d.umn.edu (8.13.8/8.13.8) with ESMTP id o7DCLRZt028887 for ; Fri, 13 Aug 2010 07:21:27 -0500 (CDT) Received: from smtp.d.umn.edu (mx3.d.umn.edu [131.212.109.40]) by mxv2.d.umn.edu (8.13.8/8.13.8) with ESMTP id o7DCLQjX007614 for ; Fri, 13 Aug 2010 07:21:27 -0500 (CDT) Received: from pavilion64 (71-217-246-218.dlth.qwest.net [71.217.246.218]) (authenticated bits=0) by smtp.d.umn.edu (8.13.8/8.13.8) with ESMTP id o7DCKtRM017705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Aug 2010 07:20:56 -0500 (CDT) Date: Fri, 13 Aug 2010 07:20:45 -0500 From: Steven Trogdon Subject: Re: [gentoo-science] [sage-on-gentoo] fortran scripts To: gentoo-science@lists.gentoo.org In-Reply-To: <201008131034.21870.cschwan@students.uni-mainz.de> (from cschwan@students.uni-mainz.de on Fri Aug 13 03:34:21 2010) X-Mailer: Balsa 2.4.7 Message-Id: <1281702054.7123.0@pavilion64> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=PGP-SHA1; boundary="=-TUXxj3AcZuyBBqEk7ejC" X-Virus-Scanned: clamav-milter 0.96.1 at mxv2.d.umn.edu X-Virus-Status: Clean X-Archives-Salt: 77af8eb9-5608-4964-adec-5927a54fad16 X-Archives-Hash: d208fb256d3209db498c7d165d8aeba1 --=-TUXxj3AcZuyBBqEk7ejC Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 08/13/2010 03:34:21 AM, Christopher Schwan wrote: > Hi, >=20 > On Friday 13 August 2010 00:54:53 Steven Trogdon wrote: >> Hi Christopher, >>=20 >> On 08/12/2010 03:16:44 PM, Christopher Schwan wrote: >> > Hi, >> > >> > On Thursday 12 August 2010 17:37:34 Steven Trogdon wrote: >> >> Hi: >> >> >> >> I had apparently installed the Sage-provided scripts >> >> >> >> sage-g77_shared >> >> sage_fortran >>=20 >> >>=20 >> > Thats absolutely right - thank you for pointing that out. I have added >> > these files for now, but I think I will write a fix so we wont need >> > these. >> > >> >> Steve >> > >> > Christopher >>=20 >> Relative to the included files, it appears that with the Sage-provided >> sage-g77_shared script, sage_fortran can't just point to the fortran >> compiler since sage_fortran needs to have arguments, i.e. the "$@" is >> needed in using sage_fortran. >=20 > "$@" just adds the command line arguments given to sage_fortran to fortra= n, > which is what a symlink implicitly does. >=20 Perhaps so, but things don't work as they are presently. Maybe the python =20 script messes up things. If I replace, in the sage-g77_shared script, =20 sage_fortran with the path to the fortran compiler then things work. The =20 symlink /usr/bin/sage_fortran -> x86_64-pc-linux-gnu-gfortran on my machine will then not be used. =09 >>=20 >> Steve >=20 > Christopher >=20 Steve --=-TUXxj3AcZuyBBqEk7ejC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEABECAAYFAkxlOKYACgkQSh5h5U6haiGxtwCgkLMOrYBmyVP9AsbzZQLHo+27 NR4AnROZ2c2DzUHfyZjsF7COy67AQg/l =LPo7 -----END PGP SIGNATURE----- --=-TUXxj3AcZuyBBqEk7ejC--