mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > XYYXF Project

Reply
 
Thread Tools
Old 2014-07-08, 16:16   #56
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

250516 Posts
Unhappy

The --platform=1 option is still ignored.
(and additionally, the existence of -f and -F options is denied by the program)
Code:
$ ./xyyxsievecl64.exe --platform=1 -x2 -X2500 -y7000 -Y7500 -P1e6 -t1 -s2000 -S+ -oxyyx.pfgw -f1 -F1
xyyxsievecl v1.0.1, a GPU program to find factors numbers of the form x^y+y^x
Quick elimination of terms info (in order of check):
    626000 because the term is even
    118610 because x and y have a common divisor
    357496 because the term is divisible by a prime < 100
List of available platforms and devices
C:\Users\Serge\Desktop\XYYXsieve\xyyxsievecl64.exe: invalid option -- F
C:\Users\Serge\Desktop\XYYXsieve\xyyxsievecl64.exe: invalid option -- 1
Platform 0 has no available devices.  Here is a list of platforms and devices:
Platform 0 is a Advanced Micro Devices, Inc. AMD Accelerated Parallel Processing, version OpenCL 1.2 AMD-APP (938.2)
   No devices
Platform 1 is a NVIDIA Corporation NVIDIA CUDA, version OpenCL 1.1 CUDA 6.0.1
   Device 0 is a NVIDIA Corporation GeForce GTX 570
Says: "Platform 0 has no available devices", does not switch to platform 1 (even though instructed) and quits.

Also, minor: there is no line break after "Here is a list of platforms and devices:" message.
Batalov is offline   Reply With Quote
Old 2014-07-08, 17:46   #57
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

I didn't change the version number, but this should be 1.0.2.

I finally tracked down and fixed the main "Out of resources" issue. I'm referring to the one that impacts large search ranges. I wasn't reinitializing a variable in a loop.

I fixed some issues with continuing from a previous output file.

I don't know why --platform doesn't work so I need to investigate that, but -f should now work to change the platform (although I haven't tested it).
Attached Files
File Type: zip xyyxsievecl64.zip (51.5 KB, 114 views)
rogue is offline   Reply With Quote
Old 2014-07-08, 18:08   #58
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

I spoke too soon on the "Out of resources" issue. I thought I had nailed it, but I just one with the latest build.
rogue is offline   Reply With Quote
Old 2014-07-08, 19:17   #59
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Question

Quote:
Originally Posted by rogue View Post
It appears that MultiSieve removes terms for which it does not have a factor.
Just curious if this was only for xy+-yx?
Was it by any chance a problem for GC/GW sieves?
Batalov is offline   Reply With Quote
Old 2014-07-08, 19:26   #60
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by Batalov View Post
Just curious if this was only for xy+-yx?
Was it by any chance a problem for GC/GW sieves?
I don't understand your question. This program is specific for x^y+/-y^x. MultiSieve is more generic. Almost every component of MultiSieve is now done much faster by other software. For example, gcwsieve is the preferred siever for Generalized Cullens and Generalized Woodalls.

n*b^n+/-1 uses a discrete log. x^y+/-y^x does not use a discrete log.
rogue is offline   Reply With Quote
Old 2014-07-08, 23:43   #61
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

224058 Posts
Default

Quote:
Originally Posted by rogue View Post
It appears that MultiSieve removes terms for which it does not have a factor. I've looked at the code and have not been able to figure out where that is occurring. This means that ranges sieved in the past should be sieved again presuming I can't track down why it is doing it, which I have little desire to do.
My question was about good old MultiSieve (because you wrote about MultiSieve's behavior). I quoted specifically the statement for which I had a followup question.

gcwsieve is (of course) faster, but some legacy GC/GW projects may have been done with MultiSieve (some bases were done more than ten years ago). But if under-reporting behavior was limited to the xyyx branch of MultiSieve only, then there shouldn't be any problem.
Batalov is offline   Reply With Quote
Old 2014-07-08, 23:53   #62
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

Quote:
Originally Posted by Batalov View Post
My question was about good old MultiSieve (because you wrote about MultiSieve's behavior). I quoted specifically the statement for which I had a followup question.

gcwsieve is (of course) faster, but some legacy GC/GW projects may have been done with MultiSieve (some bases were done more than ten years ago). But if under-reporting behavior was limited to the xyyx branch of MultiSieve only, then there shouldn't be any problem.
Yes, they use completely different logic. They do share some lower level code, but that code is not where the bug is. If it were, then it would have manifested itself when comparing MultiSieve output to gcwsieve output.

Last fiddled with by rogue on 2014-07-08 at 23:54
rogue is offline   Reply With Quote
Old 2014-07-09, 00:00   #63
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100101000001012 Posts
Default

Right!

I think multisieve ("start new sieve" option) is still faster than the setup accessory sieve gcwsieve-1.3.5-smallp.zip (or Pari ad hoc) ... but then (after p>N) one should switch to gcwsieve.
Batalov is offline   Reply With Quote
Old 2014-07-09, 19:14   #64
XYYXF
 
XYYXF's Avatar
 
Jan 2005
Minsk, Belarus

19016 Posts
Default

The interval 20,001<=x<=40,000, 201<=y<=400 is reserved by Norbert Schneider.
XYYXF is offline   Reply With Quote
Old 2014-07-09, 19:27   #65
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143138 Posts
Default

Please ensure that he is not using MultiSieve due to the undiagnosed bug described earlier in this thread.

As I stated above I am sieving all y for all x < 10000 (using your nomenclature) and intend to retest to determine if any PRPs were missed.
rogue is offline   Reply With Quote
Old 2014-07-11, 02:00   #66
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

I just checked in changes for PRPNet into sourceforge. It now supports x^y+y^x and x^y-y^x searches.
rogue is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Leyland Primes: ECPP proofs Batalov XYYXF Project 17 2021-07-12 20:05
Mersenne Primes p which are in a set of twin primes is finite? carpetpool Miscellaneous Math 3 2017-08-10 13:47
Distribution of Mersenne primes before and after couples of primes found emily Math 34 2017-07-16 18:44
On Leyland Primes davar55 Puzzles 9 2016-03-15 20:55
possible primes (real primes & poss.prime products) troels munkner Miscellaneous Math 4 2006-06-02 08:35

All times are UTC. The time now is 04:11.


Sat Jul 17 04:11:24 UTC 2021 up 50 days, 1:58, 1 user, load averages: 2.65, 2.52, 2.16

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.