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 1Ojvmg-0002Sz-Tw for garchives@archives.gentoo.org; Fri, 13 Aug 2010 15:03:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80AEEE09AE for ; Fri, 13 Aug 2010 15:03:02 +0000 (UTC) Received: from mailgate-02.zdv.uni-mainz.de (mailgate-02.zdv.Uni-Mainz.DE [134.93.178.246]) by pigeon.gentoo.org (Postfix) with ESMTP id 524B1E0807 for ; Fri, 13 Aug 2010 14:32:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-mainz.de; i=cschwan@students.uni-mainz.de; q=dns/txt; s=ironport; t=1281709954; x=1313245954; h=from:to:subject:date:references:in-reply-to:mime-version: content-transfer-encoding:message-id; z=From:=20Christopher=20Schwan=20|To:=20|Subject: =20Re:=20[gentoo-science]=20[sage-on-gentoo]=20fortran=20 scripts|Date:=20Fri,=2013=20Aug=202010=2016:32:29=20+0200 |References:=20<1281702054.7123.0@pavilion64> |In-Reply-To:=20<1281702054.7123.0@pavilion64> |MIME-Version:=201.0|Content-Transfer-Encoding:=207bit |Message-ID:=20<201008131632.29122.cschwan@students.uni-m ainz.de>; bh=wR6ZyKU5TnuyB5r2deAvQ7BxhHl7cpHZcZUr2Cvz2mY=; b=ZwJDaHxbDTyr7e6Yb0rnaAeIS9dRYuLvC5Jgqpf80qRCXXRlXzgEeQQo Co0FEzKtIR3zp228x65KFNN2+2WIva7cRRd+2ji7PkT3DdjsWBxmj4nf+ 274Lxy1lqGOhFK/qnwfINBRBd3+7M9nuCbAf2BXCpvyfQzKeXpjICOk2z Y=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At0FALb0ZEwKXgZY/2dsb2JhbACTL417vSyFOgSMRQ Received: from e14hub-02.zdv.uni-mainz.de ([10.94.6.88]) by mailgate-02.zdv.uni-mainz.de with ESMTP; 13 Aug 2010 16:32:33 +0200 Received: from gnuke-notebook.localnet (84.129.237.106) by mail.uni-mainz.de (10.94.6.90) with Microsoft SMTP Server (TLS) id 14.1.208.1; Fri, 13 Aug 2010 16:32:33 +0200 From: Christopher Schwan To: Subject: Re: [gentoo-science] [sage-on-gentoo] fortran scripts Date: Fri, 13 Aug 2010 16:32:29 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34-gentoo-r1; KDE/4.4.5; i686; ; ) References: <1281702054.7123.0@pavilion64> In-Reply-To: <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: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-ID: <201008131632.29122.cschwan@students.uni-mainz.de> X-Originating-IP: [84.129.237.106] X-Archives-Salt: 192d7342-cb3e-480d-b963-b004e3d51ac4 X-Archives-Hash: 44853803a65ef7e1ff70bd62a9a04de4 On Friday 13 August 2010 14:20:45 Steven Trogdon wrote: > On 08/13/2010 03:34:21 AM, Christopher Schwan wrote: > > Hi, > > > > On Friday 13 August 2010 00:54:53 Steven Trogdon wrote: > >> Hi Christopher, > >> > >> 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 > >> > >> > >> > >> > 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 > >> > >> 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. > > > > "$@" just adds the command line arguments given to sage_fortran to > > fortran, which is what a symlink implicitly does. > > Perhaps so, but things don't work as they are presently. Maybe the python > script messes up things. If I replace, in the sage-g77_shared script, > sage_fortran with the path to the fortran compiler then things work. The > symlink > > /usr/bin/sage_fortran -> x86_64-pc-linux-gnu-gfortran > > on my machine will then not be used. Ok I did that replacement - (should be) fixed in latest commit! > > >> Steve > > > > Christopher > > Steve Christopher