mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-05-30, 19:50   #331
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5×7×167 Posts
Default

Quote:
Originally Posted by Citrix View Post
You need to add gcwsievecl to

GPU_PROGS=afsievecl mfsievecl gfndsievecl pixsievecl xyyxsievecl

Compiles for me and at least I get
"gcwsievecl.exe -p 3770000000000 -P 4000000000000 -b 2 -n 825 -N 1000 -s +
gcwsieve v1.2, a program to find factors numbers of the form n*b^n+1 and n*b^n-1
Sieve started: 377e10 < p < 4e12 with 0 terms (825 <= n <= 1000, n*2^n+1) (expecting 0 factors)"

Then it crashes.
Hmm. Doesn't crash for me. Did you do a "make clean" before "make gcwsievecl"?

But I think I introduced another bug somewhere else as it was hanging on me.

Last fiddled with by rogue on 2020-05-30 at 19:55
rogue is online now   Reply With Quote
Old 2020-05-30, 20:07   #332
Citrix
 
Citrix's Avatar
 
Jun 2003

110000111102 Posts
Default

Quote:
Originally Posted by rogue View Post
Hmm. Doesn't crash for me. Did you do a "make clean" before "make gcwsievecl"?

But I think I introduced another bug somewhere else as it was hanging on me.
Clean build. No luck. still crashes.
It does not work with the original cw_kernel.cl file either.
I am on Windows 10 if that makes a difference.
Citrix is offline   Reply With Quote
Old 2020-05-30, 20:13   #333
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5·7·167 Posts
Default

I found and fixed two issues in the CullenWoodallWorker class. It no longer hangs and it runs cleanly on OS X. One was caused by a change in the framework. The other by indexing beyond the bounds of an array. That latter triggers a crash on OS X, but behaves unpredictably on Windows.
rogue is online now   Reply With Quote
Old 2020-06-01, 16:10   #334
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5·7·167 Posts
Default

I posted 2.0.1. This fixes gcwsieve and adds k1b2sieve which sieves 2*n+c for a range of n and c.
rogue is online now   Reply With Quote
Old 2020-06-02, 08:12   #335
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

2×653 Posts
Default

Quote:
Originally Posted by rogue View Post
I posted 2.0.1. This fixes gcwsieve and adds k1b2sieve which sieves 2*n+c for a range of n and c.
Link?
pepi37 is online now   Reply With Quote
Old 2020-06-02, 12:49   #336
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5·7·167 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Link?
https://sourceforge.net/projects/mtsieve/, but there are bugs in that sieve that I have to fix. I will hopefully post an update later today.
rogue is online now   Reply With Quote
Old 2020-06-02, 19:57   #337
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

2·653 Posts
Default

One suggestion :using twinsieve on big range can easy consume 4, 8 or more GB of RAM: so I suggest that you add quick calculation at start that will show user how many RAM twinsieve will allocate.If user agree with prediction: then calculation is continuing.
I ran few times twinsieve and got out of memory. Newpgen solve this program as suggested above.
pepi37 is online now   Reply With Quote
Old 2020-06-02, 20:47   #338
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5×7×167 Posts
Default

Quote:
Originally Posted by pepi37 View Post
One suggestion :using twinsieve on big range can easy consume 4, 8 or more GB of RAM: so I suggest that you add quick calculation at start that will show user how many RAM twinsieve will allocate.If user agree with prediction: then calculation is continuing.
I ran few times twinsieve and got out of memory. Newpgen solve this program as suggested above.
How large a range are you sieving? Is this on Windows? How many threads are you running with?
rogue is online now   Reply With Quote
Old 2020-06-02, 21:08   #339
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

2·653 Posts
Default

Quote:
Originally Posted by rogue View Post
How large a range are you sieving? Is this on Windows? How many threads are you running with?

I run it on hexacore CPU ,Win10

range was from 113853849125 to 213853849125 base 2
pepi37 is online now   Reply With Quote
Old 2020-06-02, 22:06   #340
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

133258 Posts
Default

Quote:
Originally Posted by pepi37 View Post
I run it on hexacore CPU ,Win10

range was from 113853849125 to 213853849125 base 2
It takes up that much memory because you have 2e11 terms.

NewPGen only warns you because it is a 32-bit app and is limited on how much memory it can use. I don't see a reason for such a message in any of my sieves. They are all 64-bit so it is really an issue of how much memory you have available as opposed to how much memory the software can use.
rogue is online now   Reply With Quote
Old 2020-06-02, 22:16   #341
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

24328 Posts
Default

But reason is to warn user, twinsieve will use 12GB of ram and you have 8....(example)

Last fiddled with by pepi37 on 2020-06-02 at 22:16
pepi37 is online now   Reply With Quote
Reply

Thread Tools


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

Wed Aug 5 22:26:24 UTC 2020 up 19 days, 18:13, 2 users, load averages: 1.14, 1.44, 1.52

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.