mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > And now for something completely different

Reply
 
Thread Tools
Old 2019-05-29, 13:25   #100
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by chroma View Post
Please change the link for mfsieve to https://mersenneforum.org/rogue/mtsieve.html. mfsieve is built upon the mtsieve framework.
rogue is online now   Reply With Quote
Old 2019-05-29, 20:19   #101
chroma
 
"Marian Otremba"
Jan 2017
Kielcza, Poland

11 Posts
Default

Quote:
Originally Posted by rogue View Post
Please change the link for mfsieve to https://mersenneforum.org/rogue/mtsieve.html. mfsieve is built upon the mtsieve framework.

It's very nice that you've collected all the procedures for sieving into mtsieve framework
But mfsieve.exe does not work:
error: The clCreateComandQueueWithProperties procedure input was not found in the mfsieve.exe library
chroma is offline   Reply With Quote
Old 2019-05-29, 21:43   #102
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by chroma View Post
It's very nice that you've collected all the procedures for sieving into mtsieve framework
But mfsieve.exe does not work:
error: The clCreateComandQueueWithProperties procedure input was not found in the mfsieve.exe library
Are you trying to use GPU threads? If not, I'll take a look.
rogue is online now   Reply With Quote
Old 2019-05-30, 08:34   #103
chroma
 
"Marian Otremba"
Jan 2017
Kielcza, Poland

11 Posts
Default

Quote:
Originally Posted by rogue View Post
Are you trying to use GPU threads?.

No
The mfsieve can not be started with or without parameters. (also with -h)
chroma is offline   Reply With Quote
Old 2019-05-30, 14:17   #104
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

Quote:
Originally Posted by chroma View Post
No
The mfsieve can not be started with or without parameters. (also with -h)
Hmm. That doesn't seem right. It shouldn't take that code path unless trying to use GPU threads. I'll look into it.

If you have mingw64 installed, I can tell you how to recompile to avoid that issue. Alternatively you can d/l the AMD SDK and install it.
rogue is online now   Reply With Quote
Old 2019-05-30, 14:43   #105
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by rogue View Post
Hmm. That doesn't seem right. It shouldn't take that code path unless trying to use GPU threads. I'll look into it.

If you have mingw64 installed, I can tell you how to recompile to avoid that issue. Alternatively you can d/l the AMD SDK and install it.
This occurs when OpenCL.dll is not found at runtime. You will need to install it. If you have mingw64 installed, then you can rebuild with ENABLE_GPU=no in the makefile. The check leading to this error is done when the application is loaded by the OS and before it executes so I have no way to catch and ignore.
rogue is online now   Reply With Quote
Old 2019-05-30, 20:42   #106
chroma
 
"Marian Otremba"
Jan 2017
Kielcza, Poland

11 Posts
Default

Quote:
Originally Posted by rogue View Post
This occurs when OpenCL.dll is not found at runtime. You will need to install it. If you have mingw64 installed, then you can rebuild with ENABLE_GPU=no in the makefile. The check leading to this error is done when the application is loaded by the OS and before it executes so I have no way to catch and ignore.

OpenCL.dl I have 2 times
c: \ Windows \ System32 \ OpenCL.DLL
c: \ Windows \ SysWOW64 \ OpenCL.DLL
Copying it to the folder from mfsieve gives nothing

The link I gave was mfsieve compiled by a lalera. His program works correctly without any additions.
A normal computer user usually does not have any programming tools and wants the program to run on his computer. You should compile your programs so that the program works independently.

Ideally, you would check your compiled programs on a computer without mingw64 and other software tools.

PS. I do not have mingw64 because I'm not a programmer
chroma is offline   Reply With Quote
Old 2019-05-31, 13:18   #107
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

Quote:
Originally Posted by chroma View Post
OpenCL.dl I have 2 times
c: \ Windows \ System32 \ OpenCL.DLL
c: \ Windows \ SysWOW64 \ OpenCL.DLL
Copying it to the folder from mfsieve gives nothing

The link I gave was mfsieve compiled by a lalera. His program works correctly without any additions.
A normal computer user usually does not have any programming tools and wants the program to run on his computer. You should compile your programs so that the program works independently.

Ideally, you would check your compiled programs on a computer without mingw64 and other software tools.

PS. I do not have mingw64 because I'm not a programmer
He likely compiled with DEBUG=no in the makefile or built an old version that didn't support OpenCL. The software is designed to only use OpenCL if you provide a command line argument to run a thread with OpenCL. I can't help it if Windows chooses to do this verification when the software is loaded rather than letting the software make the decision at runtime.

The software doesn't require any programming tools. Most people that run my software don't have mingw64 installed. I only suggested that in case you were willing to trying building it yourself. I suspect an incompatibility between the OpenCL SDK that I used to build mfsieve and the OpenCL that you have on your computer. I have little control over that.
rogue is online now   Reply With Quote
Old 2019-05-31, 21:34   #108
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

634710 Posts
Default

Here is the build of mfsieve based upon the current mtsieve framework. This build does not have any GPU capabilities.

Last fiddled with by rogue on 2020-09-24 at 19:47
rogue is online now   Reply With Quote
Old 2019-06-01, 20:04   #109
chroma
 
"Marian Otremba"
Jan 2017
Kielcza, Poland

11 Posts
Default

Quote:
Originally Posted by rogue View Post
Here is the build of mfsieve based upon the current mtsieve framework. This build does not have any GPU capabilities.

Thank you for the next mfsieve compilation.
I did a comparison of 3 mfsieve files
S1 - file compiled by the lalera
S2 - The mfsieve file in mtsieve framework
S3 - the file mfsieve-1.5 last delivered by you

I tested them on different versions of windows 64
Vista w7 w8.1 w10
S1 + + + +
S2 - - - +
S3 ? ? + +

mfsieve from mtsieve framework (S2) works only on w10!

I have w8.1 and the S3 version works flawlessly. On this computer with i7 I could
easily choose the option -W8. However, the calculation time is greater than for the S1 version (4 * 2)
On the computer with w10 the calculation time for S1 and S2 was similar.

Conclusion: On Win 8 and below, I recommend S3 or S1 and for w10 S2.

PS.1. I have corrected the link to mfsieve at mfprimes.cba.pl/participate.html
2 Correct the link in mtsieve.html - Mutifactorial - to the new address mfprimes.cba.pl

Last fiddled with by chroma on 2019-06-01 at 20:22
chroma is offline   Reply With Quote
Old 2019-06-02, 00:21   #110
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

18CB16 Posts
Default

Quote:
Originally Posted by chroma View Post
Thank you for the next mfsieve compilation.
I did a comparison of 3 mfsieve files
S1 - file compiled by the lalera
S2 - The mfsieve file in mtsieve framework
S3 - the file mfsieve-1.5 last delivered by you

I tested them on different versions of windows 64
Vista w7 w8.1 w10
S1 + + + +
S2 - - - +
S3 ? ? + +

mfsieve from mtsieve framework (S2) works only on w10!

I have w8.1 and the S3 version works flawlessly. On this computer with i7 I could
easily choose the option -W8. However, the calculation time is greater than for the S1 version (4 * 2)
On the computer with w10 the calculation time for S1 and S2 was similar.

Conclusion: On Win 8 and below, I recommend S3 or S1 and for w10 S2.

PS.1. I have corrected the link to mfsieve at mfprimes.cba.pl/participate.html
2 Correct the link in mtsieve.html - Mutifactorial - to the new address mfprimes.cba.pl
There are other factors in determining overall speed. Assuming you use a single thread, what are the speeds on windows 7 or windows 8?

I suggest that you have links to both, one for the non-GPU enabled version and one for the GPU enabled version.

The mfsieve 1.5 is also from the mtsieve framework. The only difference is that I compiled it with disabled GPU functionality.

BTW, I would never recommend a build of my software that is supplied by a third party. The main reason is that I cannot support it. I can only support software that you get directly from links I provide. If the other software is buggy, I won't be able to fix it.

Last fiddled with by rogue on 2019-06-02 at 00:55
rogue is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Twin prime search? MooooMoo Twin Prime Search 115 2010-08-29 17:38
Prime Search at School Unregistered Information & Answers 5 2009-10-15 22:44
k=51 or about coordinated prime search Kosmaj Riesel Prime Search 7 2007-07-13 22:15
Prime Search on PS-3? Kosmaj Riesel Prime Search 6 2006-11-21 15:19
Prime Search forum geoff Forum Feedback 3 2006-07-26 03:17

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


Fri Jul 16 17:17:38 UTC 2021 up 49 days, 15:04, 1 user, load averages: 1.81, 1.82, 1.69

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.