mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

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

31×43 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 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?
preda is offline   Reply With Quote
Old 2017-10-04, 14:53   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2×7×521 Posts
Default

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
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

31×43 Posts
Default

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
preda is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpuowl: runtime error SELROC GpuOwl 59 2020-10-02 03:56
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 15:57.

Sat Jan 16 15:57:04 UTC 2021 up 44 days, 12:08, 0 users, load averages: 1.63, 1.69, 1.69

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.