![]() |
|
|
#12 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
Last fiddled with by mdettweiler on 2008-04-04 at 22:42 |
|
|
|
|
|
|
#13 | |
|
"Mark"
Apr 2003
Between here and the
634710 Posts |
Quote:
Code:
y_size_t y_init(y_size_t n)
{
y_size_t i = (1L << (sizeof(y_size_t) * 8 - 2)), j,
k = sizeof(y_size_t) * 8 - 1, old = Y_LENGTH;
Code:
y_size_t y_init(y_size_t n)
{
n+=(n&1); /* round up to even, as we must be even sized */
y_size_t i = (1L << (sizeof(y_size_t) * 8 - 2)), j,
k = sizeof(y_size_t) * 8 - 1, old = Y_LENGTH;
|
|
|
|
|
|
|
#14 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
Code:
Makefile:1: ../Make.inc: No such file or directory make: *** No rule to make target `../Make.inc'. Stop. |
|
|
|
|
|
|
#15 | |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Quote:
Code:
CC_OPT=-O3 -mtune-nocona -msse2 -msse2 -m64 HOSTTYPE=c2d PHILMATH=/Distributed/phil I have attached a zip file that you will need to build an additional library needed by the phrot makefile. Put it at the same level as the glprov folder. You will need to use "make" in the libs folder, then you should be able to make phrot. I assume you changed YEALIB in the phrot Makefile to point to your glucas installation. You should also change this line: YEACFLAGS:=${CC_OPT32} -fnested-functions to this: YEACFLAGS:=${CC_OPT} -fnested-functions should have no affect on the build. You might want to change this line: OPT:=-O2 -ffast-math to OPT:=-O3 and compare the results. Last fiddled with by rogue on 2008-04-05 at 03:19 |
|
|
|
|
|
|
#16 | |||
|
A Sunny Moo
Aug 2007
USA (GMT-5)
186916 Posts |
Quote:
Code:
max@max:~/Documents/prime-searching/phrot/libs$ make gcc -O3 -mtune-nocona -msse2 -msse2 -m64 -O3 -o math52.c2d.o -c math52.c cc1: error: unrecognized command line option "-mtune-nocona" make: *** [math52.c2d.o] Error 1 Quote:
Quote:
I must confess that I know essentially nil about C/C++, and am not very experienced in compiling things from source--I've compiled software from source before, but have never had to mess with editing things in makefiles and whatnot, so this is all new to me.
|
|||
|
|
|
|
|
#17 |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
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. |
|
|
|
|
|
#19 |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
One last note for those of you using phrot. You need to specify the -b3 and -o options when you run it. -b3 will write output residues that are compatible with LLR. -o will write those residues to a file in addition to what is written to the terminal. This file can then be sent when you complete your range.
Finally, if enough people start to use phrot, someone should consider supporting phrot with LLRNet. |
|
|
|
|
|
#21 | |
|
Jan 2006
Hungary
22·67 Posts |
Quote:
Willem. |
|
|
|
|
|
|
#22 | ||
|
Oct 2006
7×37 Posts |
Quote:
Quote:
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 ? Last fiddled with by tnerual on 2008-04-05 at 19:14 Reason: asking for move |
||
|
|
|
![]() |
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 |