mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > No Prime Left Behind

Reply
 
Thread Tools
Old 2009-05-03, 23:40   #56
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

33·5·7·11 Posts
Default

Ah, very good guys. I assumed by its use that it must be somehow different than an executable or compiled version of a program. Obviously that's not the case. I guess the term "binary" got it's start from the fact that the executable is what the machine runs, i.e. a bunch of 1's and 0's, in slightly more (but not much more) readable format.

For Cobol programs, the compiled version is usually reflected as a bunch of hex characters that the machine quickly converts to assembler code. The hex chars. have address registers that can be used to refer back to line #'s within the original source code.

As I told Max at a previous time, one of these days I may get into writing some code for some of the prime # programs. I wrote some C+ and Pascal programs in college. I got my start in programming by writing old-time Lotus-123 macros. I had reached a programming burnout stage in my life when I was laid off last year but I can feel the call beckoning me once again; at least as a hobby to have fun with and not as a profession where I have to do it.

Ah, I'm really showing my age now.


Gary

Last fiddled with by gd_barnes on 2009-05-03 at 23:41
gd_barnes is offline   Reply With Quote
Old 2009-05-04, 03:04   #57
AMDave
 
AMDave's Avatar
 
Jan 2006
deep in a while-loop

12228 Posts
Default

It comes from the compile process
1 - source file
2 - object file - text based ASM content that can often be executed
3 - binary file - all 1s and 0s - Machine code

1 source file can produce multiple compiled 'binaries' through linking to different object files during the compile process (eg different architecture libraries)

Some compiled 'binaries' are not termed as executable because they cannot be executed by 'you' but are dynamically loaded into memory to extend the execution of a parent 'executable binary'.

You can have binary files that are simply representations, like visual images, video, music etc.. which cannot be run.

Hence the distinction between 'executable' and 'binary'

To be pedantic, we should say 'executable binary' vs 'non-executable binary' LOL

Last fiddled with by AMDave on 2009-05-04 at 03:05
AMDave is offline   Reply With Quote
Old 2009-05-04, 03:06   #58
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

3×7×53 Posts
Default

It is not limited to just .exe files

Binary files are usually thought of as being a sequence of bytes, which means the binary digits (bits) are grouped in eights.
Binary files typically contain bytes that are intended to be interpreted as something other than text characters.

And of course, Gary, Google is your friend.
http://en.wikipedia.org/wiki/Binary_file
http://kb.iu.edu/data/afrw.html
http://www.cs.umd.edu/class/sum2003/.../asciiBin.html

Last fiddled with by IronBits on 2009-05-04 at 03:08
IronBits is offline   Reply With Quote
Old 2009-05-04, 05:47   #59
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

242338 Posts
Default

Excellent explanation AMDave. As a former mainframe programmer, I could understand what you mean.

Thanks for the links David. They were helpful.

To really show my age, although I've never written an assembler program from scratch, I have had to modify quite a few of them before they were finally converted to Cobol.

Coding address registers in a program...yuck. I'm glad them days are over. lol Does anyone remember the commands: AP (add packed) and CP (compare packed)? That's all that I can remember from my assembler days off of the top of my head.

Last fiddled with by gd_barnes on 2009-05-04 at 05:48
gd_barnes is offline   Reply With Quote
Old 2009-05-05, 13:31   #60
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

200408 Posts
Default

http://www.mersenneforum.org/showthread.php?t=10645
Xyzzy is offline   Reply With Quote
Old 2009-05-07, 14:16   #61
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

11000011010012 Posts
Default

The PRPnet server has almost dried out its current workload. Much thanks to all who contributed to the beta test! We uncovered a number of bugs in the client, one of which (the Ctrl-C bug) turned out to be semi-critical.

Mark has released PRPnet 2.1.0 for alpha testing not long ago. I haven't gotten the chance to try it out yet, but it should fix all reported bugs. I will do some preliminary testing myself and then upgrade the G2000 beta test server to the latest version.

Note that the 2.1.0 server is NOT backwards-compatible with the 2.0.4 client you guys are currently using. Thus, I am going to let the current 2.0.4 server completely dry out its workload before upgrading it to 2.1.0, which will have fresh work loaded in it, to give you guys a chance to upgrade your clients. I will post the updated client here when the server is in place.

As may or may not have been mentioned in this thread, Gary is performing a manual doublecheck of the mini-drive ranges that were run through the server. This should confirm for us that PPRnet will, indeed, produce sound results and can be trusted for future first-pass testing efforts.

In addition, for the next batch of work to be run through the server, we will be performing doublechecks on the range of k=300-1001, n=260K-300K. Since we already have first-pass residuals for this range, this will be a perfect job for PRPnet since we can compare residuals and not have to worry about the stability of machines involved. This is a task NPLB would have gotten to in the somewhat near future anyway, so the server will still be helping out with real work.

In the meantime as the G2000 server dries out, it is recommended that you configure a backup server in the client as work will be available somewhat sporadically (due to abandoned tests expiring at different times, etc.). This will ensure that your computer does not go idle in the absense of work from one particular server. To configure a backup server, follow the instructions in the prpclient.ini file's comments and set the server you're adding to a percentage of 0. This will mean that it will only fetch work from that server if no other servers with %>0 can be reached.

A number of servers are in existence that can be used as backup. PrimeGrid has (I think) three of them, the SR5 project has one, and we've got one (G3000) at Conjectures 'R Us, our sister project, currently running Sierpinski base 6 work. All of them except the SR5 server are listed in the prpnet_servers.txt file included with the client.

Max
mdettweiler is offline   Reply With Quote
Old 2009-05-07, 14:45   #62
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

3×7×53 Posts
Default

You should use the same work over and over until the Server/Client issues with the application are corrected.
This way, you know the results going into the testing range and know what to expect.
Kinda like washing socks. You put 20 pair in, you better get 20 pair out.

Last fiddled with by IronBits on 2009-05-07 at 14:46
IronBits is offline   Reply With Quote
Old 2009-05-07, 14:50   #63
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by IronBits View Post
Kinda like washing socks. You put 20 pair in, you better get 20 pair out.
Like that ever happens!
Mini-Geek is offline   Reply With Quote
Old 2009-05-07, 15:22   #64
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by IronBits View Post
You should use the same work over and over until the Server/Client issues with the application are corrected.
This way, you know the results going into the testing range and know what to expect.
Kinda like washing socks. You put 20 pair in, you better get 20 pair out.
That's why this n=260K-300K doublecheck work will be perfect for the server: we already have one set of results from it (the socks went through the washer once already but we don't know how many made it) and we can compare a second set with those with relative ease. The chances of two erroneous residuals being identical are essentially nil, so even if we've got instability or whatnot on both runs, if anything doesn't match then we can pop it back in the washer for another run and once we get two residuals that match, bingo! Pop 'em in the sock drawer.

Long story short: since erroneous residuals are essentially never repeatable, any errors will be detected quite easily, whether they were in the first or second run. After running a third test we can take whichever residual makes a pair and accept that as the canonical result.
mdettweiler is offline   Reply With Quote
Old 2009-05-07, 15:23   #65
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
Note that the 2.1.0 server is NOT backwards-compatible with the 2.0.4 client you guys are currently using.
A point of clarification. The 2.1 server will work with the 2.0 client, but 2.1 clients will not work with 2.0 servers.
rogue is offline   Reply With Quote
Old 2009-05-07, 16:04   #66
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
A point of clarification. The 2.1 server will work with the 2.0 client, but 2.1 clients will not work with 2.0 servers.
Okay, cool. In that case, I'll just go ahead and upgrade to the 2.1 server as soon as it's finished alpha testing, since users won't be strictly required to upgrade their clients prior to the upgrade.
mdettweiler is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
PRPNet server for personal use johnadam74 Software 2 2016-01-01 15:58
New SR5 PRPnet server online ltd Sierpinski/Riesel Base 5 15 2013-03-19 18:03
First PSP PRPnet 4.0.6 server online ltd Prime Sierpinski Project 9 2011-03-15 04:58
SR5 PRPnet 4.0.4 Beta Server - Special Challenge! Joe O Sierpinski/Riesel Base 5 6 2010-12-25 20:45
PRPnet 3.1.3 stress-test server mdettweiler No Prime Left Behind 40 2010-01-30 18:05

All times are UTC. The time now is 11:39.


Sat Jul 17 11:39:16 UTC 2021 up 50 days, 9:26, 1 user, load averages: 1.11, 1.21, 1.24

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.