![]() |
|
|
#56 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
|
|
|
|
|
|
|
#57 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
I've attached PRPNet 1.0.2. Here is a list of changes in the client:
Here is a list of changes in the server:
If you run into any issues or have additional enhancement requests, please let me know. |
|
|
|
|
|
#58 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
Edit: One more little request for the server. The completed_tests.log feature is great, but can the name of the client ID that returned the result be added to the output for that file as well? We'll be using that field to pass the user's mersenneforum username on future NPLB servers so that it can integrate with our existing LLRnet stats system, so that will be important.
Last fiddled with by mdettweiler on 2009-01-02 at 02:52 |
|
|
|
|
|
|
#59 | |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
testLog->LogMessage("%s: User: %s Program: %s Client: %s Residue: %s DoubleCheck? %s", s_Name, fromEmailID, program, fromClientID, residue, (i_TestsPerformed ? "Yes" : "No")); That will add the clientID to the log. As for the issue in the client, I can't reproduce it. Can you use gdb to show there the segfault is occuring? |
|
|
|
|
|
|
#60 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
![]() As for reproducing the segfault: what's gdb? (Other than our project admin here? )
|
|
|
|
|
|
|
#61 |
|
I ♥ BOINC!
Oct 2002
Glendale, AZ. (USA)
3×7×53 Posts |
My guess, gcc debug perhaps?
|
|
|
|
|
|
#62 | |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
Once installed do the following from the command line where the prpclient is located: gdb ./prpclient It will start the debugger, but won't run the client yet. Type run and when you get the segfault, type where It will give you a stack trace of the function where the problem is. It should also give you some information as to what variable has the bad pointer. |
|
|
|
|
|
|
#63 | |
|
Mar 2007
Austria
2×151 Posts |
Quote:
|
|
|
|
|
|
|
#64 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10AB16 Posts |
I'm still unable to compile a Windows build, and nobody has made one for me yet. When I try to run nmake (a Windows equivalent of make), it fails on creating the socket.
Code:
C:\Files\Prime\prpnet\source>nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
g++ -c -g -Wall Socket.cpp
Socket.cpp: In member function `int Socket::OpenSocketForListening()':
Socket.cpp:97: error: cannot convert `uint64_t*' to `u_long*' for argument `3' t
o `int ioctlsocket(SOCKET, long int, u_long*)'
Socket.cpp: In member function `int Socket::OpenSMTPSocket()':
Socket.cpp:140: warning: comparison between signed and unsigned integer expressi
ons
Socket.cpp: In member function `int32_t Socket::OpenWorkSocket()':
Socket.cpp:189: warning: comparison between signed and unsigned integer expressi
ons
Socket.cpp:222: error: cannot convert `uint64_t*' to `u_long*' for argument `3'
to `int ioctlsocket(SOCKET, long int, u_long*)'
Socket.cpp: In member function `char* Socket::ListenForMessage()':
Socket.cpp:311: warning: comparison between signed and unsigned integer expressi
ons
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
Code:
C:\Files\Prime\prpnet\source>nmake /I
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
g++ -c -g -Wall Socket.cpp
Socket.cpp: In member function `int Socket::OpenSocketForListening()':
Socket.cpp:97: error: cannot convert `uint64_t*' to `u_long*' for argument `3' t
o `int ioctlsocket(SOCKET, long int, u_long*)'
Socket.cpp: In member function `int Socket::OpenSMTPSocket()':
Socket.cpp:140: warning: comparison between signed and unsigned integer expressi
ons
Socket.cpp: In member function `int32_t Socket::OpenWorkSocket()':
Socket.cpp:189: warning: comparison between signed and unsigned integer expressi
ons
Socket.cpp:222: error: cannot convert `uint64_t*' to `u_long*' for argument `3'
to `int ioctlsocket(SOCKET, long int, u_long*)'
Socket.cpp: In member function `char* Socket::ListenForMessage()':
Socket.cpp:311: warning: comparison between signed and unsigned integer expressi
ons
g++ -o prpclient prpclient.o Log.o Socket.o Work.o
g++: Socket.o: No such file or directory
g++ -o prpserver prpserver.o Log.o Socket.o Candidate.o Mail.o
g++: Socket.o: No such file or directory
|
|
|
|
|
|
#65 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
|
|
|
|
|
|
|
#66 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
About twice as fast, but it will provide a means for non-x86 users to do an actual primality test on their hardware. Prior to this they could only do a PRP test for Proth numbers.
Here is the native Windows client, untested. I'll post the server if you need it. After you unzip, you will need to change the "_" to a "." in the filename. Last fiddled with by rogue on 2009-01-02 at 18:21 |
|
|
|
![]() |
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.0 Released | rogue | Software | 84 | 2011-11-16 21:20 |
| 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 |