mersenneforum.org manual upload of pR*.proof files Linux
 Register FAQ Search Today's Posts Mark Forums Read

 2021-06-26, 07:43 #1 paulunderwood     Sep 2002 Database er0rr 76228 Posts manual upload of pR*.proof files Linux I have sever pR*.proof files generated by mprime, but am difficulty uploading them. The machine is not connected to the net -- I have the proof files on USB (along with mprime and GMP libraries). I have tried the upload.py program that comes with gpuOwl but get the following error messages: Code: Traceback (most recent call last): File "/media/paul/USB2/upload.py", line 104, in if uploadProof(userId, fileName, verbose=True): File "/media/paul/USB2/upload.py", line 92, in uploadProof exponent = headerExponent(fileName) File "/media/paul/USB2/upload.py", line 23, in headerExponent exponent = int(header[4].split('=')[1][1:]) ValueError: invalid literal for int() with base 10: '27165029/380310407' I tried "manual communication" (option 10) by running mprime on the USB pen but nothing happens on the screen. Last fiddled with by paulunderwood on 2021-06-26 at 07:56
 2021-06-26, 19:37 #2 kriesel     "TF79LL86GIMPS96gpu17" Mar 2017 US midwest 612410 Posts https://www.mersenneforum.org/showpo...0&postcount=26 describes several ways to upload Gpuowl-generated PRP proof files, one of which is to drop them in an internet-connected system's PrimeNet-API-enabled prime95 or mprime folder, and wait for its running mprime instance to notice the presence of the proof file and silently do its upload thing. Mprime / prime95 support uploading their own PRP proof files, or Gpuowl's. Apparently the converse, gpuowl's primenet.py supporting mprime's, is not the case. (The range of supported proof powers differ, and there probably are other differences.) In your situation, running mprime from a USB drive, it needs to be on a system that's internet-connected, mprime have PrimeNet API enabled, and remain so until proof file upload traffic is seen to occur and cease upon completion. You'll probably want mprime -m -d per the readme.txt: Code: MPRIME COMMAND LINE ARGUMENTS ---------------------------- -c Contact the PrimeNet server then exit. Useful for scheduling server communication as a cron job or as part of a script that dials an ISP. -d Prints more detailed information to stdout. Normally mprime does not send any output to stdout. -m Bring up the menus to set mprime's preferences. -t Run the torture test. Same as Options/Torture Test. -v Print the version number of mprime. -Wdirectory This tells mprime to find all its files in a different directory than the executable. It's standard that the results records should be uploaded first, then the proof files. In practice one can drag and drop the proof file to a live prime95 folder, and report results records shortly (seconds) afterwards. Worst thing that happens if it's out of order is the first attempt to upload the proof will fail because the result record wasn't reported yet, and it tries again some time later. Check the upload bandwith limit and upload time of day settings of mprime before trying a proof upload. Check prime.log for routine or successful server communication. Check results.txt for something resembling Code: [Thu Feb 25 06:19:19 2021] Proof file 102718073-8.proof successfully uploaded or for error messages, prime.log and results.txt. I think it's the result record submission that gets the user credit. Which means proof files might be uploadable to dropbox for subsequent upload to the server by a server administrator, as a last resort. I don't think another ordinary user can upload them for you, because the uploaders do some account authentication, and the server won't accept proof files for user A's PRP assignment from user B. Best would be if you can work it out under your own PrimeNet user ID. Last fiddled with by kriesel on 2021-06-26 at 20:00
 2021-06-26, 21:06 #3 paulunderwood     Sep 2002 Database er0rr 2·1,993 Posts I should have said that pR*.proof are co-factor proofs and that the USB pen drive is only used for transferring from an offline computer to an online one for uploading -- mprime is not running on it.
 2021-06-26, 21:56 #4 Prime95 P90 years forever!     Aug 2002 Yeehaw, FL 25·35 Posts Move the proofs to a directory where mprime is running. Mprime should find them and start uploading within an hour. P.S. First make sure the results.json.txt file has been submitted on the manual results page. Last fiddled with by Prime95 on 2021-06-26 at 21:57
2021-06-27, 00:38   #5
kriesel

"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22·1,531 Posts

Quote:
 Originally Posted by paulunderwood I should have said that pR*.proof are co-factor proofs and that the USB pen drive is only used for transferring from an offline computer to an online one for uploading -- mprime is not running on it.
Ok so gpuowl and its primenet.py are exonerated entirely, since gpuowl does not support PRP-CF at all, & never has.

Last fiddled with by kriesel on 2021-06-27 at 00:41

2021-06-27, 01:59   #6
paulunderwood

Sep 2002
Database er0rr

2×1,993 Posts

Quote:
 Originally Posted by Prime95 Move the proofs to a directory where mprime is running. Mprime should find them and start uploading within an hour. P.S. First make sure the results.json.txt file has been submitted on the manual results page.
That worked. Thanks.

 Similar Threads Thread Thread Starter Forum Replies Last Post drkirkby PrimeNet 11 2021-06-29 03:01 Grunthos37 Information & Answers 13 2021-04-18 18:38 Raydex Software 4 2021-03-08 16:00 bitsam PrimeNet 3 2020-12-07 21:06 wfgarnett3 PrimeNet 2 2020-10-24 21:13

All times are UTC. The time now is 18:18.

Wed Jan 26 18:18:47 UTC 2022 up 187 days, 12:47, 0 users, load averages: 1.54, 1.66, 1.58