Go Back > Great Internet Mersenne Prime Search > PrimeNet

Thread Tools
Old 2017-10-04, 11:12   #1
preda's Avatar
"Mihai Preda"
Apr 2015

53×11 Posts
Default How to interface gpuOwl with PrimeNet

Hi, I would like to automatize the process of getting assignments and submitting results to PrimeNet for gpuOwl; so I ask for advice about what is the recommended, and what is the simplest, way to achieve that.

Right now, I use this manual workflow:
- get manual testing assignments using the web page.
- write them to worktodo.txt
- after a time, get results from results.txt and submit them on the manual testing results form.

But this manual process becomes cumbersome, and it's also inefficient from PrimeNet's POV due to the "ahead log" of assignments that I get in a batch.

I took a quick look at

Is this the recommended and simplest way?

For example, for "uc" (update computer info), the API requires all(?) of these:
g - program's self-assigned permanent ID (guid)
hg - machine's hardware hash ID (guid)
wg - machine's Windows hardware hash ID (guid)

Well, on Linux, with a GPU being the "CPU", it's not clear what the "machine's Windows hardware hash ID" would be.

Is there a simpler way?
Is there a simple working example I could use as a starting point?
Is there same documentation about JSON intake in the API?

What about simulating access to the existing "manual assigment" web page ("scraping") -- is that a simpler approach?
preda is offline   Reply With Quote
Old 2017-10-04, 14:53   #2
P90 years forever!
Prime95's Avatar
Aug 2002
Yeehaw, FL

7,691 Posts

Using the primenet API is one possible solution. The other is we can negotiate special web pages just for your use -- without all the clutter. This is the solution used by GPU72.

As to the wg parameter, you can leave it out. Prime95 does in Linux versions. The API does not take JSON.
Prime95 is offline   Reply With Quote
Old 2017-10-07, 21:32   #3
preda's Avatar
"Mihai Preda"
Apr 2015

53·11 Posts

Thank you, I'll have a go at using the PrimeNet API then, as documented here
preda is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
gpuowl: runtime error SELROC GpuOwl 69 2021-09-29 10:07
gpuowl tuning M344587487 GpuOwl 14 2018-12-29 08:11
Update PRP (on the web interface) preda PrimeNet 47 2018-12-27 16:05
User interface bug fixed on LLR V3.8.4 Jean Penné Software 0 2011-01-22 16:47
interface f-bert Programming 3 2004-05-24 14:25

All times are UTC. The time now is 07:08.

Wed Dec 8 07:08:52 UTC 2021 up 138 days, 1:37, 1 user, load averages: 1.19, 1.31, 1.29

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.