#14625: lrcalc calls exit()
-------------------------------------------------+-------------------------
Reporter: thansen | Owner: jdemeyer
Type: defect | Status: new
Priority: major | Milestone: sage-5.13
Component: packages: standard | Resolution:
Keywords: spkg, library, lrcalc | Merged in:
Authors: | Reviewers:
Report Upstream: Reported upstream. Developers | Work issues:
acknowledge bug. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Changes (by zabrocki):
* cc: zabrocki, aschilling, mhansen, sage-combinat, asbuch, mguaypaq,
saliola, darij, tfeulner, tscrim (added)
Comment:
Anne forwarded me this message from Anders and I am cc'ing all the
relevant suspects and then some. This issue is relevant because of a bug
found in the Schur product in symmetrica (reported in #15397). I am
proposing that lrcalc be used to compute the product of two Schur
functions.:
My latest version of lrcalc is 1.1.7. I'm not sure what has been
included in sage. The latest version of the library requires that the
calling program uses setjmp() to recover from a failed call to lrcalc.
Probably sage has a wrapper function that calls the lrcalc library
already. It should be modified as follows:
{{{
result_type * call_lrcalc_mult(args)
{
if (setjmp(lrcalc_panic_frame))
{
/* if this code is executed, then lrcalc ran out of memory. */
return NULL;
}
prd = mult(args);
sageprd = < convert prd to sage structures >
return sageprd;
}
}}}
But again, to obtain any real improvement, somebody has to figure out
how much memory lrcalc can safely use, this might not be entirely
trivial to determine.
--
Ticket URL: <http://trac.sagemath.org/ticket/14625#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.