mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   PrimeNet (https://www.mersenneforum.org/forumdisplay.php?f=11)
-   -   Automatically report results without getting new work (https://www.mersenneforum.org/showthread.php?t=26059)

Ensigm 2020-10-08 13:04

Automatically report results without getting new work
 
I am (re-)doing some P-1 by running mprime in Google Colab. These are not assignments that can usually be obtained, but I've never experienced clashes (only [URL="https://www.mersenne.org/report_exponent/?exp_lo=53897917&full=1"]once[/URL] when someone returned a P-1 with smaller bounds two weeks after I finished) since I usually look for unassigned exponents, return them in about 2~5 days, and really few people are doing P-1 or TF in that range anyway.

Currently I report the results by manually pasting them on mersenne.org, but that's getting tedious. I wonder if someone knows a way to automatically report the results, but prevent mprime from getting new work at the same time.

I suppose it is possible to achieve this by queueing many assignments in worktodo.txt, but IMHO that's not very elegant and increases the "return time". If it is not possible with mprime itself, can it be done with external scripts?

storm5510 2020-10-08 14:49

[QUOTE=Ensigm;559251]...Currently I report the results by manually pasting them on mersenne.org, but that's getting tedious. I wonder if someone knows a way to automatically report the results, but prevent mprime from getting new work at the same time....[/QUOTE]


Go to your [I]mprime[/I] folder and in [I]prime.txt[/I] set [C]DaysOfWork=0[/C],[C] ManualComm=0[/C], and [C]UsePrimeNet=1[/C]. The finished work will be submitted, but nothing will be fetched.

Ensigm 2020-10-08 17:20

[QUOTE=storm5510;559259]Go to your [I]mprime[/I] folder and in [I]prime.txt[/I] set [C]DaysOfWork=0[/C],[C] ManualComm=0[/C], and [C]UsePrimeNet=1[/C]. The finished work will be submitted, but nothing will be fetched.[/QUOTE]


Thank you. I'll try it out.

ixfd64 2020-10-08 18:47

Setting [c]NoMoreWork=1[/c] also works.

storm5510 2020-10-09 13:27

[QUOTE=ixfd64;559277]Setting [c]NoMoreWork=1[/c] also works.[/QUOTE]

In [I]prime.txt[/I]?

Ensigm 2020-10-09 13:54

Thanks storm5510 and ixfd64, I succeeded with the combination [C]NoMoreWork=1[/C], [C]ManualComm=0[/C] and [C]UsePrimenet=1[/C] in [I]prime.txt.[/I]


All times are UTC. The time now is 03:14.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.