mersenneforum.org  

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

Reply
Thread Tools
Old 2019-11-27, 17:05   #628
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

13×151 Posts
Default

Quote:
Originally Posted by kriesel View Post
..And I say that as a user of DOS from 1982 & Windows from 1993, and linux rarely. (A cpu is a terrible thing to waste, by leaving it idle.) I routinely use cpu and gpu in the SAME 12-hour Colab session. See the third code block in https://www.mersenneforum.org/showpo...73&postcount=8
Me, a DOS user since 1987. I remember having Windows 3.0, but not sure when that came out. It was not much beyond a fancy menu for other DOS based programs. 32 years I've been at this. I am 64 years old so I guess that qualifies me as a senior-citizen of the computer age. Perhaps we both are.

I will check out your link above. I'll guess and say there is a way to change the work-type? I like to rotate once in a while.

storm5510 is offline   Reply With Quote
Old 2019-11-27, 17:58   #629
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

5,437 Posts
Default

Quote:
Originally Posted by kracker View Post
Is the single,(likely memory shared) core worth the time to setup considering how much more powerful the GPU's are?

Well... it's one core sitting around, doing nothing so I guess...
It's pretty set-and-forget since it gets assignments from primenet, reports progress, and reports results.
It's no more additional effort than just running sessions for a gpu, once it's set up.

I started a PRP in 87M on Oct 13 and it reached 45M iterations yesterday, including delays from when I could not get a backend at all. Another was started Oct 18 and is at iteration 52M, projected to finish in 2 weeks (M86939693).


Last fiddled with by kriesel on 2019-11-27 at 17:58
kriesel is offline   Reply With Quote
Old 2019-11-27, 18:05   #630
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

153D16 Posts
Default

Quote:
Originally Posted by storm5510 View Post
Me, a DOS user since 1987. I remember having Windows 3.0, but not sure when that came out. It was not much beyond a fancy menu for other DOS based programs. 32 years I've been at this. I am 64 years old so I guess that qualifies me as a senior-citizen of the computer age. Perhaps we both are.
yes.
Quote:
I will check out your link above. I'll guess and say there is a way to change the work-type?
Yes.

Correction, Windows since 1990. Got a license with an 80386 system. https://en.wikipedia.org/wiki/Windows_3.0
WFWG after that, NT in Oct 1992 prerelease.
VMS in 1981.
Fortran on punch cards from 1968 as a teen.
kriesel is offline   Reply With Quote
Old 2019-11-28, 00:01   #631
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

13·151 Posts
Default

Quote:
Originally Posted by kriesel View Post
...Correction, Windows since 1990. Got a license with an 80386 system. https://en.wikipedia.org/wiki/Windows_3.0
WFWG after that, NT in Oct 1992 prerelease.
VMS in 1981.
Fortran on punch cards from 1968 as a teen.
When my older brother completed his enlistment in the USAF in 1966, he moved to Indianapolis to be closer to his then girlfriend. He went to a school there, and learned some language on a single computer that filled a room larger than most peoples' garage. It was punch-cards. When he got a job, he had a big briefcase in which he carried his stacks of punch-cards in. I picked it up once. It must have weighed 30 pounds. My brothers' "then girlfriend," he married her in 1972. They are still together. He was 77 this past summer.

I learned COBOL in trade-school. That was on an IBM System 30, I believe. The size of a refrigerator and super noisy.

I think we will get crowned if we go on with this.
storm5510 is offline   Reply With Quote
Old 2019-11-28, 01:48   #632
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

13·151 Posts
Default

Reference Post #625

I have copied the second script out and made the needed changes. This is the one with the extra echo statements. I added my user name, and so on. I was able to understand enough of the code to know what to look for.

It seems that, somewhere near the top, there should be a reference to my Google Drive user name and password. I do not see this anywhere. Then again, I have to be logged in to create a new notebook, so this would not be needed.

At the very bottom, a reference to mfaktc is made. I am not sure what this is about?

I don't believe I have missed anything. I will give this a try when I get brave enough.
storm5510 is offline   Reply With Quote
Old 2019-11-30, 01:41   #633
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

125716 Posts
Default GPU off with warning

When I went to start Kaggle this evening the GPU was off.
When I restarted it I got a warning:

"Custom packages are not supported for GPU instances"

But it still turned on the GPU and it if running mfaktc again.

For how much longer?????
petrw1 is online now   Reply With Quote
Old 2019-11-30, 17:55   #634
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2·89 Posts
Default

Strange thing on P100.
My script:
Code:
import os.path
from google.colab import drive

if not os.path.exists('/content/drive/My Drive'):
  drive.mount('/content/drive')

%cd '/content/drive/My Drive/cudalucas/'

!cp 'CUDALucas' /usr/local/bin/
!chmod 755 '/usr/local/bin/CUDALucas'

!cd '.' && LD_LIBRARY_PATH="lib:${LD_LIBRARY_PATH}" /usr/local/bin/CUDALucas
My output:
Code:
/content/drive/My Drive/cudalucas

CUDALucas v2.06 64-bit build, compiled Oct  2 2019 @ 18:44:42

binary compiled for CUDA   10.0
CUDA runtime version       10.0
CUDA driver version        10.10

---------------- DEVICE 0 ----------------
Device Name               Tesla P100-PCIE-16GB
ECC Support?              Enabled
Compatibility             6.0
clockRate (MHz)           1328
memClockRate (MHz)        715
totalGlobalMem            17071734784
totalConstMem             65536
l2CacheSize               4194304
sharedMemPerBlock         49152
regsPerBlock              65536
warpSize                  32
memPitch                  2147483647
maxThreadsPerBlock        1024
maxThreadsPerMP           2048
multiProcessorCount       56
maxThreadsDim[3]          1024,1024,64
maxGridSize[3]            2147483647,65535,65535
textureAlignment          512
deviceOverlap             1
pciDeviceID               4
pciBusID                  0

You may experience a small delay on 1st startup to due to Just-in-Time Compilation

*** buffer overflow detected ***: /usr/local/bin/CUDALucas terminated
What can be wrong if it working fine on K80?
Lorenzo is offline   Reply With Quote
Old 2019-11-30, 18:22   #635
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

C5616 Posts
Default

Quote:
Originally Posted by Lorenzo View Post
Strange thing on P100.
Yep, I posted about this issue before in this thread. I compiled CUDALucas on the P100 but it still did not work. It can run -cufftbench but not a real exponent.

I added gpuowl to my Google Drive and in my script after CUDALucas, so if I get a P100 then CUDALucas fails and script moves on and run gpuowl PRP test instead on another exponent.
ATH is offline   Reply With Quote
Old 2019-11-30, 18:45   #636
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2·89 Posts
Default

Quote:
Originally Posted by ATH View Post
Yep, I posted about this issue before in this thread. I compiled CUDALucas on the P100 but it still did not work. It can run -cufftbench but not a real exponent.

I added gpuowl to my Google Drive and in my script after CUDALucas, so if I get a P100 then CUDALucas fails and script moves on and run gpuowl PRP test instead on another exponent.
ohhh, I see (( Thank you for the advice. I will try this approach

Last fiddled with by Lorenzo on 2019-11-30 at 19:17
Lorenzo is offline   Reply With Quote
Old 2019-12-02, 20:25   #637
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

Anyone can explain how to compile gpuOwL on Colab?
ATH is offline   Reply With Quote
Old 2019-12-03, 01:12   #638
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

5,437 Posts
Default

Quote:
Originally Posted by ATH View Post
Anyone can explain how to compile gpuOwL on Colab?
How to compile, and how to run, in one post.
https://www.mersenneforum.org/showpo...30&postcount=7
Since it uses git clone, and google drive, it gets the latest commit, and saves the compile results for efficiency.

There's a whole reference thread on colab in https://mersenneforum.org/showthread.php?t=24607

Last fiddled with by kriesel on 2019-12-03 at 01:14
kriesel is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternatives to Google Colab kriesel Cloud Computing 11 2020-01-14 18:45
Notebook enzocreti enzocreti 0 2019-02-15 08:20
Computer Diet causes Machine Check Exception -- need heuristics help Christenson Hardware 32 2011-12-25 08:17
Computer diet - Need help garo Hardware 41 2011-10-06 04:06
Workunit diet ? dsouza123 NFSNET Discussion 5 2004-02-27 00:42

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


Fri Aug 6 05:45:41 UTC 2021 up 14 days, 14 mins, 1 user, load averages: 3.30, 3.04, 2.90

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.