![]() |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#12 |
|
Oct 2021
U. S. / New York, NY
2·3·52 Posts |
What is the oldest GPUOwl that your script is intended to work with? In spite of my earlier comments, I did end up revisiting the IGP issue and seem to have been able to fix the problem by loading a slightly older GPUOwl* (6.11 vs. 7.2). I registered the GPUOwl instance with your script, but the functionality does not seem to be working very well; there is no progress reporting at all, which has the side effect of the "days_work" parameter not working properly (I set it to 1 but a second assignment was still fetched even though the current one has ~12 days to go). Also, even though an assignment was successfully retrieved under the appropriate computer, the assignment I already had in the GPUOwl WorkToDo failed to associate itself and is still listed under "Manual Testing" in my account.
In my https://www.mersenne.org/cpus/, the new computer says that it is GPUOwl v7.2, even though the actual running version is 6.11 as stated. I don't know how relevant that is. * Maybe. I also changed a few other variables at the same time and can't say for certain which was the deciding one. |
|
|
|
|
|
#13 | |||
|
"Teal Dulcet"
Jun 2018
1568 Posts |
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#14 | |
|
Oct 2021
U. S. / New York, NY
2×3×52 Posts |
Quote:
I forgot that the script's default name for the work file is worktodo.ini, and hadn't changed that for this instance. The exponent I had checked out manually was in worktodo.txt, so upon first run the script looked for worktodo.ini, found nothing, created that file, then checked the file, found no work, and added some. There was no progress reporting because the exponent actually being worked on was in a file the script didn't know about.That being said, I think it may be a good idea for you to change your default work file name. Current Prime95, current GPUOwl, and "current" (most recent) CUDALucas all use worktodo.txt and not .ini. Last fiddled with by techn1ciaN on 2021-11-04 at 19:22 Reason: Clarification |
|
|
|
|
|
|
#15 | ||
|
"Teal Dulcet"
Jun 2018
2·5·11 Posts |
Quote:
Quote:
Anyway, I think the best solution would be for the GIMPS program authors to agree to a standard for the filenames. If you read the post linked at the top of my post #5 above, you will see that there is another similar issue where GpuOwl does not follow a convention set by Prime95/MPrime and Mlucas... |
||
|
|
|
|
|
#16 |
|
Oct 2021
U. S. / New York, NY
2×3×52 Posts |
Are you currently taking feature requests?
One might receive a first-time PRP assignment with no P-1 done. This can mess with the computation of how much work is queued, since that goes off the assumption that the full-length PRP test will always happen, even if the possibility of a P-1 factor makes that not necessarily true. So especially with days_work values low enough to qualify for low-category exponents, one might finish a PRP test, clear their next assignment more quickly than expected by finding a P-1 factor, and be left with no work in the file. This is a particular problem for GPUOwl since the program terminates in this case, so the ability to "set and forget" when you are not going to have consistent access to the client computer (e.g., going on a trip) is lessened or eliminated. Prime95 has a useful option that can avoid this by, if an assignment comes in with no P-1 done, doing the P-1 immediately before continuing the current full-length test (SequentialWorkToDo in undoc.txt). Is this something that would be feasible for your script to implement? Alternatively, I can think of a simpler way to solve the same problem: When checking the work file to see if more work needs to be fetched, if a PRP line indicates that P-1 is still needed AND it is the only line present besides the active exponent AND days_work (as opposed to num_cache) is being used, then that line will be ignored. This would ensure that there is always at least one assignment guaranteed to be full-length OR at least two assignments if the next assignment needs P-1. Last fiddled with by techn1ciaN on 2021-11-06 at 01:28 Reason: Corrected faulty condition |
|
|
|
|
|
#17 | |||
|
"Teal Dulcet"
Jun 2018
1568 Posts |
Yes, although no promises that anything will be implemented. There is a list of features at the bottom of my README (see here) that I would like to implement at some point. Most likely, anything requested will be added to that list, although it would help prioritize what I work on next after the PRP proof uploading. Pull requests are of course welcome!
Quote:
Quote:
Quote:
However, in your case you said you "complete a wavefront test about every three days", so if that means less than or equal to 3 days, you could likely set the --num_cache 1 option and still be eligible for category 0 exponents. The num_cache value does not include the current/active assignment, so a num_cache of 1 would always give you at least two assignments, the same as all the previous PrimeNet scripts do by default. I consider the -n/--num_cache option deprecated in favor of -W/--days_work and I do not recommend people use it, but you may be one of the lucky few who would be OK to use it. Anyway, I am open to solutions to solve for everyone, without preventing any systems from getting lower category assignments. As you probably know, Prime95/MPrime solves by this by directly getting another assignment whenever P-1 finds a factor and it runs out of work, as it has the PrimeNet functionality built in. |
|||
|
|
|
|
|
#18 | |
|
Oct 2021
U. S. / New York, NY
2×3×52 Posts |
Quote:
Prime95's convention is that adding a work line with no AID will trigger a PrimeNet registration attempt the next time you start the software, unless you write "N/A" where the AID would normally go (to avoid annoying repeat errors with line formats that PrimeNet does not understand yet like Pminus1 / Pplus1.) I checked your existing to-do list and the only item that seemed like it could be relevant was "Reserve a specific exponent." I don't know whether that refers to this functionality or to something else. |
|
|
|
|
|
|
#19 | |||||
|
"Teal Dulcet"
Jun 2018
2×5×11 Posts |
Quote:
Quote:
Anyway, it does support parsing assignments in the worktodo file without a AID, although it should currently just ignore them. While this is completely unsupported and untested, I believe if you called the register_assignment() function in our script from the correct place, it would register your assignments and output the new AIDs, although you would then need to manually copy/paste those AIDs back into your worktodo file. I am not sure if this would be any easier than those two other methods you listed. Quote:
Quote:
Quote:
|
|||||
|
|
|
|
|
#20 | |
|
"Teal Dulcet"
Jun 2018
11011102 Posts |
To update anyone following this thread, I recently submitted two pull requests to the GpuOwl master/main (see here) and v6 (see here) branches respectively, which @preda merged. They added support for the PRPDC= prefix for PRP DC assignments, which was needed for GpuOwl to support all of the features of our PrimeNet script. I also took the opportunity to add support for assignments without an assignment ID.
Quote:
It will automatically upload any PRP proof files every hour by default. Like with Prime95/MPrime, this can be disabled by setting a ProofUploads=0 option in the config file. Unlike the script included with GpuOwl, it will automatically delete the proof files after upload. This can be changed by using the --archive_proofs option to specify a directory to archive the proof files to after upload. It also supports the double-check using PRP with proof (155) worktype. Users can also use the --upload_proofs option to manually upload any PRP proof files. Run the --help option for more information. Compared to the upload script included with GpuOwl, my implementation has these advantages:
I would recommend users use our PrimeNet script with the latest version of either the GpuOwl master/main (currently v7.2-91-g9c22195) or v6 (currently v6.11-382-g98ff9c7) branches, although it should support all recent versions (unless of course one is doing PRP DC assignments). @ewmayer wrote some great documentation on how to use it on the bottom of this page. While his documentation is for Mlucas, most of it also applies to GpuOwl. Just use the -g/--gpuowl option the first time you run it. |
|
|
|
|
|
|
#21 | |
|
"Teal Dulcet"
Jun 2018
6E16 Posts |
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to interface gpuOwl with PrimeNet | preda | PrimeNet | 2 | 2017-10-07 21:32 |
| primenet account | Unregistered | Information & Answers | 9 | 2013-04-29 12:32 |
| GIMPS Computer not showing up in account. | lewisforlife | Software | 6 | 2011-07-24 20:17 |
| computer id missing in Primenet account report | onesoul | PrimeNet | 6 | 2007-02-13 06:14 |
| GIMPS Teams and Recruiting, Listing Teams | eepiccolo | Lounge | 13 | 2003-05-02 00:28 |