mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GpuOwl (https://www.mersenneforum.org/forumdisplay.php?f=171)
-   -   gpuOwL: an OpenCL program for Mersenne primality testing (https://www.mersenneforum.org/showthread.php?t=22204)

storm5510 2020-08-05 15:54

[QUOTE=kriesel]...Then after the primality test is finished, the proof file is generated, and the proof file must be uploaded to the server, either through gpuowl's primenet.py or through the uploader program George provided, before a CERT verification can be run on it to validate the primality test. [/QUOTE]

"gpuOwl's primenet.py." [I]Python[/I]. I do not know anything about [I]Python[/I]. I prefer [I]Perl[/I]. Maybe a compiled binary would be the best way for all, one for Linux and one for Windows.

Until late yesterday evening, I was not aware that I was four updates behind with [I]gpuOwl[/I]. Now, updated. I decided to test my setup by running a [U]PRP-CF[/U] test.

In the folder created using the exponent as a title, resides another folder titled "proof." In this folder is 154 items and growing rapidly. This must be the proof data which would be uploaded. Since this particular exponent has three known factors, perhaps the transfer may not be needed. The test itself, is running with no problems.

kriesel 2020-08-05 16:09

[QUOTE=storm5510;552575]A person runs the PRP test, another runs the DC test, and still another will be assigned the CERT verification test. I believe I may see where this is headed, the elimination of LL and LL-DC.[/QUOTE]
Four likely cases in the short term, and a possible fifth:
1) First primality test is PRP without -proof. It requires a PRP-DC. The PRP-DC is also without -proof. Generally these will be composite and match residues and be sufficient. Cost is 2 PRPs, slightly less cost than 2 LL's plus the occasional LL TC etc which is ~2.04 on the average, but more reliable because of the GEC.

2) First primality test is PRP without -proof. It requires a PRP-DC. The PRP-DC is done with -proof. A CERT run will follow. Cost is ~2.01 PRPs. Generally the PRP's will be composite and match residues. Even more reliable than traditional PRP & PRPDC.

3) First primality test is PRP with -proof. A CERT run follows. Highly reliable, more reliable than case 1's PRP & PRPDC. Cost ~1.01 PRPs, about half that of case 1 or doing LL & LLDC. This is the preferred form of all future first primality tests.

4) First test was an LL. By current assignment rules an LLDC follows, not a PRP. Cost with normal error rate is ~2.04 primality tests. Less reliable and more cost than traditional PRP & PRPDC. (GEC in PRP is almost 100% error detection, while Jacobi check is 50% detection in some LL capable software and absent in other software.)

5) One could consider changing the assignment rules to allow and accept PRP with -proof and CERT as DC for an LL first test. Its higher reliability is an advantage.

In the rare case that any of the preceding yield probably-prime or prime not composite, from reliable software, multiple LL tests will be performed on a variety of hardware and software to confirm the new find. (CUDALucas will be treated skeptically due to known issues that can produce false positives.)

kriesel 2020-08-05 16:16

[QUOTE=storm5510;552641]This must be the proof data which would be uploaded.[/QUOTE]The collection of interim files get stored until the PRP is finished beyond exponent p, up to topk. Then the proof file is generated from them. The collection is multiple GB for a wavefront exponent and normal proof power, and temporary and not uploaded. The proof file is a fraction of a GB and gets uploaded.

Uncwilly 2020-08-05 17:08

At the moment, I think that LL's that need a DC, should in general be left to machines that are not upgraded to v30, rather than do a fresh PRP.
But, the "strategic" LL-DC candidates (those that have suspect results from a user that is not a forumite) should go to PRP with a cert.

chalsall 2020-08-05 17:41

[QUOTE=Uncwilly;552657]But, the "strategic" LL-DC candidates (those that have suspect results from a user that is not a forumite) should go to PRP with a cert.[/QUOTE]

However... That wouldn't give us data as to suspect machines. I beleive Aaron uses this data to further refine SDCs.

Uncwilly 2020-08-05 18:20

The question comes about of what can be done about those suspect machines. A forumite can be contacted after their results are directly DC'ed, Anon can't be.

preda 2020-08-05 18:49

[QUOTE=storm5510;552641]"gpuOwl's primenet.py." [I]Python[/I]. I do not know anything about [I]Python[/I]. I prefer [I]Perl[/I]. Maybe a compiled binary would be the best way for all, one for Linux and one for Windows.[/QUOTE]

If you prefer perl, it shouldn't be too hard to translate the python script to perl.

If you have a python or perl script, you can inspect it and see what it does. You can fix bugs or tweak the behavior. If you have an executable, you have to trust somebody else about what it does, and can't fix or alter the behavior yourself.

Arguably, a python script can be turned into an executable, there are tools for that, but I personally don't see the benefit of that transition.

[QUOTE]I decided to test my setup by running a [U]PRP-CF[/U] test.[/QUOTE]
GpuOwl does not do PRP-CF AFAIK... !?

[QUOTE]
In the folder created using the exponent as a title, resides another folder titled "proof." In this folder is 154 items and growing rapidly. This must be the proof data which would be uploaded. Since this particular exponent has three known factors, perhaps the transfer may not be needed. The test itself, is running with no problems.[/QUOTE]
Those are the temporary checkpoints that are used for the proof generation when the test is completed. Afterwards they are deleted and only the proof, much smaller, is kept and uploaded.

kriesel 2020-08-05 19:54

[QUOTE=preda;552672]Arguably, a python script can be turned into an executable, there are tools for that, but I personally don't see the benefit of that transition.

GpuOwl does not do PRP-CF AFAIK... !?
[/QUOTE]Mihai,
I'm not sure any of my Windows systems have python installed. Standard Windows installations don't include a development environment for anything. It would be tedious to install python on every system capable of running gpuowl.
I have one perl development system and compile scripts to use on the rest.
Also there's one gpuowl-build system and copy the compiled file to the rest after putting it on a server.
It's very understandable if you don't want to compile your primenet.py, or haven't Windows set up on which to do it for others.
We Windows users will just have to work something out for that.

I looked at Storm5510's "[URL="https://www.mersenne.org/report_exponent/?exp_lo=9244309&full=1"]PRP-CF[/URL]" result earlier. It looks to me someone else had done a PRP-CF run before him, and his run was PRP not PRP-CF. The residues match because they're compatible type. And now ATH has a PRP run in progress on it also.

Prime95 2020-08-05 21:10

You can use prime95 v30.2 to upload gpuowl proofs. Just make sure the proof files are in the same folder as prime95.exe. That's what I do (to get bandwidth limiting and time-of-day features).

storm5510 2020-08-05 23:34

[QUOTE=preda]GpuOwl does not do PRP-CF AFAIK... !?[/QUOTE]

[QUOTE=kriesel]I looked at Storm5510's "[URL="https://www.mersenne.org/report_exponent/?exp_lo=9244309&full=1"]PRP-CF[/URL]" result earlier. It looks to me someone else had done a PRP-CF run before him, and his run was PRP not PRP-CF.
[/QUOTE]

The worktodo line said "PRP" only. The result line says "PRP-3." Below is a test I pulled from Primenet for demonstration only. I unreserved it later.

[CODE]PRP=xxxx,1,2,10369241,-1,99,0,"765044109502655639249"[/CODE]The assignment in my account also reads "PRP." The reservation was from "Double-check tests on Mersenne cofactors." I do not know how a determination is made based on the work line as to the type.

paulunderwood 2020-08-05 23:42

[QUOTE=storm5510;552712]The worktodo line said "PRP" only. The result line says "PRP-3." Below is a test I pulled from Primenet for demonstration only. I unreserved it later.

[CODE]PRP=xxxx,1,2,10369241,-1,99,0,"765044109502655639249"[/CODE]The assignment in my account also reads "PRP." The reservation was from "Double-check tests on Mersenne cofactors." I do not know how a determination is made based on the work line as to the type.[/QUOTE]

It looks like the cofactor is given: 765044109502655639249


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.