mersenneforum.org  

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

Reply
 
Thread Tools
Old 2010-11-08, 13:51   #1
IBethune
 
Nov 2010

1916 Posts
Default LLR 3.8.4 / gwnum 26.4 Mac 32bit errors

Hi,

I've been doing the MacIntel builds of LLR for a while now, but since LLR 3.8.2/gwnum 26.2, the code won't run correctly on 32 bits Macs (Intel Core 1 / Prescott CPUs), but continues to work on more recent 64 bit CPUs (Core 2, Core i3/5/7) as expected.

The symptom is that gwsetup fails to find a suitable FFT length for the input, reporting:

Code:
Number sent to gwsetup is too large for the FFTs to handle.
This corresponds to the error code GWERROR_TOO_LARGE. I had a dig through the source as far as possible, but it seems the relevant sizes are set by the assembly code (jmptab->max_exp), at which point I gave up trying to figure out what was going on.

An example input that triggers this error would be 1005*2^109568+1(which is prime). This worked correctly with LLR 3.8.1/gwnum 25.14

Is this some known restriction/bug with gwnum 26? Has anyone seen any similar problems with prime95 or PFGW ?

Cheers

- Iain
IBethune is offline   Reply With Quote
Old 2010-11-08, 14:48   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·53·71 Posts
Default

I found the problem.

For the Mac build some FFT implementations are not included (like the AMD-optimized FFTs) to reduce the size of the executable. For the 32-bit Mac case, a typo caused too many FFTs to be excluded.

This will be fixed next source code release.
Prime95 is offline   Reply With Quote
Old 2010-11-08, 15:26   #3
IBethune
 
Nov 2010

52 Posts
Default

Thanks for the quick response!

Any idea when the next release might be? In the meantime we'll continue to use the older (25.14-based) LLR for 32 bit Macs.

Cheers

- Iain
IBethune is offline   Reply With Quote
Old 2010-11-13, 23:41   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·53·71 Posts
Default

Try http://www.mersenne.org/cpus/source264.zip
It'll be there until I move it to its permanent home.
Prime95 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
GWNUM issue ET_ Software 4 2017-06-15 09:52
Windows 32bit vs 64bit mfaktc/cudalucas bcp19 GPU Computing 20 2012-03-11 01:24
LLR V3.8.2 using gwnum 26.2 is available! Jean Penné Software 25 2010-11-01 15:18
GWNUM? Unregistered Information & Answers 3 2010-09-12 19:52
GWNUM as DLL? Cyclamen Persicum Software 1 2007-01-02 20:53

All times are UTC. The time now is 09:12.


Sat Jul 17 09:12:20 UTC 2021 up 50 days, 6:59, 1 user, load averages: 1.83, 1.77, 1.64

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.