mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing > GpuOwl

Reply
 
Thread Tools
Old 2020-09-17, 06:00   #45
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

2×2,207 Posts
Default

Quote:
Originally Posted by moebius View Post
Your compiled version is a few posts later.
I tried that one first and got the same error.

Just now I tried adding the files as ATH suggested and still same error.

Must be an ID-10-T error on my part.

I put all of this into a subfolder to reduce clutter from previous attempts. This is what I have:

/content/drive/My Drive/HOOT
ls -l ./
total 4691
-rw------- 1 root root 49 Sep 17 04:49 config.txt
-rwx------ 1 root root 988648 Sep 17 05:11 gpuowl.exe
-rw------- 1 root root 416 Sep 17 04:55 gpuowl.log
-rw------- 1 root root 870 Sep 17 05:57 gpuowllog.txt
-rw------- 1 root root 1903624 Sep 17 05:55 libstdc++.so.6
-rw------- 1 root root 1903624 Sep 17 05:55 libstdc++.so.6.0.28
drwx------ 2 root root 4096 Sep 17 04:55 proof
-rw------- 1 root root 0 Sep 17 04:55 results.txt
-rwx------ 1 root root 50 Sep 17 05:10 worktodo.txt

Last fiddled with by petrw1 on 2020-09-17 at 06:01
petrw1 is online now   Reply With Quote
Old 2020-09-17, 06:05   #46
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

2×2,207 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Your compiled version is a few posts later.
I tried that one first and got the same error.

Just now I tried adding the files as ATH suggested and still same error.

Must be an ID-10-T error on my part.

I put all of this into a subfolder to reduce clutter from previous attempts. This is what I have:

/content/drive/My Drive/HOOT
ls -l ./
total 4691
-rw------- 1 root root 49 Sep 17 04:49 config.txt
-rwx------ 1 root root 988648 Sep 17 05:11 gpuowl.exe
-rw------- 1 root root 416 Sep 17 04:55 gpuowl.log
-rw------- 1 root root 870 Sep 17 05:57 gpuowllog.txt
-rw------- 1 root root 1903624 Sep 17 05:55 libstdc++.so.6
-rw------- 1 root root 1903624 Sep 17 05:55 libstdc++.so.6.0.28
drwx------ 2 root root 4096 Sep 17 04:55 proof
-rw------- 1 root root 0 Sep 17 04:55 results.txt
-rwx------ 1 root root 50 Sep 17 05:10 worktodo.txt

Hmmm ... seems to be running after all... YIPPEE
petrw1 is online now   Reply With Quote
Old 2020-09-17, 07:13   #47
moebius
 
moebius's Avatar
 
Jul 2009
Germany

22·89 Posts
Default

If you use several google accounts at colab and the new gpuowl version that generates .proof files, you have to transfer all temporary files in the proof folder.

To do this, I'll zip the entire gpuowl directory to download using the instruction.

!zip -r '/content/drive/My Drive/Directory.zip' '/content/drive/My Drive/gpuowl-master'

and then the following to unzip the files back into the correct directory after uploading

!unzip -o -d '/' '/content/drive/My Drive/Directory.zip'

Last fiddled with by moebius on 2020-09-17 at 07:39
moebius is online now   Reply With Quote
Old 2020-09-18, 07:05   #48
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

2×2,207 Posts
Default P-1 Error

Stage 2 of:
Code:
B1=1500000,B2=30000000;PFactor=0,1,2,40370521,-1,74,2
config.txt:
Code:
-user petrw1 -cpu colab -device 0 -maxAlloc 30000
Code:
2020-09-18 06:37:35 colab P-1 (B1=1500000, B2=30000000, D=30030): primes 1743704, expanded 1767682, doubles 282837 (left 1187489), singles 1178030, total 1460867 (84%)
2020-09-18 06:37:35 colab 40370521 P2 using blocks [50 - 999] to cover 1460867 primes
2020-09-18 06:37:36 colab 40370521 P2 using 1440 buffers of 18.0 MB each
2020-09-18 06:37:51 colab Exception gpu_error: MEM_OBJECT_ALLOCATION_FAILURE clEnqueueCopyBuffer(queue, src, dst, 0, 0, size, 0, NULL, NULL) at clwrap.cpp:339 copyBuf
I increased maxAlloc to 100000; same error

Last fiddled with by petrw1 on 2020-09-18 at 08:07
petrw1 is online now   Reply With Quote
Old 2020-09-18, 09:56   #49
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

1101011011002 Posts
Default

Quote:
Originally Posted by petrw1 View Post

I increased maxAlloc to 100000; same error
I think you should have decreased it.
paulunderwood is offline   Reply With Quote
Old 2020-09-18, 13:13   #50
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

4,567 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Stage 2 of:
Code:
B1=1500000,B2=30000000;PFactor=0,1,2,40370521,-1,74,2
config.txt:
Code:
-user petrw1 -cpu colab -device 0 -maxAlloc 30000
Code:
2020-09-18 06:37:35 colab P-1 (B1=1500000, B2=30000000, D=30030): primes 1743704, expanded 1767682, doubles 282837 (left 1187489), singles 1178030, total 1460867 (84%)
2020-09-18 06:37:35 colab 40370521 P2 using blocks [50 - 999] to cover 1460867 primes
2020-09-18 06:37:36 colab 40370521 P2 using 1440 buffers of 18.0 MB each
2020-09-18 06:37:51 colab Exception gpu_error: MEM_OBJECT_ALLOCATION_FAILURE clEnqueueCopyBuffer(queue, src, dst, 0, 0, size, 0, NULL, NULL) at clwrap.cpp:339 copyBuf
I increased maxAlloc to 100000; same error
From the program's help output:
Code:
-maxAlloc          : limit GPU memory usage to this value in MB (needed on non-AMD GPUs)
Aim for -maxAlloc somewhat less than what the Colab gpu you get has installed; at least a gigabyte less. It can't allocate what's not there, or used for other things. See https://www.mersenneforum.org/showpo...5&postcount=15
(If anyone has data on V100 or any other model encountered, PM me and I'll add it.)

Last fiddled with by kriesel on 2020-09-18 at 13:18
kriesel is online now   Reply With Quote
Old 2020-09-18, 16:01   #51
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

2·2,207 Posts
Default

Quote:
Originally Posted by kriesel View Post
From the program's help output:
Code:
-maxAlloc          : limit GPU memory usage to this value in MB (needed on non-AMD GPUs)
Aim for -maxAlloc somewhat less than what the Colab gpu you get has installed; at least a gigabyte less. It can't allocate what's not there, or used for other things. See https://www.mersenneforum.org/showpo...5&postcount=15
(If anyone has data on V100 or any other model encountered, PM me and I'll add it.)
Thanks...how can I tell which GPU I got. And more importantly i need to set this parm before I know what I'm going to get, yes/no?
petrw1 is online now   Reply With Quote
Old 2020-09-18, 16:10   #52
moebius
 
moebius's Avatar
 
Jul 2009
Germany

22·89 Posts
Default

use this to see the GPU you got at your actual running time
!nvidia-smi -L
moebius is online now   Reply With Quote
Old 2020-09-18, 16:47   #53
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

4,567 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Thanks...how can I tell which GPU I got. And more importantly i need to set this parm before I know what I'm going to get, yes/no?
You could code for the worst case. Or for multiple cases as in attachment of https://www.mersenneforum.org/showpost.php?p=537155&postcount=16
or reject gpus that don't match your preference.

Last fiddled with by kriesel on 2020-09-18 at 16:48
kriesel is online now   Reply With Quote
Old 2020-09-18, 16:53   #54
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

441410 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Thanks...how can I tell which GPU I got. And more importantly i need to set this parm before I know what I'm going to get, yes/no?
If the smallest MiB is 7611 then I could use MaxAlloc=7500 to be safe?

However, with 7500 I couldn't do stage 2 of a smaller test; error was:
Code:
FFT size too large for exponent.
Increasing MaxAlloc allowed that Stage 2 to run.
petrw1 is online now   Reply With Quote
Old 2020-09-18, 21:51   #55
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

22×32×5×7 Posts
Default

Quote:
Originally Posted by petrw1 View Post
I increased maxAlloc to 100000; same error
maxAlloc is in Megabytes, so 100'000 indicates 100GB.

Maybe you should start with a conservativelly small value, such as 3000 or 7000, if you expect GPUs with at least 4GB or at least 8GB of RAM. Once that's working, you can move up.
preda is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpuowl tuning M344587487 GpuOwl 14 2018-12-29 08:11
How to interface gpuOwl with PrimeNet preda PrimeNet 2 2017-10-07 21:32
runtime question yoyo YAFU 1 2015-01-08 07:07
runtime error when using redc ltd GMP-ECM 5 2009-10-30 13:09
ECM Runtime and F20 D. B. Staple Factoring 11 2007-12-12 16:52

All times are UTC. The time now is 00:45.

Tue Oct 20 00:45:02 UTC 2020 up 39 days, 21:56, 0 users, load averages: 2.34, 2.43, 2.35

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.