mersenneforum.org  

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

Reply
 
Thread Tools
Old 2017-02-27, 22:53   #1200
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

29·113 Posts
Default

Quote:
Originally Posted by marigonzes View Post
Just found another issue:

If I type a wrong Username/Password combination, the site takes me to a 404 page.
Oh... that's probably because of the https change. I kind of cheated and did a search/replace for things to make self references protocol relative but that's not quite working right for the failed login case. Thanks for spotting that.
Madpoo is offline   Reply With Quote
Old 2017-02-27, 23:11   #1201
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

244616 Posts
Default

Quote:
Originally Posted by Madpoo View Post
I kind of cheated and did a search/replace for things to make self references protocol relative but that's not quite working right for the failed login case. Thanks for spotting that.
There's an old saying... No good deed goes unpunished.

Thank you!
chalsall is offline   Reply With Quote
Old 2017-02-28, 14:57   #1202
ramgeis
 
ramgeis's Avatar
 
Apr 2013

22·29 Posts
Default

Quote:
Originally Posted by Madpoo View Post
I have every reason to believe your issue is due to your unique circumstances.

You have 2 cpus with assignments... one of them only has 4 active assignments while the other has 710,618 assignments.

Part of that little table does an average age of all your assignments which it does by using the SQL avg() function for the difference in minutes between date assigned and now, divided by 1440.0 (to show the average diff in days to a precision of x.xx).

Your particular issue is that it's easily overflowing the ability of SQL to average an int over that many rows (int is the default cast for datediff, I'm guessing).

I'm questioning the usefulness of showing the average assignment age for that many (or even at all). It seems of questionable utility...

I could cast the datediff to bigint before inside avg() ... your average TF assignment age (of which there are 710,606 right now) is 36.88 days. Does that help you in any way? LOL
No, I'm not interested in the average assignment age either. LOL... I actually just want to know the number of current assignments for each type.

Your explanation also matches my observations where the error suddenly showed up and didn't go away for some weeks and then again for some days everything was fine before it happened again.

BTW, the 7xxxxx assignments of the second "cpu" are those from manual testing. And the reason why they are so many is mainly because the manual GPU assignment page ignores the requested bit level to factor to and sets it considerably higher (e.g. 74 instead of the requested 70). As I TF them only to 70 (as intended) they are waiting to expire (should happen soon).
ramgeis is offline   Reply With Quote
Old 2017-02-28, 20:01   #1203
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

29·113 Posts
Default

Quote:
Originally Posted by ramgeis View Post
No, I'm not interested in the average assignment age either. LOL... I actually just want to know the number of current assignments for each type.

Your explanation also matches my observations where the error suddenly showed up and didn't go away for some weeks and then again for some days everything was fine before it happened again.

BTW, the 7xxxxx assignments of the second "cpu" are those from manual testing. And the reason why they are so many is mainly because the manual GPU assignment page ignores the requested bit level to factor to and sets it considerably higher (e.g. 74 instead of the requested 70). As I TF them only to 70 (as intended) they are waiting to expire (should happen soon).
I fixed it to use my "cast to bigint" method since it still seemed to run pretty fast, even for that many assignments. It should work for you now.

As for the manual GPU assignments not honoring the requested bit level, I'll leave that to smarter minds than me for a potential fix, unless I find myself with some time to mull that over this coming weekend. That page is specific to GPUs and I don't really know much about it except it's a stripped down/streamlined page so that getting bulk work isn't loading a bunch of other stuff that a bot doesn't care about.
Madpoo is offline   Reply With Quote
Old 2017-02-28, 20:55   #1204
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

CCD16 Posts
Default

Quote:
Originally Posted by marigonzes View Post
If I go to https://www.mersenne.org/cpus/ while logged in, check the "I am sure I know what I am doing" checkbox and then click either "Merge checked CPUs" or "Drop checked CPUs", I get the following error:
Question: Did you actually check two or more computers from your list to merge?

I can get the same error if I check the box "I know what I am doing" and click merge, but didn't have any computers marked to merge.

There should be some error checking there to make sure the user actually picked something and show a message to that effect (and it could be said that if you forgot to check computers to merge and click that button anyway, you really didn't know what you were doing and shouldn't have ticked that box )

I'll see if I can't work in a warning if you didn't tick a couple computers to merge. The error comes up when looking up the id of the most recent computer from the list you selected... I think there may not be any harm done if you only picked one computer to "merge" (it just wouldn't effectively do anything), but definitely two or more make the most sense, and zero selections is patently bad.
Madpoo is offline   Reply With Quote
Old 2017-02-28, 22:14   #1205
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

157328 Posts
Default

Quote:
Originally Posted by ramgeis View Post
BTW, the 7xxxxx assignments of the second "cpu" are those from manual testing. And the reason why they are so many is mainly because the manual GPU assignment page ignores the requested bit level to factor to and sets it considerably higher (e.g. 74 instead of the requested 70). As I TF them only to 70 (as intended) they are waiting to expire (should happen soon).
I cannot get any assignments with 70 as the bit level. What other settings are you using on that web page?
Prime95 is offline   Reply With Quote
Old 2017-03-01, 09:41   #1206
0PolarBearsHere
 
0PolarBearsHere's Avatar
 
Oct 2015

10A16 Posts
Default

Quote:
Originally Posted by ramgeis View Post
ignores the requested bit level to factor to and sets it considerably higher (e.g. 74 instead of the requested 70). As I TF them only to 70 (as intended) they are waiting to expire (should happen soon).
The results of that page shows 74, but your assignments page shows the correct bit level in the worktodo.txt section.
0PolarBearsHere is offline   Reply With Quote
Old 2017-03-01, 11:48   #1207
ramgeis
 
ramgeis's Avatar
 
Apr 2013

1648 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I cannot get any assignments with 70 as the bit level. What other settings are you using on that web page?
If for example I choose

Number of assignments you want: 1
Preferred work range: TF for 100M digits Mersenne numbers
Optional exponent range: 900000000 to 999999999
Work preference: Highest exponents
Optional bit level to factor to: 70

I get something like

Factor=0BAC9681252C83C97BEC49A41436E3DB,979868807,69,74

which is not what I wanted. The resulting URL is

https://www.mersenne.org/manual_gpu_...5&factor_to=70
ramgeis is offline   Reply With Quote
Old 2017-03-01, 12:12   #1208
ramgeis
 
ramgeis's Avatar
 
Apr 2013

11101002 Posts
Default

Quote:
Originally Posted by 0PolarBearsHere View Post
The results of that page shows 74, but your assignments page shows the correct bit level in the worktodo.txt section.
The server still insists that those exponents are assigned to me, presumably as I did not TF to 74 (only to 70). For example:

https://www.mersenne.org/report_expo...exp_hi=&full=1

They will expire in 3 days anyway...
ramgeis is offline   Reply With Quote
Old 2017-03-01, 17:42   #1209
marigonzes
 
Feb 2017

158 Posts
Default

Madpoo, when I got the error for clicking the button to merge, I didn't have any computer selected. When selecting one or more computers, it works fine for me.

Thanks
marigonzes is offline   Reply With Quote
Old 2017-03-02, 06:24   #1210
0PolarBearsHere
 
0PolarBearsHere's Avatar
 
Oct 2015

26610 Posts
Default

Quote:
Originally Posted by ramgeis View Post
The server still insists that those exponents are assigned to me, presumably as I did not TF to 74 (only to 70). For example:

https://www.mersenne.org/report_expo...exp_hi=&full=1

They will expire in 3 days anyway...
The script I use to get my assignments scraps the manual gpu assignment page and then changes the bit level in the downloaded assignment to what ever I've specified it to (i.e. from 74 ->69).
I don't get the same issue that you do (for example https://www.mersenne.org/report_expo...8585631&full=1 ) so something funky is definitely going on.

Last fiddled with by 0PolarBearsHere on 2017-03-02 at 06:25
0PolarBearsHere is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Official "Faits erronés dans de belles-lettres" thread ewmayer Lounge 39 2015-05-19 01:08
Official "all-Greek-to-me Fiction Literature and Cinema" Thread ewmayer Science & Technology 41 2014-04-16 11:54
Official "Lasciate ogne speranza" whinge-thread cheesehead Soap Box 56 2013-06-29 01:42
Official "Ernst is a deceiving bully and George is a meanie" thread cheesehead Soap Box 61 2013-06-11 04:30
Official "String copy Statement Considered Harmful" thread Dubslow Programming 19 2012-05-31 17:49

All times are UTC. The time now is 09:30.

Tue Oct 20 09:30:40 UTC 2020 up 40 days, 6:41, 0 users, load averages: 1.33, 1.28, 1.45

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.