On Thu, Jun 17, 2021 at 11:33 AM Guissmo Asuncion <gui...@gmail.com
> My current SAGE installation interfaces with an installation of PARI which is from a stable version. I would like it to interface with the version of my PARI (in my machine) that is compiled from the code in the development branch. The reason for this is that the PARI developers has just fixed a bug yesterday, related to what I am doing. The fix is currently in their development branch.
> Is there something I can do in init.sage to point SAGE to a specific compiled version of PARI in my system? Or perhaps I can do something else to obtain the same result?
> Would I need to recompile SAGE with parameters pointing to that PARI installation every time? If so, how? I would like to avoid compiling SAGE every time I recompile PARI, but might be willing to try if desperate.
Sage and its components, such as Singular, have code which uses
libpari. These are the only parts that potentially might need to be
recompiled - assuming that the interface has changed. (Which is
usually not the case if just a bug was fixed).
That is to say, in theory all you need to do it to supply an updated
library, and it will be magically picked up - this is
one feature of dynamic linking.
One way to achieve this kind of flexibility is to install your
experimental versions in /usr/local; then Sage's ./configure
should be able to pick it up and use.
(You'd also need to have Pari's packages installed correctly, as
described in Pari online docs, otherwise
./configure would reject it)
In practice, something might be broken and you'd need to rebuild the
components which don't properly link libpari.
If you need more details, please shout.
> Thanks for reading!
> 'SageMath version 9.3, Release Date: 2021-05-09'
> Operating System: Arch Linux
> KDE Plasma Version: 5.21.5
> KDE Frameworks Version: 5.82.0
> Qt Version: 5.15.2
> Kernel Version: 5.12.9-arch1-1
> OS Type: 64-bit
> Graphics Platform: X11
> Processors: 8 × AMD Ryzen 7 2700U with Radeon Vega Mobile Gfx
> Memory: 15,3 GiB of RAM
> Graphics Processor: AMD Radeon™ Vega 3 Graphics
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/f906f2c2-369b-4ca8-ad2b-e10757af5c33n%40googlegroups.com