On Tuesday, August 6, 2019 at 5:55:53 AM UTC-7, E. Madison Bray wrote:
>
> On Tue, Aug 6, 2019 at 2:45 PM Eric Gourgoulhon <egourg...@gmail.com 
> <javascript:>> wrote: 
> > 
> > Le vendredi 2 août 2019 18:07:16 UTC+2, John H Palmieri a écrit : 
> >> 
> >> 
> >> 
> >> On Friday, August 2, 2019 at 3:31:07 AM UTC-7, Eric Gourgoulhon wrote: 
> >>> 
> >>> 
> >>> 
> >>> Le vendredi 2 août 2019 01:00:29 UTC+2, John H Palmieri a écrit : 
> >>>> 
> >>>> Another question: does Flint pass its test suite on these machines? 
> >>> 
> >>> 
> >>> How could I run this test suite? 
> >>> 
> >>> Eric. 
> >> 
> >> 
> >> "sage -f -c flint" 
> >> 
> > 
> > Thanks for the tip. 
> > Being out of office, I ran the test suite on another computer (Core 
> i7-6700HQ + 16 GB RAM, running Ubuntu 18.04.2), which shows the same 
> doctest failure with Python3 Sage 8.9.beta5. 
> > The test suite seems passed, with many messages like 
> > [flint-2.5.2.p4] zz_pX_to_fmpz_mod_poly....PASS 
> > [flint-2.5.2.p4] zz_pE_to_fq....PASS 
> > [flint-2.5.2.p4] zz_pEX_to_fq_poly....PASS 
> > (I did not see any "FAILED") and at the end: 
> > [flint-2.5.2.p4] Successfully installed flint-2.5.2.p4 
> > [flint-2.5.2.p4] Deleting temporary build directory 
> > [flint-2.5.2.p4] 
> /home/eric/sage/py3/local/var/tmp/sage/build/flint-2.5.2.p4 
> > [flint-2.5.2.p4] Finished installing flint-2.5.2.p4.spkg 
> > 
> > Side note: the "./sage -f -c flint" command continued with 
> > 
> > New packages may have been installed. 
> > Re-running configure and make in case any dependent packages need 
> updating. 
> > 
> > and then proceeded by installing 
> > 
> > arb-2.16.0.p0 
> > eclib-20190226 
> > linbox-1.6.3 
> > singular-4.1.1p2.p0 
> > pynac-0.7.24.p0 
> > sagelib-8.9.beta5 
> > 
> > Just in case, after "./sage -f -c flint", I run 
> > ./sage  -t --long 
> src/sage/rings/polynomial/polynomial_rational_flint.pyx 
> > and get the same error: 
> > 
> > File "src/sage/rings/polynomial/polynomial_rational_flint.pyx", line 
> 2055, in 
> sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
>  
>
> > Failed example: 
> >     G = f.galois_group(); G 
> > Expected: 
> >     Transitive group number 5 of degree 4 
> > Got: 
> >     Exception (FLINT memory_manager). Unable to allocate memory. 
> >     Transitive group number 5 of degree 4 
> > 
> > Again, on the very same computer, this doctest is passed with Python 2 
> Sage 8.9.beta5. 
>
> It's possible this is similar to 
> https://trac.sagemath.org/ticket/28106 simply insofar as some test is 
> bumping up against the default 3300MB virtual memory limit imposed by 
> the test runner. 
>
> Which doesn't necessarily mean there isn't a problem: If some test is 
> using a lot more memory than it used to, such that it's bumping up 
> against that limit, there might be a leak or some other unintended 
> memory usage consequence to the way a test was written.... 
>

I get the same error within a Sage session using

sage: from sage.doctest.control import DocTestController, DocTestDefaults
sage: DC = DocTestController(DocTestDefaults(), [
'/path/to/src/sage/rings/polynomial/polynomial_rational_flint.pyx'])
sage: DC.run()

I don't think this uses the memory limits discussed at #28106 — I think 
those are set in the script sage-runtests, not in the library doctesting 
framework.

-- 
John


-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/96724eac-2a93-4004-bf5b-c4e679e4b5ac%40googlegroups.com.

Reply via email to