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 1OjeDA-000144-5b for garchives@archives.gentoo.org; Thu, 12 Aug 2010 20:17:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22287E07FE; Thu, 12 Aug 2010 20:17:05 +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 C9F96E07FE for ; Thu, 12 Aug 2010 20:17:04 +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=1281644225; x=1313180225; 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:=20Thu,=2012=20Aug=202010=2022:16:44=20+0200 |References:=20<1281627462.27643.0@pavilion64> |In-Reply-To:=20<1281627462.27643.0@pavilion64> |MIME-Version:=201.0|Content-Transfer-Encoding:=207bit |Message-ID:=20<201008122216.45191.cschwan@students.uni-m ainz.de>; bh=aNaNIGU59/m8GfGf6bESz2Cm0hGn2ZJZs3jdvAWjS7Q=; b=BamT5nIHtab9+wWnoGLlR6nOFRPwoaDyGbOo/M+yvcnwACCy4Wh6c9D0 66faqHejizctY3tsPLRy94y0OGgbo4R1VUsqFqtjyzxgfgljrSdsvzoUY Pst7NKcRye/FFsBeVpeTgiFUhTAAw4lTYgZhKGnFUmKz3YDkGnkP5C9Xy w=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtAEABL0Y0wKXgZQ/2dsb2JhbACTLo13vh2FOgSMOw Received: from e14hub-01.zdv.uni-mainz.de ([10.94.6.80]) by mailgate-02.zdv.uni-mainz.de with ESMTP; 12 Aug 2010 22:16:57 +0200 Received: from gnuke-notebook.localnet (84.129.227.52) by mail.uni-mainz.de (10.94.6.82) with Microsoft SMTP Server (TLS) id 14.1.208.1; Thu, 12 Aug 2010 22:16:57 +0200 From: Christopher Schwan To: Subject: Re: [gentoo-science] [sage-on-gentoo] fortran scripts Date: Thu, 12 Aug 2010 22:16:44 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34-gentoo-r1; KDE/4.4.5; i686; ; ) References: <1281627462.27643.0@pavilion64> In-Reply-To: <1281627462.27643.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: <201008122216.45191.cschwan@students.uni-mainz.de> X-Originating-IP: [84.129.227.52] X-Archives-Salt: a7745279-8de2-49b2-aab9-40d7bf2d3b1f X-Archives-Hash: 7d04a7383e42822389cda6f95b1e9751 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 > > when Sage was under /opt to get some fortran functionality from within the > notebook. Of course that functionality is missing with Sage under /usr. > Both scripts are needed. See, from the notebook, > > Help -> Fast Static Versions -> Numerical Sage -> f2py > > for a cut-N-paste example. This example is included (command line version) > in inline_fortran.py, the InlineFortran class under > site-packages/sage/misc. The sage-g77_shared script calls sage_fortran and > sage-g77_shared is hardcoded in the InlineFortran class. I suppose it is > somewhat awkward to have these two scripts, but thought I would point out > that some functionality is missing without them. Perhaps there is a better > way, without messing around with the InlineFortran class, to achieve the > same result. 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