mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Problem with v5 communication (https://www.mersenneforum.org/showthread.php?t=12546)

AlsXZ 2009-10-08 12:08

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: [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%28R%29+Pentium%28R%29+III+Xeon%28TM%29+processor&f=Prefetch,SSE&L1=16&L2=256&np=2&hp=1&m=2007&s=997&h=24&r=1000&u=alsxz&cn=XZrez"]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[/URL]
[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 [URL]http://mersenneforum.org[/URL] for help.
[Comm thread Oct 8 14:59] Will try contacting server again in 70 minutes.
[/quote]

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 2009-10-13 10:43

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.

gjmccrac 2009-10-13 11:19

I have seen in previous posts that you need to talk to George to get access to the security files.

Mini-Geek 2009-10-13 11:30

[quote=AlsXZ;192682]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.[/quote]
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:
[URL]ftp://mersenne.org/gimps_archive/archived_executables/sprime2414.tar.gz[/URL]

[URL]http://www.mersenneforum.org/showthread.php?t=10854[/URL] discusses compiling a statically-linked mprime v25.

AlsXZ 2009-10-13 12:42

[quote=gjmccrac;192685]I have seen in previous posts that you need to talk to George to get access to the security files.[/quote]
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=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:
[URL="ftp://mersenne.org/gimps_archive/archived_executables/sprime2414.tar.gz"]ftp://mersenne.org/gimps_archive/arc...ime2414.tar.gz[/URL]

[URL]http://www.mersenneforum.org/showthread.php?t=10854[/URL] discusses compiling a statically-linked mprime v25[/quote]
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.

lfm 2009-10-13 22:11

[QUOTE=AlsXZ;192692]
But I still hope George or someone linux-related will read it and help me with running "mprime" on my boxes.[/QUOTE]

Post your problems here. There are lots of Linux people who might help you.

AlsXZ 2009-10-14 05:41

[quote=lfm;192761]Post your problems here. There are lots of Linux people who might help you.[/quote]
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.


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.