mersenneforum.org  

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

Reply
 
Thread Tools
Old 2017-11-27, 21:02   #12
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Doesnot work for me on Win 7 x64
I have a Windows 10 laptop. I don't have any 64-bit WIndows 7 machines available to me?

Did you try to compile? Has anyone else tried to compile and run on Windows 7?
rogue is offline   Reply With Quote
Old 2017-11-27, 22:00   #13
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

23·67 Posts
Default

Quote:
Originally Posted by rogue View Post
Is anyone else experiencing this problem?
Not working for me on Windows 7, x64, either. I'm definetly using MinGW64. The DLL thus was named libgcc_s_seh_64-1.dll and after renaming to libgcc_s_seh-1.dll, what your program requires, it will give the same 0xc000007b error (I assume at least). I could not find another file with the name.
kruoli is offline   Reply With Quote
Old 2017-11-27, 22:28   #14
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

635410 Posts
Default

Which version of mingw64? Do you have the posix version installed? I have attached the dll from my laptop. I don't know why it has the name you mentioned, but that could be a difference between the releases.
Attached Files
File Type: 7z libgcc_s_seh-1.7z (28.9 KB, 72 views)
rogue is offline   Reply With Quote
Old 2017-11-27, 22:39   #15
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

23×67 Posts
Default

Quote:
Originally Posted by rogue View Post
Which version of mingw64?
It seems to be an old version from 2015. But the application still crashes when using your provided DLL. I tried to install a new version, but then could not find that file at all (although some libgcc*.dll-files seems to exist).
Quote:
Originally Posted by rogue View Post
Do you have the posix version installed?
I'm not sure where to check that.
Quote:
Originally Posted by rogue View Post
I have attached the dll from my laptop.
This file is much smaller than my one but not working, sorry. I'll quickly try on my Windows 10 machine.
kruoli is offline   Reply With Quote
Old 2017-11-27, 22:48   #16
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

23×67 Posts
Default

Trying Windows 10, also with your DLL, gave the same error on both executables.
kruoli is offline   Reply With Quote
Old 2017-11-27, 22:54   #17
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

10000110002 Posts
Default Windows 10 workaround

When using the built-in Windows 10 bash, I was able to compile successfully after adding -std=gnu++11 to the parameter list. Tomorrow, I'll try to cross compile with some tools (from Linux) and with my own MinGW64. It's quite weird.

My self-compiled versions runs excellent. Thank you!

Addendum:
Code:
fbncsieve v1.0.0, a CPU program to find factors of k*b^n+c for fixed b, n, and c
Changing p_max to 42088836.  All remaining terms will be prime.
Sieve started: 1 < p < 42088836 with 1410065409 terms
  p=15485863, 10.69K p/sec, 9525905914 factors found, 101.8M f/sec, 36.8% percentDone. ETA 2017-11-27 23:55
Sieve completed at 42088836.  Writing terms file...
...429528886 terms written to k_b3_n10+1.pfgw
Clock time: 100.42 seconds at 25420 p/sec.  Primes tested 2552668.  Factors found: 9570471115.
Processor time: 100.39 sec. (0.05 sieving) (1.00 cores)
kruoli is offline   Reply With Quote
Old 2017-11-28, 01:02   #18
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

67278 Posts
Default

Quote:
Originally Posted by pepi37 View Post
fbncsieve -k20e9 -K30e9 -sk*3^^10+1 ( try both versions)
Did you put the "-sk*3^^10+1" in quotes? When run from a windows command prompt the ^ operator causes string concatenation unless wrapped up in quotes.
jasonp is offline   Reply With Quote
Old 2017-11-28, 01:46   #19
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by jasonp View Post
Did you put the "-sk*3^^10+1" in quotes? When run from a windows command prompt the ^ operator causes string concatenation unless wrapped up in quotes.
That must be dependent upon the version of Windows. In Windows 10, I use ^^. I didn't try -s"k*3^10+1". I'll try within a single ^ on Windows 10 and see if I can get it to crash. In the minimum, I could give a meaningful error if that is the case.
rogue is offline   Reply With Quote
Old 2017-11-28, 14:36   #20
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by rogue View Post
That must be dependent upon the version of Windows. In Windows 10, I use ^^. I didn't try -s"k*3^10+1". I'll try within a single ^ on Windows 10 and see if I can get it to crash. In the minimum, I could give a meaningful error if that is the case.
This: fbncsieve87 -k1e6 -K2e6 -sk*3^10+1 (note the single ^) correctly detects a problem and outputs "Fatal Error: sequence must be in form k*b^n+c where you specify values for b, n and c".
rogue is offline   Reply With Quote
Old 2017-11-28, 16:15   #21
axn
 
axn's Avatar
 
Jun 2003

10011110110102 Posts
Default

There are a few compile errors and warnings when compiling under linux with -std=g++11 option.

I am posting the updated files with fixes for these.
Attached Files
File Type: 7z fbncsieve.7z (7.6 KB, 81 views)
axn is offline   Reply With Quote
Old 2017-11-28, 16:38   #22
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by axn View Post
There are a few compile errors and warnings when compiling under linux with -std=g++11 option.

I am posting the updated files with fixes for these.
Thanks. I have updated my sources.
rogue is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sieving k * 2^n +- c with Nvidia GPU's for fixed k diep GPU Computing 5 2016-09-23 19:19
A siever for K (b, n, c fixed)? pepi37 Software 7 2015-07-10 04:42
Sieving k*2^n-1 With Fixed n c10ck3r Riesel Prime Search 14 2013-02-03 00:19
User interface bug fixed on LLR V3.8.4 Jean Penné Software 0 2011-01-22 16:47
KEP is reporting computer fixed KEP Twin Prime Search 3 2007-02-13 18:29

All times are UTC. The time now is 17:34.


Sun Aug 1 17:34:17 UTC 2021 up 9 days, 12:03, 0 users, load averages: 1.93, 1.66, 1.46

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.