mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-06-26, 07:43   #1
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

F6216 Posts
Default 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 <module>
    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
paulunderwood is online now   Reply With Quote
Old 2021-06-26, 19:37   #2
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

10111001001012 Posts
Default

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
kriesel is online now   Reply With Quote
Old 2021-06-26, 21:06   #3
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

393810 Posts
Default

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.
paulunderwood is online now   Reply With Quote
Old 2021-06-26, 21:56   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

23·312 Posts
Default

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
Prime95 is offline   Reply With Quote
Old 2021-06-27, 00:38   #5
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

3×52×79 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
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
kriesel is online now   Reply With Quote
Old 2021-06-27, 01:59   #6
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2×11×179 Posts
Default

Quote:
Originally Posted by Prime95 View Post
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.
paulunderwood is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MD5 mismatch - Unexpected error during p110825543.proof.tmp upload: drkirkby PrimeNet 11 2021-06-29 03:01
Error messages on proof upload Grunthos37 Information & Answers 13 2021-04-18 18:38
Unexpected error during .proof file upload Raydex Software 4 2021-03-08 16:00
account needs verification to to upload manual results bitsam PrimeNet 3 2020-12-07 21:06
missing factor credit from manual results upload wfgarnett3 PrimeNet 2 2020-10-24 21:13

All times are UTC. The time now is 23:58.


Sun Dec 5 23:58:40 UTC 2021 up 135 days, 18:27, 0 users, load averages: 1.25, 1.20, 1.27

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.