Availability of source code

Message boards : Science : Availability of source code
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Profile Eric Driver
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 8 Jul 11
Posts: 1474
Credit: 1,320,405,589
RAC: 858,649
Message 4363 - Posted: 14 Jul 2026, 22:36:05 UTC - in response to Message 4362.  

If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult?

Since PARI is updated regularly, it might include improvements that would also benefit computations.


There's always a risk of breaking something when you upgrade to a newer library. The current apps are very stable so I'd rather not change anything unless there is a good reason.

As it turns out, I recently ran some single prime decic cases offline using the latest stable PARI library. There was no noticeable improvement in speed.
ID: 4363 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
DKlimax

Send message
Joined: 8 Jun 23
Posts: 34
Credit: 51,615,979
RAC: 126,003
Message 4371 - Posted: 12 Aug 2026, 16:43:36 UTC - in response to Message 4363.  

If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult?

Since PARI is updated regularly, it might include improvements that would also benefit computations.


There's always a risk of breaking something when you upgrade to a newer library. The current apps are very stable so I'd rather not change anything unless there is a good reason.

As it turns out, I recently ran some single prime decic cases offline using the latest stable PARI library. There was no noticeable improvement in speed.

Interesting you got it running. Which version? I tried to compile and test GetDecis with PARI 2.17.4 (using last GMP as included with Mingw64) and got PARI error "incorrect type in idealhnf [fake prime ideal]".

Sidenote: PARI is unlikely to make GetDecisc faster because it is only small part of runtime. However it would be nice if getDecics could be recompiled with last GMP with all per-arch optimizations.
ID: 4371 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Eric Driver
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 8 Jul 11
Posts: 1474
Credit: 1,320,405,589
RAC: 858,649
Message 4372 - Posted: 12 Aug 2026, 21:39:27 UTC - in response to Message 4371.  

If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult?

Since PARI is updated regularly, it might include improvements that would also benefit computations.


There's always a risk of breaking something when you upgrade to a newer library. The current apps are very stable so I'd rather not change anything unless there is a good reason.

As it turns out, I recently ran some single prime decic cases offline using the latest stable PARI library. There was no noticeable improvement in speed.

Interesting you got it running. Which version? I tried to compile and test GetDecis with PARI 2.17.4 (using last GMP as included with Mingw64) and got PARI error "incorrect type in idealhnf [fake prime ideal]".

Sidenote: PARI is unlikely to make GetDecisc faster because it is only small part of runtime. However it would be nice if getDecics could be recompiled with last GMP with all per-arch optimizations.

I used PARI version 2.17.3, but that shouldn't make a difference for you. I used the system provided libgmp.a which comes from the package: gmp-static-6.3.0-4.fc43.x86_64
So it looks like I built with relatively recent libraries.

I started with the NumberFields source code and tweaked it for my special case of a single prime. To build it I needed to change several things - if I recall, some function names changed and some interfaces changed. But I don't remember any changes required for the idealhermite function. Maybe you could send me your build log and I could take a look. Or let me know which line of the code is causing problems. Or if you can wait, I can get the source code to build with the latest libraries and merge the fixes into the baseline on github.

Since you are building for Windows, that is also a potential source of problems.
ID: 4372 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2

Message boards : Science : Availability of source code


Main page · Your account · Message boards


Copyright © 2026 Arizona State University