![]() |
|
|
#1 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
I have finally released PRPNet 4.0.0. Note that announcements for PRPNet are now in the Software forum instead of Conjectures 'R Us. This is a major upgrade from 3.x due to many changes in table structures in the database.
Here is a list of changes: Changes to both client and server:
Changes to the client only:
Changes to the server only:
With the changes for this release, you will need to run the upgrade_3.3_to_3.4.sql script in the source directory to bring the database up to date. Because there are signficant changes in this release, it is HIGHLY recommend to do a backup before executing that script. The 4.0 server is compatible with 3.x clients, except for Twin and GFN searches. The 3.x server is compatible with the 4.0 client. Although I am highly confident in its stability for most server types, I have not spent as much time on some as I have on others. This is being released as an alpha, so I recommend that smaller projects work with it first to help me work out any bugs. Hopefully I can change this over to a beta in the next week or so. You can d/l it from here. |
|
|
|
|
|
#2 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
I missed one line in the upgrade script. If you have upgraded, please execute this in mysql:
alter table UserPrimes add TestResult int default 1; |
|
|
|
|
|
#3 |
|
"Mark"
Apr 2003
Between here and the
143138 Posts |
I am releasing PRPNet 4.0.1. This will address all known issues with 4.0.0. The changes are:
In the client: fixed an issue with handling primorials/factorials (introduced in 4.0.0). In the server: Add time zone to date of mail so that time shows up in the correct time zone in mail in-boxes. In the server: Populate new TestResult column on UserPrimes and fix SQL behind the view to use it. In the server: Do not send e-mail if SMTP authentication needed and password not supplied. Apparently some users have had difficulty upgrading to 4.0.0. As far as I can tell it is a problem with MySQL itself and only occurs on some versions of MySQL. As stated in the readme, I highly recommend backing up before doing the upgrade. If doing an upgrade, execute the upgrade script line by line, ensuring that no errors occurred and stopping when one is found so that it can be addressed before continuing. You can d/l it from here. |
|
|
|
|
|
#4 |
|
"Dave"
Sep 2005
UK
1010110110002 Posts |
I have just finsihed upgrading a server from 3.3.6 to 4.0.1. The upgrade script ran without any errors.
prpadmin 3.3.6 inserted 0's into table Candidate, columns CompletedTest, HasPendingTest and DoubleChecked. prpadmin 4.0.1 no longer does this, but create_tables.sql sets these columns to a default value of 0. However, the upgrade script does not make these changes to the Candidate table. Last fiddled with by amphoria on 2010-10-31 at 11:28 |
|
|
|
|
|
#5 | |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Quote:
|
|
|
|
|
|
|
#6 |
|
"Dave"
Sep 2005
UK
AD816 Posts |
Unfortunately it wasn't as I got insert errors on every candidate. Initially I tried just allowing NULL values, but this caused the code in the server to assume that all the candidates I had just uploaded had already been tested.
Last fiddled with by amphoria on 2010-10-31 at 23:13 |
|
|
|
|
|
#7 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
I have fixed a number of bugs in 4.0.
Here is a list of changes: Changes to the client only:
Changes to the server only:
You can d/l it from here. Although not included at this time, you can use these alter commands to modify the default values on the Candidate tables: alter table Candidate modify CompletedTests int default 0 not null; alter table Candidate modify HasPendingTest int default 0 not null; alter table Candidate modify DoubleChecked int default 0 not null; I have discovered a more insidious memory leak in the server. For a while I thought it was in my code, but none of the tools I have used have shown that to be the case. Apparently the problem lies somewhere in the MySQL library. It doesn't seem to like multi-threaded applications too much. I'm still investigating potential solutions, but am having little luck. |
|
|
|
|
|
#8 |
|
Jul 2004
24×3 Posts |
When I used prpclient v4.0.2 to search for GFNs on 64-bit linux, there appeared following messages:
Code:
[2010-11-02 01:49:19 CST] PRPNet Client application v4.0.2 started [2010-11-02 01:49:19 CST] User name acer at email address is sp65536@yahoo.com.tw [2010-11-02 01:49:20 CST] a: Getting work from server prime2u.com at port 11001 [2010-11-02 01:49:22 CST] a: PRPNet server is version 3.3.0 gfn524288 [2010-11-02 01:49:22 CST] Total Time: 0:00:03 Total Tests: 0 Total PRPs Found: 0 [2010-11-02 01:49:23 CST] a: Returning work to server prime2u.com at port 11001 [2010-11-02 01:49:23 CST] a: INFO: Test for candidate 1186^524288+1 abandoned [2010-11-02 01:49:24 CST] a: INFO: Test for 1186^524288+1 was accepted [2010-11-02 01:49:24 CST] a: INFO: All 1 test results were accepted Last fiddled with by Shaopu Lin on 2010-11-01 at 17:59 |
|
|
|
|
|
#11 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10AB16 Posts |
There is a small problem in the create_tables.sql script. Because of the order that it drops tables, it leaves the Candidate and CandidateTest tables (at least, it did for me; there was information in the tables left over from a few CRUS projects with many primes found, if that makes a difference). This order seems to work correctly:
Code:
drop table CandidateTestResult; drop table GeneferROE; drop table CandidateGFNDivisor; drop table CandidateGroupStats; drop table UserStats; drop table UserPrimes; drop table CandidateTest; drop table Candidate; Last fiddled with by Mini-Geek on 2010-12-02 at 20:41 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRPNet 5.4.3 Released | rogue | Software | 178 | 2021-06-24 11:56 |
| PSP goes prpnet | ltd | Prime Sierpinski Project | 86 | 2012-06-06 02:30 |
| PRPNet 4.0.1 Released | Joe O | Sierpinski/Riesel Base 5 | 1 | 2010-10-22 20:11 |
| PRPNet 3.0.0 Released | rogue | Conjectures 'R Us | 220 | 2010-10-12 20:48 |
| PRPNet released! | rogue | Conjectures 'R Us | 250 | 2009-12-27 21:29 |