mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   PFGW 3.8.3 (with gwnum v28.7) Released (https://www.mersenneforum.org/showthread.php?t=13969)

rogue 2017-04-04 09:34

I cannot reproduce this. I need to do some more digging.

ET_ 2017-04-06 12:57

[QUOTE=rogue;456168]I cannot reproduce this. I need to do some more digging.[/QUOTE]

Thank you Mark. I suspect the Linux version was compiled with all optimizations on, using Haswell or more advanced instructions. Anyway, I can wait while still using previous versions of pfgw.

henryzz 2017-04-06 20:55

[QUOTE=ET_;456263]Thank you Mark. I suspect the Linux version was compiled with all optimizations on, using Haswell or more advanced instructions. Anyway, I can wait while still using previous versions of pfgw.[/QUOTE]

The GWNUM potion should detect the cpu and have no issue. It is probably the rest of it that now has too recent instructions.

fivemack 2017-05-17 14:32

I just downloaded Pfgw_Linux_3.8.3_20161203.zip from SourceForge.

It gives an 'illegal instruction' error on my Ivy Bridge machine; running under gdb I see

[code]
Dump of assembler code for function __gmpz_sizeinbase:
...
0x0000000000482f72 <+34>: sub %rax,%rcx
=> 0x0000000000482f75 <+37>: blsr %esi,%eax
0x0000000000482f7a <+42>: movslq %esi,%rsi
...
[/code]

where blsr ('clear lowest set bit of register') is a BMI1 instruction existing only in Haswell and later.

ET_ 2017-05-17 15:11

[QUOTE=fivemack;459198]I just downloaded Pfgw_Linux_3.8.3_20161203.zip from SourceForge.

It gives an 'illegal instruction' error on my Ivy Bridge machine; running under gdb I see

[code]
Dump of assembler code for function __gmpz_sizeinbase:
...
0x0000000000482f72 <+34>: sub %rax,%rcx
=> 0x0000000000482f75 <+37>: blsr %esi,%eax
0x0000000000482f7a <+42>: movslq %esi,%rsi
...
[/code]

where blsr ('clear lowest set bit of register') is a BMI1 instruction existing only in Haswell and later.[/QUOTE]

Well, at least my shoot on the dark went on target :smile:

henryzz 2017-05-17 17:59

So not a gwnum issue but gmplib compiled with too recent optimizations.

Batalov 2017-06-04 01:54

[QUOTE=fivemack;459198]I just downloaded Pfgw_Linux_3.8.3_20161203.zip from SourceForge.

It gives an 'illegal instruction' error on my Ivy Bridge machine; ...[/QUOTE]
Same here (on a Broadwell).

Is the binary going to be rebuilt or is it going to continue being on a biennial release schedule?

(There is a 2015 binary, a 2017 (a broken one), ...next one in 2019?)

rogue 2017-06-04 18:35

Steven Harvey does the linux builds for pfgw. If anyone else wants to do it, I can help them.

ET_ 2017-07-24 11:32

[QUOTE=rogue;460518]Steven Harvey does the linux builds for pfgw. If anyone else wants to do it, I can help them.[/QUOTE]

Yes, please :smile:

rogue 2017-07-24 13:13

[QUOTE=ET_;464066]Yes, please :smile:[/QUOTE]

I'll contact you via e-mail.

CRGreathouse 2018-01-16 14:32

This is still affecting me. Has anyone been able to build a linux version which works for older processors?


All times are UTC. The time now is 22:06.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.