mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-10-30, 19:50   #1
Graff
 
Graff's Avatar
 
Jul 2006
USA (UT-5) via UK (UT)

22·59 Posts
Default Inclusion of worktodo.add file?

In other threads, there is the suggestion that it takes some time
for the worktodo.add file to be merged into the worktodo.txt file.
How much time does this normally take? I created a worktodo.add
file with a P-1 factoring job yesterday evening and, after almost
24 hours, it still hasn't been incorporated into the worktodo.txt file.
In that period, there have been a number of automatic connections
to the V5 server to report new results and get new exponents. I even
did a couple of manual communications of new completion dates. All
to no avail.
Graff is offline   Reply With Quote
Old 2008-10-30, 20:34   #2
Phantomas
 
Phantomas's Avatar
 
Oct 2008
Germany, Hamburg

5×13 Posts
Default

I hadn't the patience to wait as long as you did. So I stoppd P95, and restarted it. After that, my worktodo.add was migrated in the worktodo.txt file and deleted.....
Phantomas is offline   Reply With Quote
Old 2008-10-30, 21:21   #3
Graff
 
Graff's Avatar
 
Jul 2006
USA (UT-5) via UK (UT)

22×59 Posts
Default

Quote:
Originally Posted by Phantomas View Post
I hadn't the patience to wait as long as you did. So I stoppd P95, and restarted it. After that, my worktodo.add was migrated in the worktodo.txt file and deleted.....
Already tried that, twice. No effect. Also, a reboot of the machine
had no effect.

Just looked more closely at the properties of the worktodo.add file
and I see that the filename is shown as "worktodo.add.txt". That might
be the reason it doesn't get incorporated. So I try renaming the file: the
menu rename doesn't display the ".txt". Load the file back into Notepad
and attempt to save it out under a different name: it seems
that Notepad automatically appends .txt for a text file. Wordpad was
no help either in removing the ".txt". Loaded file into swriter, unclicked
the "add automatic extension" and saved it under the desired name.
Stopped and restarted Prime95. Finally, .add file merged with .txt file.

Force manual communication. Reports "unsupported assignment work
type".

I really hate Windoze...
Graff is offline   Reply With Quote
Old 2008-10-30, 21:29   #4
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

11000011010012 Posts
Default

Quote:
Originally Posted by Graff View Post
Already tried that, twice. No effect. Also, a reboot of the machine
had no effect.

Just looked more closely at the properties of the worktodo.add file
and I see that the filename is shown as "worktodo.add.txt". That might
be the reason it doesn't get incorporated. So I try renaming the file: the
menu rename doesn't display the ".txt". Load the file back into Notepad
and attempt to save it out under a different name: it seems
that Notepad automatically appends .txt for a text file. Wordpad was
no help either in removing the ".txt". Loaded file into swriter, unclicked
the "add automatic extension" and saved it under the desired name.
Stopped and restarted Prime95. Finally, .add file merged with .txt file.

Force manual communication. Reports "unsupported assignment work
type".

I really hate Windoze...
Ah, the classic problem of the extra ".txt". Here's a little tip for fixing that in Notepad: enclose the file name in quotes in the Save File dialog box. For example, to save a file as worktodo.add, type "worktodo.add" (including the quotes) in the file name box in the Save File window.
mdettweiler is offline   Reply With Quote
Old 2008-10-30, 21:36   #5
uigrad
 
uigrad's Avatar
 
Aug 2008

10101102 Posts
Default

Quote:
Originally Posted by Graff View Post
I really hate Windoze...
There is no reason to "hide extension types" by default. There's a lot of things I hate about Microsoft, but most of them are difficult to explain. This, however, seems to be something that everyone I have met hates also.

To fix it, just open a file browser window, go to the tools menu, choose preferences.... or something like that. (I can't tell you for sure right now, I'm using linux.)
uigrad is offline   Reply With Quote
Old 2008-10-30, 21:38   #6
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

10,103 Posts
Default

Quote:
Originally Posted by Graff View Post
Force manual communication. Reports "unsupported assignment work type".
I think that the way that P-1's are named is different in v25 vs v24.

IANAP
YMMV
WAG
Uncwilly is offline   Reply With Quote
Old 2008-10-30, 21:52   #7
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

3·1,423 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
I think that the way that P-1's are named is different in v25 vs v24.

IANAP
YMMV
WAG
I Am Not A...Prime? Maybe I Am Not A Prime95 expert or I Am Not A Primeologist or I Am Not A Physicist
Your Mileage May Vary
Wild A** Guess?
Anyway, yeah, I think Uncwilly's right...not so sure what the correct format is.

Last fiddled with by Mini-Geek on 2008-10-30 at 21:53
Mini-Geek is offline   Reply With Quote
Old 2008-10-30, 21:55   #8
Graff
 
Graff's Avatar
 
Jul 2006
USA (UT-5) via UK (UT)

22×59 Posts
Default V5 API typo?

Quote:
Originally Posted by Uncwilly View Post
I think that the way that P-1's are named is different in v25 vs v24.

IANAP
YMMV
WAG
IAAP and I was just taking a look at the V5 API and I see an apparent
inconsistency in the documentation. I've included the relevant
portions of the API below:

Code:
5.4 ra - Register Assignment
...
5.4.2.1 Request Parameters
All common parameters are required and are case-sensitive. Null values are empty strings. Do not use quoted strings.
...
* c - cpu number registering the assignment (integer; 0 is first CPU)
...
7.0 Assignment Work Types

Integer work type values used for ga (Get Assignment), ra (Register Assignment), ap (Assignment Progress), and ar (Assignment Results) API calls.
...
7.2 GIMPS Work Types
...
3    P-1 factoring  A=1
                         b=2
                         n=<exponent> (integer)
                         c=-1
                         B1=<lower_bound> (double)
                         B2=<upper_bound> (double)
                         kf=<CSV list of known factors>
Note the use of "c" in work type 3 conflicts with the use "c" in
section 5.4.2.1. The type 3 definition should presumably be
C=-1. (The use of "c" in the other work types should also presumably
be "C".)

This change certainly agrees with the entry in the prime.log
file for the P-1 factoring job I tried to reserve:

Code:
&c=1&w=3&A=1&b=2&n=...&C=-1&B1=...
Of course, this doesn't help explain the failure to register the
P-1 job. Unless the cgi script adheres strictly to the on-line
API for P-1 jobs...

The line in my worktodo.add file looked like:

Pminus1=1,2,<exponent>,-1,<B1>,<B2>

Is this not the form that should be used? If not, what
should the form be? TIA for any pointers!
Graff is offline   Reply With Quote
Old 2008-10-30, 21:56   #9
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

186916 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
I think that the way that P-1's are named is different in v25 vs v24.

IANAP
YMMV
WAG
I thought both Pfactor= and Pminus1= are supported in both v25 and v25? (i.e., the difference between letting Prime95 pick B1/B2, or manually specifying them, respectively.)
mdettweiler is offline   Reply With Quote
Old 2008-10-30, 21:59   #10
Graff
 
Graff's Avatar
 
Jul 2006
USA (UT-5) via UK (UT)

22·59 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
I Am Not A...Prime? Maybe I Am Not A Prime95 expert or I Am Not A Primeologist or I Am Not A Physicist
I assume that IANAP is "I am not a programmer". At least, that is what
I assumed in my response.
Graff is offline   Reply With Quote
Old 2008-10-30, 22:01   #11
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by Graff View Post
The line in my worktodo.add file looked like:

Pminus1=1,2,<exponent>,-1,<B1>,<B2>

Is this not the form that should be used? If not, what
should the form be? TIA for any pointers!
Ah, I think that's your problem. P-1 assignments can be specified a number of different ways. First of all, the option to specify by Mersenne exponent or by k*b^n+c. For a Mersenne exponent, you'd do it like this:

Pfactor=exponent,factor_depth,is_doublecheck
or, if you'd rather specify B1/B2 yourself:
Pminus1=exponent,B1,B2

For k*b^n+c, you'd do it like this (as you're probably already aware of, just restating this for completeness):

Pfactor=k,b,n,c,factor_depth,number_tests_saved
or
Pminus1=k,b,n,c,B1,B2

However, PrimeNet doesn't assign k*b^n+c P-1 assignments--it only assigns P-1 for Mersenne numbers. Hence, I would expect that unless you use the Mersenne format P-1 line, PrimeNet won't recognize it as a Mersenne number, and thus won't see it as a valid assignment.

Anyway, just a hunch.
mdettweiler is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Feromant_CUDA: worktodo file feromant FermatSearch 1 2017-07-13 16:25
Error in Worktodo file GARYP166 Information & Answers 34 2009-11-30 16:35
WorkToDo File storm5510 Software 9 2009-08-18 00:18
N/A in my worktodo.txt file? uigrad PrimeNet 13 2008-11-10 13:12
worktodo.ini clowns789 Software 7 2003-10-21 03:57

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


Mon Nov 29 14:40:33 UTC 2021 up 129 days, 9:09, 0 users, load averages: 0.97, 1.22, 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.