![]() |
![]() |
#1 |
"Mihai Preda"
Apr 2015
22×192 Posts |
![]()
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 http://v5.mersenne.org/v5design/v5webAPI_0.97.html 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? |
![]() |
![]() |
![]() |
#2 |
P90 years forever!
Aug 2002
Yeehaw, FL
2×4,079 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. |
![]() |
![]() |
![]() |
#3 |
"Mihai Preda"
Apr 2015
22·192 Posts |
![]()
Thank you, I'll have a go at using the PrimeNet API then, as documented here
http://v5.mersenne.org/v5design/v5webAPI_0.97.html |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
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 |