mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-04-06, 13:21   #45
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

7·13·71 Posts
Default

Quote:
Originally Posted by Anonymous View Post
As for the YEALIB variable, though--you're right, if I run that ls command, I get blank response (essentially a "no such file or directory" on my system). But, isn't yeafft.h supposed to be in the glucas src directory? After all, that is the correct path to my glucas directory. Is my glucas source incomplete, or something weird like that?
From the glucas directory, do "./configure". It will create the yeafft.h file. You might need to modify src/Makefile to set CFLAGS options, which are listed earlier in this thread.
rogue is offline   Reply With Quote
Old 2008-04-06, 13:45   #46
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
From the glucas directory, do "./configure". It will create the yeafft.h file. You might need to modify src/Makefile to set CFLAGS options, which are listed earlier in this thread.
Okay, I did that, and it made the yeafft.h file. Now, when I tried to do a make from within the glprov directory, it apparently could find yeafft.h OK. However, it still couldn't yeafft.a and a few other files:

Code:
gcc  -g -Wall \
        -O3 -mtune=nocona -msse2 -msse2 \
        -DMODULAR_REDUCE_1 \
        -I./libs/libs -I../glucas/src \
        -o phrot.c2d \
        glprov.c \
        ../glucas/src/libyeafft.a
gcc: ../glucas/src/libyeafft.a: No such file or directory
glprov.c:93:23: error: mathtypes.h: No such file or directory
glprov.c:95:18: error: x86.h: No such file or directory
In file included from glprov.c:123:
../glucas/src/yeafft.h:47:29: error: yeafft_defines.h: No such file or directory
glprov.c:147:19: error: fpnum.c: No such file or directory
glprov.c:148:21: error: fpextra.c: No such file or directory
glprov.c:247: error: expected specifier-qualifier-list before ‘int64’
glprov.c:302: error: expected specifier-qualifier-list before ‘int64’
glprov.c:318: error: expected declaration specifiers or ‘...’ before ‘int64’
glprov.c: In function ‘describeVar’:
glprov.c:322: error: expected ‘)’ before ‘PRINTF_I64’
There were loads more of errors, all similar in style to the ones found near the end of my snippet above (presumably from functions and whatnot that are in the files that it couldn't find).

Please feel free to respond via email as you had suggested before. You can use the "mail this user" link on my profile, or if you'd rather email me directly, my email address, as mentioned earlier in this thread, is bugmesticky AT googlemail DOT com.
mdettweiler is offline   Reply With Quote
Old 2008-04-06, 13:49   #47
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

141518 Posts
Default

Quote:
Originally Posted by rogue View Post
Go to this thread for version 0.51. It is Phil's version with some changes I've introduced.
With one caveat, however: you'll have to compile it from source. I'm working on compiling a 32-bit Linux version, and I'll post a binary when I get it to work.

Maybe someone a little more experienced with compiling could try a Windows build? (From what I can tell, compiling for Windows is much more complicated than compiling for Linux.)
mdettweiler is offline   Reply With Quote
Old 2008-04-06, 16:49   #48
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11001001111012 Posts
Default

Quote:
Originally Posted by Anonymous View Post
Please feel free to respond via email as you had suggested before. You can use the "mail this user" link on my profile, or if you'd rather email me directly, my email address, as mentioned earlier in this thread, is bugmesticky AT googlemail DOT com.
e-mail sent. Once we get this issue worked out, I will start a new thread for phrot with better instructions.
rogue is offline   Reply With Quote
Old 2008-04-06, 19:55   #49
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

186916 Posts
Default

Quote:
Originally Posted by rogue View Post
e-mail sent. Once we get this issue worked out, I will start a new thread for phrot with better instructions.
Okay, cool.
mdettweiler is offline   Reply With Quote
Old 2008-04-06, 20:34   #50
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

Quote:
Originally Posted by rogue View Post
Go to this thread for version 0.51. It is Phil's version with some changes I've introduced.
I am using version 0.5 and -o flag doesn't work. Where can I find version 0.51? On that thread it is not clear where to download a compiled version.

Let me say something. If you guys want more help to the project you need to have the tools available to help. I don't know how to compile and I don't want to waste my time studying how to do it.
em99010pepe is offline   Reply With Quote
Old 2008-04-06, 20:45   #51
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 using version 0.5 and -o flag doesn't work. Where can I find version 0.51? On that thread it is not clear where to download a compiled version.

Let me say something. If you guys want more help to the project you need to have the tools available to help. I don't know how to compile and I don't want to waste my time studying how to do it.
There's no compiled version of 0.51 available yet, except for MacIntel; I'm working privately via email on compiling a Linux x86 version. As for a Windows version--any of you programmers out there want to take a whack at it?

0.51 is relatively new, that's why there's not much in the way of precompiled binaries available yet. Hopefully that will change soon.

In the meantime, LLR/PRP will still work just as well as it always has.

Last fiddled with by mdettweiler on 2008-04-06 at 20:45
mdettweiler is offline   Reply With Quote
Old 2008-04-07, 02:03   #52
masser
 
masser's Avatar
 
Jul 2003
Behind BB

25·5·11 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
Let me say something. If you guys want more help to the project you need to have the tools available to help. I don't know how to compile and I don't want to waste my time studying how to do it.

Hi Carlos,

Thanks for offering to help. I really appreciate having your previous and any present contributions to the Riesel/Sierpinski base 5 project.

Right now, as a moderator of the SRB5 project, I view phrot as a great tool if you can build it and use it efficiently. Based on the many recent comments, it certainly seems that rogue has made many positive additions to the code, but its use is not completely automated yet. Because of this, LLRNET is still the preferable testing method; both maintenance of the records/statistics pages and the automation of the testing make LLRNET the desired means of testing from the project's perspective.

Let me reiterate - phrot is a great tool, but it is not completely automated. If you just want to help the project, use the LLRNET queues. If you want to experiment with phrot, that is fine too. I will help in whatever way I can, although rogue is certainly the expert on phrot and perhaps can assist you more readily.

Thanks again, everybody, for the resources you are contributing and the attention you are giving the codes.
masser is online now   Reply With Quote
Old 2008-04-07, 07:42   #53
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

masser,

phrot doesn't run on my quad-core, must be the settings of its compilation...I don't know. I tested on an AMD and it works fine. So I think I'll unreserve the work you sent me. Sorry.
6 cores added to LLRnet.

Carlos

Last fiddled with by em99010pepe on 2008-04-07 at 07:46
em99010pepe is offline   Reply With Quote
Old 2008-04-07, 08:50   #54
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

2×7×11×19 Posts
Default

i'm using phrot V0.50e and i get these on my Quad:
(after i found the correct cygwin1.dll !!!)

Code:
Actually testing 3683911104*1679616^6175-1 (6177/14336 limbs)
78959*6^49406-1 [-378311,-13669,-245232,-591674] is composite LLR64=9BEB524D57AE7AB3. (e=0.10714 (0.145629~4.83233e-16@0.961) t=93.97s)
Actually testing 37295*1679616^6177-1 (6178/14336 limbs)
37295*6^49416-1 [-706069,-134196,355894,-9704] is composite LLR64=C031190FC6BAB777. (e=0.11607 (0.145643~5.23467e-16@0.983) t=93.93s)
Actually testing 3683911104*1679616^6177-1 (6179/14336 limbs)
78959*6^49422-1 [552124,-744199,-475342,-346817] is composite LLR64=E780F540CA8CBB74. (e=0.10714 (0.145657~4.83155e-16@0.952) t=93.89s)
Actually testing 14281494912*1679616^6177-1 (6179/14336 limbs)
51017*6^49423-1 [547602,238131,-276377,-533802] is composite LLR64=52062E8F631EB963. (e=0.10714 (0.145657~4.83155e-16@0.994) t=93.91s)
Actually testing 459522720*1679616^6178-1 (6180/14336 limbs)
59095*6^49429-1 [-198072,-316970,763524,-548479] is composite LLR64=1F9762B561E67B0A. (e=0.11607 (0.145671~5.23383e-16@0.989) t=93.91s)
Actually testing 10293806592*1679616^6178-1 (6180/14336 limbs)
36772*6^49431-1 [602229,594907,-613816,781072] is composite LLR64=C1CB2E0EC887B6E4. (e=0.11242 (0.145671~5.06887e-16@0.989) t=94.00s)
Actually testing 33627*1679616^6179-1 (6180/14336 limbs)
33627*6^49432-1 [746765,-493447,-274942,-514020] is composite LLR64=4A0E3DC103F81229. (e=0.10714 (0.145671~4.83116e-16@1.321) t=94.03s)
Actually testing 2842524*1679616^6180-1 (6182/14336 limbs)
78959*6^49442-1 [318799,17268,-234287,188230] is composite LLR64=100B2D742ADA1F46. (e=0.12500 (0.145699~5.63541e-16@0.924) t=93.97s)
with LLR V3.7.1c i got about 89 seconds per test so about 5 seconds faster than phrot here!

perhaps i try to compile a version for Win (need a free C-compiler first and the source for phrot V0.51!)
karsten
kar_bon is offline   Reply With Quote
Old 2008-04-07, 09:13   #55
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

1011000011102 Posts
Default

I'm gonna try once again. Where did you download the correct dll file?
em99010pepe 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 16:55.


Mon Nov 29 16:55:07 UTC 2021 up 129 days, 11:24, 0 users, load averages: 1.29, 1.38, 1.34

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.