mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-07-02, 14:19   #980
bayanne
 
bayanne's Avatar
 
"Tony Gott"
Aug 2002
Yell, Shetland, UK

30510 Posts
Default

Quote:
Originally Posted by bayanne View Post
Completed exponents are not being reported from Colab ...

Can you advise?
Seems to be sorted now
bayanne is offline   Reply With Quote
Old 2020-07-02, 22:06   #981
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

22×5×11×41 Posts
Default

Quote:
Originally Posted by bayanne View Post
Seems to be sorted now
Yeah; sorry. Error between keyboard and chair...

Stupidly busy at the moment. I check in on GPU72 several times a day to make sure things are sane, so if you see something strange please wait until 1200 UTC, and if things don't magically sort themselves out, please PM me.
chalsall is online now   Reply With Quote
Old 2020-07-02, 22:12   #982
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

902010 Posts
Default

Quote:
Originally Posted by moebius View Post
Hope they stay there persistent. Maybe something has been changed in the configuration of colab.
My ***very*** early prototyping with Colab (only last year did we discovered this resource!) suggests they will (or, at least, should).

My recollection is copying files from Google Drive to the local Colab filesystem (read "/") can have quite a bit of latency. But writing to the Drive from executing code in the VM seemed to be relatively quick and reliable.

Note that I haven't actually mounted a Drive in a Colab instance for many months (it doesn't scale for what I do with them (and other instance environments)). I do know that there are many here who *do* regularly do this now without complaint.
chalsall is online now   Reply With Quote
Old 2020-07-04, 17:09   #983
moebius
 
moebius's Avatar
 
Jul 2009
Germany

3×5×17 Posts
Lightbulb

Quote:
Originally Posted by moebius View Post
I have now logged in with a different Google account and lo and behold, the save....
note: it is better to change the directory with chdir(), because in some cases, a cd leaves the current working directory unchanged....

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/gpuowl-master/'
os.chdir ('/content/drive/My Drive/gpuowl-master/')
!chmod 755 '/content/drive/My Drive/gpuowl-master/gpuowl.exe'
!ls -la
!cd '.' && /content/drive/My\ Drive/gpuowl-master/gpuowl.exe -prp 333XXXXXX
moebius is online now   Reply With Quote
Old 2020-07-04, 17:47   #984
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

902010 Posts
Default

Quote:
Originally Posted by moebius View Post
note: it is better to change the directory with chdir(), because in some cases, a cd leaves the current working directory unchanged....
So long as you use "%cd" it should be persistent (within the context of the Python script). Using only "cd", on the other hand, does effectively nothing.

There's no downside in using chdir() though.
chalsall is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Notebook enzocreti enzocreti 0 2019-02-15 08:20
Educational Qualifications & Work Experience Raman Lounge 6 2009-02-19 06:59
Ancient notebook won't run Prime95 kwstone Hardware 4 2004-01-15 00:11
v23.5 seems to have activated speedstepping in my notebook?! E_tron Software 9 2003-08-19 08:59
What is your primary educational background? eepiccolo Lounge 8 2002-12-28 21:25

All times are UTC. The time now is 18:36.

Sat Jul 4 18:36:46 UTC 2020 up 101 days, 16:09, 1 user, load averages: 2.44, 2.49, 2.51

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.