Message boards :
Science :
Availability of source code
Message board moderation
Previous · 1 · 2
| Author | Message |
|---|---|
Eric DriverSend message Joined: 8 Jul 11 Posts: 1474 Credit: 1,320,405,589 RAC: 858,649 |
If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult? 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. |
|
Send message Joined: 8 Jun 23 Posts: 34 Credit: 51,615,979 RAC: 126,003 |
If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult? 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. |
Eric DriverSend message Joined: 8 Jul 11 Posts: 1474 Credit: 1,320,405,589 RAC: 858,649 |
If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult? 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. |