mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Sierpinski/Riesel Base 5

Reply
 
Thread Tools
Old 2008-04-05, 19:31   #23
tnerual
 
tnerual's Avatar
 
Oct 2006

7·37 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
I am running LLRnet....is there a compiled version?
look here:
http://www.mersenneforum.org/showpos...9&postcount=28

i explain how to run the stuff under windows
tnerual is offline   Reply With Quote
Old 2008-04-05, 19:57   #24
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

186916 Posts
Default

Quote:
Originally Posted by tnerual View Post
here is how to do the stuff under windows ...




that's all
this will test 1*2^3+1 then 4*5^6+1 and 7*8^9+1 (edit totest.txt to match your needs)

can a moderator move this technical discussion out of this thread and create a new one just for phrot ?
Wouldn't it be better to use rogue's modified version of phrot, which can remember where it left off in the middle of a file?
mdettweiler is offline   Reply With Quote
Old 2008-04-05, 20:02   #25
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
I am running LLRnet....is there a compiled version?
Hmm...somebody needs to write up a little wrapper program so that phrot can communicate using the LLRnet protocol! The protocol itself is actually quite simple, but I know very little about network programming. Maybe someone who knows a little bit more about that stuff could put something together?

The best way might be simply to replace the code in the LLRnet client that does the actual work, with code that instead drives the phrot program. Since phrot can be fed a number from the command line, that should be possible.
mdettweiler is offline   Reply With Quote
Old 2008-04-05, 20:14   #26
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
I guess I zipped up a different Makefile than I thought. Use CC_OPT instead of CC_OPT32_DEBUG.

It should be -mtune=nocona, not -mtune-nocona. Sorry about that.
Hmm...after trying that, I get a different error:
Code:
gcc -O3 -mtune=nocona -msse2 -msse2 -m64 -O3 -o math52.c2d.o -c math52.c
In file included from /usr/include/features.h:354,
                 from /usr/include/limits.h:27,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from mathtypes.h:9,
                 from math52.h:5,
                 from math52.c:2:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
make: *** [math52.c2d.o] Error 1
Am I missing some package that I should have?

Would it just be easier for someone else who has a Linux machine more tailored to development than mine to compile it?
mdettweiler is offline   Reply With Quote
Old 2008-04-05, 21:23   #27
Siemelink
 
Siemelink's Avatar
 
Jan 2006
Hungary

22×67 Posts
Default

Quote:
Originally Posted by Anonymous View Post
Wouldn't it be better to use rogue's modified version of phrot, which can remember where it left off in the middle of a file?
Thanks to the explanation of Tnerual I have phrot working. Happy me!
It sure is quicker than LLR, so I am ready to switch. But I run LLR on 10 machines and I can't babysit these machines every time they are started up.

Willem.
Siemelink is offline   Reply With Quote
Old 2008-04-05, 22:07   #28
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

141518 Posts
Default

Quote:
Originally Posted by Siemelink View Post
Thanks to the explanation of Tnerual I have phrot working. Happy me!
It sure is quicker than LLR, so I am ready to switch. But I run LLR on 10 machines and I can't babysit these machines every time they are started up.

Willem.
In that case, you'll definitely want rogue's modified phrot, since the "stock" version would need you to mess with the input file each time it starts up. Rogue, do you by any chance have a Windows precompiled version?
mdettweiler is offline   Reply With Quote
Old 2008-04-05, 22:49   #29
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

145058 Posts
Default

Quote:
Originally Posted by Anonymous View Post
In that case, you'll definitely want rogue's modified phrot, since the "stock" version would need you to mess with the input file each time it starts up. Rogue, do you by any chance have a Windows precompiled version?
No.
rogue is offline   Reply With Quote
Old 2008-04-05, 22:51   #30
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

646910 Posts
Default

Quote:
Originally Posted by Anonymous View Post
Hmm...after trying that, I get a different error:
Code:
gcc -O3 -mtune=nocona -msse2 -msse2 -m64 -O3 -o math52.c2d.o -c math52.c
In file included from /usr/include/features.h:354,
                 from /usr/include/limits.h:27,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from mathtypes.h:9,
                 from math52.h:5,
                 from math52.c:2:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
make: *** [math52.c2d.o] Error 1
Am I missing some package that I should have?

Would it just be easier for someone else who has a Linux machine more tailored to development than mine to compile it?
Which linux OS is this? I found this which might be helpful.
rogue is offline   Reply With Quote
Old 2008-04-05, 23:38   #31
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
Which linux OS is this? I found this which might be helpful.
I tried installing the package "libc6-dev" (I'm using Ubuntu, which is based on Debian) but it's already at the latest version. The article you linked to suggested the "libc6-dev-amd64" package, but I'm using 32-bit Ubuntu. But, shouldn't the 32-bit package, which I already have installed, contain the necessary files?

Last fiddled with by mdettweiler on 2008-04-05 at 23:39
mdettweiler is offline   Reply With Quote
Old 2008-04-06, 03:36   #32
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

6,469 Posts
Default

Quote:
Originally Posted by Anonymous View Post
I tried installing the package "libc6-dev" (I'm using Ubuntu, which is based on Debian) but it's already at the latest version. The article you linked to suggested the "libc6-dev-amd64" package, but I'm using 32-bit Ubuntu. But, shouldn't the 32-bit package, which I already have installed, contain the necessary files?
You can try to remove the -m64 from all Makefiles since you have a 32-bit OS.
rogue is offline   Reply With Quote
Old 2008-04-06, 03:50   #33
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

624910 Posts
Default

Quote:
Originally Posted by rogue View Post
You can try to remove the -m64 from all Makefiles since you have a 32-bit OS.
Okay, thanks, that worked! I was able to compile the "libs" folder's contents OK. Then when I move over to the phrot folder, and run the "make" command, I get a load of errors, so many that it overflows the scroll buffer.

Thanks to a quick Google search, I figured out how to redirect all output (i.e. both stdout and stderr) to a file, so I was able to capture all the "make" command output to a file. When I looked at the file's contents, though, I found the source of all the errors: I had forgotten to change one of the references to point to my copy of the glucas source! So, it was still pointing to wherever it would have been if it was on Rogue's machine.

So, now I'm going to go fix the reference in whatever makefile it's in, and try again...

Last fiddled with by mdettweiler on 2008-04-06 at 03:54
mdettweiler is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
PRPNET & Phrot discussion masser Sierpinski/Riesel Base 5 27 2010-09-08 03:10
Phrot announcements rogue Conjectures 'R Us 33 2010-01-22 19:39
LLR/PRP/phrot/pfgw:- Pick A Range masser Sierpinski/Riesel Base 5 8 2009-08-18 19:44
Using Phrot For LLRNET Reservations thommy Sierpinski/Riesel Base 5 1 2008-11-03 14:53
Programmer needed to write networked Phrot app! mdettweiler Programming 0 2008-04-07 21:25

All times are UTC. The time now is 02:02.


Sat Dec 4 02:02:40 UTC 2021 up 133 days, 20:31, 0 users, load averages: 1.97, 1.57, 1.42

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.