mersenneforum.org  

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

Reply
 
Thread Tools
Old 2009-10-08, 12:08   #1
AlsXZ
 
Oct 2009
Ukraine

32 Posts
Default Problem with v5 communication

Hello all!

I took source code of Version 25.11.2, compile it successfully on my old RedHat linux and after I configured and run it to communicate with server I got following:
Quote:
$ ./mprime -c
[Main thread Oct 8 14:59] Mersenne number primality test program version 25.11
[Comm thread Oct 8 14:59] Updating computer information on the server
[Comm thread Oct 8 14:59] URL: http://v5.mersenne.org/v5server/?v=0.95&px=GIMPS&t=uc&g=e9e623d175b3f426e7f6e7ed2573614b&hg=56a29489dc20c662aef20d47e2283c50&wg=&a=Linux,Untrusted+Prime95,v25.11,build+2&c=Intel(R)+Pentium(R)+III+Xeon(TM)+processor&f=Prefetch,SSE&L1=16&L2=256&np=2&hp=1&m=2007&s=997&h=24&r=1000&u=alsxz&cn=XZrez
[Comm thread Oct 8 14:59] RESPONSE:
[Comm thread Oct 8 14:59] pnErrorResult=7
[Comm thread Oct 8 14:59] pnErrorDetail=parameter ss: Invalid int value/precision ''
[Comm thread Oct 8 14:59] ==END==
[Comm thread Oct 8 14:59]
[Comm thread Oct 8 14:59] PrimeNet error 7: Invalid parameter
[Comm thread Oct 8 14:59] parameter ss: Invalid int value/precision ''
[Comm thread Oct 8 14:59] Visit http://mersenneforum.org for help.
[Comm thread Oct 8 14:59] Will try contacting server again in 70 minutes.
In Manual mode (without comm. with server) it works perfectly.

Hope someone can help me to find out what went wrong and how to fix it.

Thanks.
AlsXZ is offline   Reply With Quote
Old 2009-10-13, 10:43   #2
AlsXZ
 
Oct 2009
Ukraine

32 Posts
Default

As nobody answered I dig inside source and found that there are missing security.h and security.c files in source code and I guess they should generate ss= and sh= values in URL. I think this files are not included intentionally to secure communication with server (to do not allow post fake results).

For now I don't know how is it possible to run compiled (by myself) 'mprime' with "secure" communication with server. Is it not possible in general (only compiled binary files allow it?) ? I've 3-5 dual-core 1+GHz servers with old linux and I want to run "mprime" on its but I can't run dynamic linked binaries there as needed libraries missed. Is there anyone who is responsible for linux version of "mprime" and who can help me or just give me clear answer?

Thanks in advance, -Oleksiy.
AlsXZ is offline   Reply With Quote
Old 2009-10-13, 11:19   #3
gjmccrac
 
gjmccrac's Avatar
 
Aug 2009
Ontario, Canada

100000112 Posts
Default

I have seen in previous posts that you need to talk to George to get access to the security files.
gjmccrac is offline   Reply With Quote
Old 2009-10-13, 11:30   #4
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by AlsXZ View Post
As nobody answered I dig inside source and found that there are missing security.h and security.c files in source code and I guess they should generate ss= and sh= values in URL. I think this files are not included intentionally to secure communication with server (to do not allow post fake results).

For now I don't know how is it possible to run compiled (by myself) 'mprime' with "secure" communication with server. Is it not possible in general (only compiled binary files allow it?) ? I've 3-5 dual-core 1+GHz servers with old linux and I want to run "mprime" on its but I can't run dynamic linked binaries there as needed libraries missed. Is there anyone who is responsible for linux version of "mprime" and who can help me or just give me clear answer?

Thanks in advance, -Oleksiy.
If needed libraries are missing, won't it still not work with a statically-linked executable, the only difference being whether it attempts to run or not?
Here's a statically-linked version of mprime. The newest one I could find was version 24.14:
ftp://mersenne.org/gimps_archive/arc...ime2414.tar.gz

http://www.mersenneforum.org/showthread.php?t=10854 discusses compiling a statically-linked mprime v25.
Mini-Geek is offline   Reply With Quote
Old 2009-10-13, 12:42   #5
AlsXZ
 
Oct 2009
Ukraine

916 Posts
Default

Quote:
Originally Posted by gjmccrac View Post
I have seen in previous posts that you need to talk to George to get access to the security files.
I'm trying to talk with George about a little different question (posting manual results to server) but he keeps silence ... but I will wrote about security files in some time too. Thanks.

Quote:
Originally Posted by Mini-Geek
If needed libraries are missing, won't it still not work with a statically-linked executable, the only difference being whether it attempts to run or not?
Here's a statically-linked version of mprime. The newest one I could find was version 24.14:
ftp://mersenne.org/gimps_archive/arc...ime2414.tar.gz

http://www.mersenneforum.org/showthread.php?t=10854 discusses compiling a statically-linked mprime v25
I really want to get 2.5.x static linked. I've asked George about it and he doesn't have one.
About compiling - I compiled 2.5.11 and 2.5.9 perfectly but without "security" files as i don't have it. So I don't need help exactly with compiling.

But I still hope George or someone linux-related will read it and help me with running "mprime" on my boxes.

Thanks to all.
AlsXZ is offline   Reply With Quote
Old 2009-10-13, 22:11   #6
lfm
 
lfm's Avatar
 
Jul 2006
Calgary

52×17 Posts
Default

Quote:
Originally Posted by AlsXZ View Post
But I still hope George or someone linux-related will read it and help me with running "mprime" on my boxes.
Post your problems here. There are lots of Linux people who might help you.
lfm is offline   Reply With Quote
Old 2009-10-14, 05:41   #7
AlsXZ
 
Oct 2009
Ukraine

32 Posts
Default

Quote:
Originally Posted by lfm View Post
Post your problems here. There are lots of Linux people who might help you.
If you read all my messages here carefully you have to understand my problem.
In any case I'm already talking directly to George and I hope we will find answer.
AlsXZ is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble with serial communication? LaurV Lounge 3 2017-05-30 17:54
Communication Thread almostfrugal PrimeNet 1 2015-04-14 04:00
Communication Thread-Inactive fermatprimes Information & Answers 1 2009-07-05 12:54
mprime communication failure patrik Software 0 2003-08-15 21:19
Manual Communication bayanne Software 3 2002-10-25 18:45

All times are UTC. The time now is 16:48.


Sun Aug 1 16:48:23 UTC 2021 up 9 days, 11:17, 0 users, load averages: 2.03, 1.51, 1.44

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.