![]() |
![]() |
#23 |
"Yves"
Jul 2017
Belgium
83 Posts |
![]()
Thanks again, Chalsall : GPU mode was not set (Shame on me !).
Now it's working fine ![]() Kitty mode is on ! |
![]() |
![]() |
![]() |
#24 |
If I May
"Chris Halsall"
Sep 2002
Barbados
23·3·461 Posts |
![]()
Hey, so... I hate finding something like this when I have pressing deliverables, but...
Further research has shown that the CoLab VM is a Ubuntu 18.04.3 environment, within which all user processes run as root. (!) This means that it is trivial to install software packages which don't already exist. For example, I was able to get my Perl submit_spider to run by first running this in a Section: Code:
!apt-get install libcrypt-ssleay-perl !apt-get install libwww-perl Over the weekend I'm going to put together a Notebook which automates the configuration of a VM, downloads work from GPU72, and then uploads the results back to GPU72 for the user(s) to submit to Primenet. I'm going to use authentication keys (AKs) tied to each GPU72 account, so that GPU72 nor Primenet's login credentials are required. I'll set things up such that only the AK is needed to run work; access to a user's Google Drive won't be needed. Lastly, each GPU72 account will be able to have multiple AKs, so people can ask "Friends and Family" to do work for them. Thoughts? And are there any GPU72 users who would like to help beta-test this? If so, please PM me and I'll give you the secret URLs to access. |
![]() |
![]() |
![]() |
#25 |
"Yves"
Jul 2017
Belgium
83 Posts |
![]()
Under Windows, you can easily integrate a Colab notebook in the Misfit workflow if you are working with a Google drive.
It's done … the Google drive synchronisation mechanisms will ensure a lean communication between misfit and the VM. |
![]() |
![]() |
![]() |
#26 |
"Dylan"
Mar 2017
10010100102 Posts |
![]()
Using the same type of script as chalsall did with mfaktc, I set up a script to handle CUDAPm1. Here's the procedure:
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/cudapm1//' #CUDAPm1 executable from https://download.mersenne.ca/CUDAPm1/CUDAPm1-0.22-cuda10-linux !cp 'cudapm1-linux.exe' /usr/local/bin/ !chmod 755 '/usr/local/bin/cudapm1-linux.exe' !mkdir /usr/local/bin/lib/ !cp 'lib/libcudart.so.6.5' /usr/local/bin/lib/ !cd '.' && LD_LIBRARY_PATH="lib:${LD_LIBRARY_PATH}" /usr/local/bin/cudapm1-linux.exe -selftest I got one of the T4's, and it is fast! Attached is the results from the cufft benchmark. |
![]() |
![]() |
![]() |
#27 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
23×3×461 Posts |
![]() Quote:
![]() I'm really excited about this! It can be used for all kinds of things; just build a Notebook which automates things as much as possible, and then have people donate Google's cycles... The trick is coordinating the assignment of work units. I'm just about ready to have beta testers try my initial attempt at a solution which doesn't use Google Drive, and doesn't need access credentials. Are there any GPU72'ers out there who have a Google Account but aren't currently using Colaboratory for work, and would be willing to do some testing? If so, please post here, or PM me. P.S. All the code I'm writing for this is GPL, so it might be useful to others to implement other compute spaces; I'm focusing on TF'ing initially. But in the back of my mind, I'm modeling other compute problems which could benifit. |
|
![]() |
![]() |
![]() |
#28 | |
"Dylan"
Mar 2017
10010100102 Posts |
![]() Quote:
A true acid test would be to get BOINC set up on the notebook. It would prove handy for quite a lot of projects (thinking NFS@Home with the Xeon, or the PPS sieve on the GPU for PrimeGrid). |
|
![]() |
![]() |
![]() |
#29 | |
"Eric"
Jan 2018
USA
3348 Posts |
![]() Quote:
Code:
from google.colab import drive drive.mount('/content/drive') !chmod 777 '/content/drive/My Drive/gpuowl' !cd '/content/drive/My Drive/gpuowl' && LD_LIBRARY_PATH="lib:${LD_LIBRARY_PATH}" && chmod 777 gpuowl && chmod 777 worktodo.txt && ./gpuowl -use ORIG_X2 -block 200 -log 120000 Last fiddled with by xx005fs on 2019-09-07 at 21:15 |
|
![]() |
![]() |
![]() |
#30 | ||
If I May
"Chris Halsall"
Sep 2002
Barbados
23·3·461 Posts |
![]() Quote:
Quote:
I just wish there was a way to mount only a subdirectory under the VM's FS. As it is a malicious Notebook could do a "!rm -rf /content/drive/"... |
||
![]() |
![]() |
![]() |
#31 | |
"Eric"
Jan 2018
USA
22·5·11 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#32 | |
Jul 2019
2×3 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#33 |
"Eric"
Jan 2018
USA
22×5×11 Posts |
![]()
Did they get banned because they were using multiple accounts or did they just get banned from long computes? Also, I am using my accounts that I actually use daily, and I didn't create them specifically for Colab and I only run 3-4 instances.
Last fiddled with by xx005fs on 2019-09-07 at 23:39 |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
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 |