#4231: magma -- long input too verbose in some cases
------------------------+---------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: assigned
Priority: minor | Milestone: sage-3.1.3
Component: interfaces | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Old description:
> {{{
> > temp2 := Derivative(temp[1],w) + Derivative(temp[2],x) +
> > Derivative(temp[3],y) + Derivative(temp[4],z);
> > ---
> > I get the funny error message:
> > ---
> > Loading
> > "/home/r1/kedlaya/.sage//temp/DWORK.MIT.EDU/5272//interface//tmp5272"
> > ---
> > but I think the calculation goes through. I'm guessing this is because
> > Magma is returning a long output which gets saved to a temporary
> > file. But does the notebook user really need to see this message? I
> > don't.
> >
> > Incidentally, if I change the last line to the following two lines:
> > ---
> > temp2 := Derivative(temp[1],w) + Derivative(temp[2],x);
> > temp2 := temp2 + Derivative(temp[3],y) + Derivative(temp[4],z);
> > ---
> > then I don't get any error message.
>
> I believe that Sage uses temp files for inputs larger than a certain
> size. It seems this long input passed that size and you're seeing a
> "verbose loading" message. Not really an error message, but I'm sure
> William can add it to his list of Magma interface things to do.
>
> }}}
New description:
{{{
When evaluating this in the notebook:
%magma
polt<t> := RationalFunctionField(Rationals());
R<w,x,y,z> := PolynomialRing(polt, 4);
Q0 := w^3 + x^3 + y^3 + z^3;
Q := (w+x)*(w+2*y)*(w+3*z) + 3*x*y*(w+x+z);
Qt := Q0 + t*Q;
Qt_gradient := [Derivative(Qt, w), Derivative(Qt, x), Derivative(Qt, y),
Derivative(Qt, z)];
Qt_jac := IdealWithFixedBasis(Qt_gradient);
b := w*x*y*z;
temp := Coordinates(Qt_jac, 3*b*Q);
temp2 := Derivative(temp[1],w) + Derivative(temp[2],x) +
Derivative(temp[3],y) + Derivative(temp[4],z);
> ---
> I get the funny error message:
> ---
> Loading
> "/home/r1/kedlaya/.sage//temp/DWORK.MIT.EDU/5272//interface//tmp5272"
> ---
> but I think the calculation goes through. I'm guessing this is because
> Magma is returning a long output which gets saved to a temporary
> file. But does the notebook user really need to see this message? I
> don't.
>
> Incidentally, if I change the last line to the following two lines:
> ---
> temp2 := Derivative(temp[1],w) + Derivative(temp[2],x);
> temp2 := temp2 + Derivative(temp[3],y) + Derivative(temp[4],z);
> ---
> then I don't get any error message.
I believe that Sage uses temp files for inputs larger than a certain
size. It seems this long input passed that size and you're seeing a
"verbose loading" message. Not really an error message, but I'm sure
William can add it to his list of Magma interface things to do.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4231#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---