PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Project Staging Area : Running PRPNet on Google Colaboratory

Author Message
MenipeProject donor
Volunteer tester
Send message
Joined: 2 Jan 08
Posts: 231
ID: 17041
Credit: 92,304,519
RAC: 62,198
Found 1 prime in the 2020 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,372,158)Cullen LLR Amethyst: Earned 1,000,000 credits (1,038,002)ESP LLR Amethyst: Earned 1,000,000 credits (1,023,818)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,073,368)PPS LLR Turquoise: Earned 5,000,000 credits (9,079,354)PSP LLR Ruby: Earned 2,000,000 credits (2,747,563)SoB LLR Amethyst: Earned 1,000,000 credits (1,110,322)SR5 LLR Ruby: Earned 2,000,000 credits (2,148,686)SGS LLR Ruby: Earned 2,000,000 credits (2,369,521)TPS LLR (retired) Bronze: Earned 10,000 credits (30,981)TRP LLR Ruby: Earned 2,000,000 credits (3,494,692)Woodall LLR Amethyst: Earned 1,000,000 credits (1,033,209)321 Sieve Ruby: Earned 2,000,000 credits (2,157,656)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,919,475)Generalized Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,410,644)PPS Sieve Sapphire: Earned 20,000,000 credits (21,836,903)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (712,299)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,064,240)AP 26/27 Jade: Earned 10,000,000 credits (13,137,069)GFN Jade: Earned 10,000,000 credits (17,522,032)PSA Turquoise: Earned 5,000,000 credits (5,024,361)
Message 133699 - Posted: 10 Oct 2019 | 14:59:05 UTC
Last modified: 10 Oct 2019 | 15:00:23 UTC

I was playing around with Google Colaborary and was able to get PRPNet running.
Here are the steps to configure and run the PRPNet client on Google Colaboratory.

These are the steps to configure:


  • Download the 64 bit Linux version from Primegrid PRPNet
  • In Google Drive create the following folder Primegrid/PRPNet/
  • Configuration information for PRPNet is available here
  • Upload the following files to the folder
    * llr
    * pfgw64
    * prpclient
    * prpclient.ini


Use this python script:

import os.path from google.colab import drive if not os.path.exists('/content/drive/My Drive/Primegrid'): drive.mount('/content/drive') %cd '/content/drive/My Drive/Primegrid/PRPNet/' print ("Copying files...") !cp 'prpclient' /usr/local/bin/ !cp 'prpclient.ini' /usr/local/bin/ print ("Setting permissions...") !chmod 755 * !chmod 755 '/usr/local/bin/prpclient' !chmod 755 '/usr/local/bin/prpclient.ini' print ("Starting code...") !cd '.' && LD_LIBRARY_PATH="lib:${LD_LIBRARY_PATH}" /usr/local/bin/prpclient


  • Run (play button in the upper left).
  • Leave the browser window open. If anything breaks, try "Runtime -> Reset all runtimes..." and start again.
  • PRPNet has checkpoints, so you can restart and continue at any point.

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,526,889,147
RAC: 1,929,333
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,855,224)PSP LLR Jade: Earned 10,000,000 credits (13,705,459)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,661,342)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,908,712)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,877,702)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (346,918,499)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 133740 - Posted: 11 Oct 2019 | 3:38:26 UTC - in response to Message 133699.

This looks promising! Thanks for the post!

Michael Millerick
Volunteer tester
Send message
Joined: 4 Feb 09
Posts: 717
ID: 35074
Credit: 181,494,778
RAC: 143,517
Found 3 primes in the 2020 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,063,954)Cullen LLR Amethyst: Earned 1,000,000 credits (1,041,705)ESP LLR Turquoise: Earned 5,000,000 credits (5,594,009)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,319,313)PPS LLR Jade: Earned 10,000,000 credits (12,654,980)PSP LLR Ruby: Earned 2,000,000 credits (2,012,651)SoB LLR Amethyst: Earned 1,000,000 credits (1,064,898)SR5 LLR Ruby: Earned 2,000,000 credits (2,085,475)SGS LLR Amethyst: Earned 1,000,000 credits (1,320,684)TRP LLR Ruby: Earned 2,000,000 credits (2,740,707)Woodall LLR Amethyst: Earned 1,000,000 credits (1,042,977)321 Sieve Turquoise: Earned 5,000,000 credits (5,440,175)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,911,344)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,077,092)PPS Sieve Emerald: Earned 50,000,000 credits (50,200,870)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,034,014)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,774)AP 26/27 Turquoise: Earned 5,000,000 credits (5,442,696)GFN Sapphire: Earned 20,000,000 credits (25,539,695)PSA Emerald: Earned 50,000,000 credits (52,865,231)
Message 133743 - Posted: 11 Oct 2019 | 3:48:38 UTC

Has anyone gone through the terms of service and tried to determine whether or not this is against the terms of service? My guess is that it probably is.
____________

Message boards : Project Staging Area : Running PRPNet on Google Colaboratory

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.44, 0.49, 0.52
Generated 28 Oct 2020 | 18:43:42 UTC