Ask Your Question

denny's profile - activity

2023-10-16 15:38:43 +0200 received badge  Notable Question (source)
2023-10-16 15:38:43 +0200 received badge  Popular Question (source)
2020-09-29 22:00:18 +0200 received badge  Supporter (source)
2020-09-29 22:00:10 +0200 commented answer Segmentation fault in magma interface

Thank you for the answer. I was able to run it for several hours and didn't run into the segfault error like before.

2020-09-29 21:57:18 +0200 received badge  Scholar (source)
2020-09-28 08:59:12 +0200 received badge  Nice Question (source)
2020-09-27 23:13:44 +0200 received badge  Student (source)
2020-09-27 18:27:41 +0200 asked a question Segmentation fault in magma interface

I'm trying to use the Magma computational algebra interface to do polynomial interpolation for large lists of size 2^18. My code has the following:

p = magma("Interpolation(%s,%s)" % (I,V)).sage()

where I and V are lists each with 2^18 elements. This works just fine for smaller lists but for this size it looks like magma gets a segfault with the following error:

File "/SageMath/local/lib/python3.7/site-packages/sage/interfaces/magma.py", line 631, in set raise TypeError("Error executing Magma code:\n%s" % out) TypeError: Error executing Magma code:

Magma: Internal error

Machine type: intel64-linux

Memory usage: 49264.41MB

Segmentation fault

I know that Magma by itself can do the computation, but I would like to get it working using the Sage interface. Is this just not possible or am I doing something wrong?