|
|
last edited 16 years ago by Bill Page |
1 2 3 4 5 6 | ||
Editor: Bill Page
Time: 2008/03/14 14:07:15 GMT-7 |
||
Note: using output in Aldor function |
added:
The problem seems to be related to trying to generate Axiom output from inside an Aldor function. E.g.
\begin{aldor}
#include "axiom.as"
#pile
TestOutput: with
testOutput: (Integer) -> Integer
== add
import from String
import from OutputPackage
testOutput(x:Integer):Integer ==
output("help!")
x
\end{aldor}
\begin{axiom}
testOutput(1)
\end{axiom}
From: Gregory Vanuxem
To: Peter Broadbery
Date: Thu, 13 Mar 2008 22:21:44 +0100
Dear Peter, *
I was waiting for your small Aldor patch and never see it. Did you send it somewhere ? The main concern of this mail is if you are able to compile ecfact.as (attached) and execute the LenstraEllipticMethod?(Integer) function. On my system it fails, a bug somewhere. Am I alone with this issue ? Martin ? I'm still using the old build process and want to switch to the new one but this stops me. I do not want to take your time but maybe you have an idea of what's going on with this issue.
The output is :
Looking in OutputPackage() for ??349042727 with code 483270060
and an error message : "export not found"
Greg
PS : I precise that I applied one of your patchs, sorry I don't remember which one, to be able to use recent versions of Aldor. The problem mentioned here still remains on my machine.
aldor-- Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
Compiling FriCAS source code from file /var/zope2/var/LatexWiki/7214143568811717751-25px001.as using AXIOM-XL compiler and options -O -Fasy -Fao -Flsp -laxiom -Mno-AXL_W_WillObsolete -DAxiom -Y $AXIOM/algebra Use the system command )set compiler args to change these options. #1 (Warning) Deprecated message prefix: use `ALDOR_' instead of `_AXL' Compiling Lisp source code from file ./7214143568811717751-25px001.lsp Issuing )library command for 7214143568811717751-25px001 Reading /var/zope2/var/LatexWiki/7214143568811717751-25px001.asy EllipticCurveFactorization is now explicitly exposed in frame initial EllipticCurveFactorization will be automatically loaded when needed from /var/zope2/var/LatexWiki/7214143568811717751-25px001 EllipticCurveRationalPoints is now explicitly exposed in frame initial EllipticCurveRationalPoints will be automatically loaded when needed from /var/zope2/var/LatexWiki/7214143568811717751-25px001
axiomLenstraEllipticMethod(99) Looking in OutputPackage() for ??349042727 with code 483270060 >> System error: FOAM-USER::|fiRaiseException| is invalid as a function.
The problem seems to be related to trying to generate Axiom output from inside an Aldor function. E.g.
aldor#include "axiom.as" #pile TestOutput: with testOutput: (Integer) -> Integer == add import from String import from OutputPackage testOutput(x:Integer):Integer == output("help!") x
Compiling FriCAS source code from file /var/zope2/var/LatexWiki/7970768026816943239-25px003.as using AXIOM-XL compiler and options -O -Fasy -Fao -Flsp -laxiom -Mno-AXL_W_WillObsolete -DAxiom -Y $AXIOM/algebra Use the system command )set compiler args to change these options. #1 (Warning) Deprecated message prefix: use `ALDOR_' instead of `_AXL' Compiling Lisp source code from file ./7970768026816943239-25px003.lsp Issuing )library command for 7970768026816943239-25px003 Reading /var/zope2/var/LatexWiki/7970768026816943239-25px003.asy TestOutput is now explicitly exposed in frame initial TestOutput will be automatically loaded when needed from /var/zope2/var/LatexWiki/7970768026816943239-25px003
axiomtestOutput(1) Looking in OutputPackage() for ??349042727 with code 320506156 >> System error: FOAM-USER::|fiRaiseException| is invalid as a function.