mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2017-04-04, 09:34   #276
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11000110100102 Posts
Default

I cannot reproduce this. I need to do some more digging.
rogue is offline   Reply With Quote
Old 2017-04-06, 12:57   #277
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2×3×11×73 Posts
Default

Quote:
Originally Posted by rogue View Post
I cannot reproduce this. I need to do some more digging.
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.
ET_ is offline   Reply With Quote
Old 2017-04-06, 20:55   #278
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×33×109 Posts
Default

Quote:
Originally Posted by ET_ View Post
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.
The GWNUM potion should detect the cpu and have no issue. It is probably the rest of it that now has too recent instructions.
henryzz is online now   Reply With Quote
Old 2017-05-17, 14:32   #279
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

3·2,141 Posts
Default

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
...
where blsr ('clear lowest set bit of register') is a BMI1 instruction existing only in Haswell and later.
fivemack is offline   Reply With Quote
Old 2017-05-17, 15:11   #280
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·3·11·73 Posts
Default

Quote:
Originally Posted by fivemack View Post
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
...
where blsr ('clear lowest set bit of register') is a BMI1 instruction existing only in Haswell and later.
Well, at least my shoot on the dark went on target
ET_ is offline   Reply With Quote
Old 2017-05-17, 17:59   #281
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

133768 Posts
Default

So not a gwnum issue but gmplib compiled with too recent optimizations.
henryzz is online now   Reply With Quote
Old 2017-06-04, 01:54   #282
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2×47×101 Posts
Default

Quote:
Originally Posted by fivemack View Post
I just downloaded Pfgw_Linux_3.8.3_20161203.zip from SourceForge.

It gives an 'illegal instruction' error on my Ivy Bridge machine; ...
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?)
Batalov is offline   Reply With Quote
Old 2017-06-04, 18:35   #283
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11000110100102 Posts
Default

Steven Harvey does the linux builds for pfgw. If anyone else wants to do it, I can help them.
rogue is offline   Reply With Quote
Old 2017-07-24, 11:32   #284
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2×3×11×73 Posts
Default

Quote:
Originally Posted by rogue View Post
Steven Harvey does the linux builds for pfgw. If anyone else wants to do it, I can help them.
Yes, please
ET_ is offline   Reply With Quote
Old 2017-07-24, 13:13   #285
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143228 Posts
Default

Quote:
Originally Posted by ET_ View Post
Yes, please
I'll contact you via e-mail.
rogue is offline   Reply With Quote
Old 2018-01-16, 14:32   #286
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

135338 Posts
Default

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
A possible bug in LLR/PFGW while using GWNUM (no bug in P95) Batalov Software 77 2015-04-14 09:01
PFGW 3.2.0 has been Released rogue Software 94 2010-09-14 21:39
PFGW 3.2.3 has been Released rogue Software 10 2009-10-28 07:07
PFGW 3.2.2 has been Released rogue Software 20 2009-08-23 12:14
PFGW 3.2.1 has been released rogue Software 5 2009-08-10 01:43

All times are UTC. The time now is 13:57.


Mon Aug 2 13:57:41 UTC 2021 up 10 days, 8:26, 0 users, load averages: 4.03, 3.12, 2.49

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.