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)

Prime95 2020-05-23 04:48

[QUOTE=ATH;546269]I just checked, even though the gpuowl version I use on colab has "[B]errors":{"gerbicz":0}[/B]" in the json result line, primenet still says only "PRP Unverified" without the (Reliable), so I guess it is just a manual results turnin issue.

[M]91385527[/M][/QUOTE]

Good catch - I'll follow up with James.

kriesel 2020-05-23 15:51

CudaLucas and gpuowl performnce compared on same gpus
 
CUDALucas v2.06 May 5 2017 version
Device GeForce GTX 1060 3GB
Compatibility 6.1
clockRate (MHz) 1771
memClockRate (MHz) 4004

fft max exp ms/iter
4608 85111207 8.5188
4800 88579669 9.5860
5184 95507747 9.6766
5376 98967641 10.8774


Gpuowl v6.11-288
9074 us/iter at 5M 92M exponent; gpuowl 6.64% faster


Device GeForce GTX 1080 Ti
Compatibility 6.1
clockRate (MHz) 1620
memClockRate (MHz) 5505

fft max exp ms/iter
4608 85111207 3.2221
5184 95507747 3.5816
5292 97454309 4.0694

gpupowl v6.11-292
3523 us/iter at 5M 95.5M exponent; gpuowl 1.66% faster

moebius 2020-05-31 13:37

Asus Vega 64 ROG STRIX 8GB
 
2020-05-31 15:06:36 gpuowl v6.11-292-gecab9ae
2020-05-31 15:06:36 Note: not found 'config.txt'
2020-05-31 15:06:36 device 0, unique id ''
2020-05-31 15:06:36 gfx900-0 109906999 FFT: 6M 1K:12:256 (17.47 bpw)
2020-05-31 15:06:36 gfx900-0 Expected maximum carry32: 332C0000
2020-05-31 15:06:37 gfx900-0 OpenCL args "-DEXP=109906999u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=12u -DWEIGHT_STEP=0xb.8eb5f7b291c3p-3 -DIWEIGHT_STEP=0xb.13395a481b1p-4 -DWEIGHT_BIGSTEP=0x9.837f0518db8a8p-3 -DIWEIGHT_BIGSTEP=0xd.744fccad69d68p-4 -DPM1=0 -DAMDGPU=1 -cl-fast-relaxed-math -cl-std=CL2.0 "
2020-05-31 15:06:37 gfx900-0 ASM compilation failed, retrying compilation using NO_ASM
2020-05-31 15:06:43 gfx900-0 OpenCL compilation in 6.15 s
2020-05-31 15:06:44 gfx900-0 109906999 OK 59400800 loaded: blockSize 400, 7eadb31603ceef39
2020-05-31 15:06:46 gfx900-0 109906999 OK 59401600 54.05%; 1861 us/it; ETA 1d 02:07; 6ec5bdc61a1975cf (check 0.91s)
2020-05-31 15:13:01 gfx900-0 109906999 OK 59600000 54.23%; 1883 us/it; ETA 1d 02:19; e590d978d773482d (check 0.91s)
2020-05-31 15:19:20 gfx900-0 109906999 OK 59800000 54.41%; 1888 us/it; ETA 1d 02:17; 486333e0c90108ac (check 0.91s)
2020-05-31 15:25:38 gfx900-0 109906999 OK 60000000 54.59%; 1889 us/it; ETA 1d 02:11; 19bf8fb66b07c7e6 (check 0.91s)
2020-05-31 15:31:57 gfx900-0 109906999 OK 60200000 54.77%; 1889 us/it; ETA 1d 02:05; 26eec4f053b2dbf3 (check 0.91s)
|

moebius 2020-05-31 15:25

2020-05-31 17:18:05 gpuowl v6.11-288-g20c4213
2020-05-31 17:18:05 Note: not found 'config.txt'
2020-05-31 17:18:05 device 0, unique id ''
2020-05-31 17:18:05 gfx900-0 94607437 FFT: 5M 1K:10:256 (18.04 bpw)
2020-05-31 17:18:05 gfx900-0 Expected maximum carry32: 44E30000
2020-05-31 17:18:06 gfx900-0 OpenCL args "-DEXP=94607437u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=10u -DWEIGHT_STEP=0xf.8262bb7326f28p-3 -DIWEIGHT_STEP=0x8.40cb53a4a1fd8p-4 -DWEIGHT_BIGSTEP=0xd.744fccad69d68p-3 -DIWEIGHT_BIGSTEP=0x9.837f0518db8a8p-4 -DPM1=0 -DAMDGPU=1 -cl-fast-relaxed-math -cl-std=CL2.0 "
2020-05-31 17:18:06 gfx900-0 ASM compilation failed, retrying compilation using NO_ASM
2020-05-31 17:18:12 gfx900-0 OpenCL compilation in 6.11 s
2020-05-31 17:18:13 gfx900-0 94607437 OK 0 loaded: blockSize 400, 0000000000000003
2020-05-31 17:18:15 gfx900-0 94607437 OK 800 0.00%; 1500 us/it; ETA 1d 15:26; 74fe0996bd85d39f (check 0.73s)
2020-05-31 17:23:19 gfx900-0 94607437 OK 200000 0.21%; 1524 us/it; ETA 1d 15:57; ba383754cbdc7083 (check 0.74s)
2020-05-31 17:23:34 gfx900-0 Stopping, please wait..
2020-05-31 17:23:36 gfx900-0 94607437 OK 210400 0.22%; 1527 us/it; ETA 1d 16:02; 58b86283258646ee (check 0.75s)
2020-05-31 17:23:36 gfx900-0 Exiting because "stop requested"
2020-05-31 17:23:36 gfx900-0 Bye

Cheetahgod 2020-06-01 06:08

Could someone please help me set up gpuOwl. I have been trying for hours to compile it. I am using ubuntu 18.0.4.4 and I could only find Rocm 3.3 and not the suggest version 1.7. I have r270 gpu.

preda 2020-06-01 06:17

[QUOTE=Cheetahgod;546921]Could someone please help me set up gpuOwl. I have been trying for hours to compile it. I am using ubuntu 18.0.4.4 and I could only find Rocm 3.3 and not the suggest version 1.7. I have r270 gpu.[/QUOTE]

ROCm 3.3 is what you want, what everybody is using. What compilation problem do you hit?

preda 2020-06-01 12:53

PRP-Proof first steps
 
You may have seen the thread about VDF and PRP-proof: [url]https://mersenneforum.org/showthread.php?p=546880[/url]

I'm ATM working on a proof of concept (or "reference implementation") of PRP-proof in gpuowl. It's still early, in flux, bugs may be present more than usual, experimental still subject to change etc: I do not recomment to invest huge work in generating proofs for large exponents just to find this work lost because.. e.g. the proof file format changed.

Anyway, this is what's new:

- a new command line argument, -proof <power>, indicates to generate a proof of the given power after the completion of a PRP test. (power is a small integer around 9).

I'll go into a bit more detail about what exactly happens with -proof.

The whole concept of PRP-Proof only applies to a PRP test. In order to be able to generate the proof at the end of the PRP test, a full set of residues must be saved at regular intervals as the PRP test progresses. These are saved in the folder <exponent>/proof/. The number of these residues is 2^N (N being the proof power). They take up a significant amount of disk space.

Let's say you have a PRP test already started, half-way (without -proof). If you want to generate a proof for this test, it's too late because the needed residues for the first half of the test are not there. You have two options: give up on generating a proof for this exponent (recommended), or re-starting the exponent from the beginning with -proof to store the residues.

If you simply pass the command line argument -proof to such an ongoing PRP test, you'll see a warning about the missing residues and no proof will be generated. But the next PRP test, which will see the -proof from the beginning, will be able to generate the proof.

If you save the required residues for e.g. power 9, you can generate any proof power up to 9 from them. E.g. by running the PRP initially with -proof 9. After it completes, run the same exponent with -proof 8 -- the PRP will complete imediatelly and a new proof (of power 8) will be generated.

Once you have a proof file, which is saved in a file with extension ".proof" in the folder <exponent>, you can verify it by using the command line argument -verify , passing either the name of the proof file, or the name of the exponent folder.

That's all for now. If anybody wants to experiment with these things, I'd recomment to start with small exponents first that don't take a lot of time, to understand what's happening without feeling sorry for lost work.

Happy to answer questions about PRP-Proof.

kriesel 2020-06-01 15:20

2[SUP]9[/SUP] full size residues is a lot of disk space to commit to one exponent.
How low a power is adequate?

If -proof n is included in config.txt for prp work, does gpuowl properly ignore it and function correctly when the work is LLDC or P-1?

Prime95 2020-06-01 16:13

[QUOTE=Cheetahgod;546921]Could someone please help me set up gpuOwl. I have been trying for hours to compile it. I am using ubuntu 18.0.4.4 and I could only find Rocm 3.3 and not the suggest version 1.7. I have r270 gpu.[/QUOTE]

Try this as a starting point: [url]https://mersenneforum.org/showpost.php?p=511655&postcount=76[/url]

also do a "sudo apt install libncurses5"

ewmayer 2020-06-01 20:41

[QUOTE=Prime95;546943]Try this as a starting point: [url]https://mersenneforum.org/showpost.php?p=511655&postcount=76[/url]

also do a "sudo apt install libncurses5"[/QUOTE]

I find a full list of the minimal-package-set-needed to be helpful - here my own working setup recipe, have done it under Ubuntu 19.10, hopefully works the same under v18*. I need gcc/gdb for my Mlucas builds, not sure if either needed for gpuOwl running. The [...] in the apt install line is not literal, just means "install all of these, one at a time":

o Install Ubuntu 19.04 Disco which comes with kernel 5.0.x
o sudo apt update
o sudo apt install [gcc|gdb|libgmp-dev|git|ssh|openssh-server|clinfo|libncurses5]
o Edit /etc/default/grub to add amdgpu.ppfeaturemask=0xffffffff to GRUB_CMDLINE_LINUX_DEFAULT
o sudo update-grub
o sudo apt install libnuma-dev
o wget -qO - [url]http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key[/url] | sudo apt-key add -
o echo 'deb [arch=amd64] [url]http://repo.radeon.com/rocm/apt/debian/[/url] xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
o sudo apt update && sudo apt install rocm-dev
o echo 'SUBSYSTEM=="kfd", KERNEL=="kfd", TAG+="uaccess", GROUP="video"' | sudo tee /etc/udev/rules.d/70-kfd.rules
o reboot
o git clone [url]https://github.com/preda/gpuowl[/url] && cd gpuowl && make
['clone' only on initial DL - subsequent updates can use 'git pull' from within the existing gpuowl-dir:
cd ~/gpuowl && git pull [url]https://github.com/preda/gpuowl[/url] && make]

Cheetahgod 2020-06-01 20:46

just tried ubunto 19.04. Forced me to upgrade to 19.10 which upon reboot gives me a kernal panic. going back to ubuntu 18.04


All times are UTC. The time now is 23:02.

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