View Single Post
Old 2010-08-31, 23:56   #27
pacionet
 
pacionet's Avatar
 
Oct 2005
Italy

33910 Posts
Default

Nice ...

without the -maix64 flag it seems to work

PRP:

Code:
phrot.g5 -q 5028*10^83982+1
sizeof(int64)=8
Phil Carmody's Phrot (0.72)

Input 5028*10^83982+1 :  Actually testing 5028*1000000^13997+1 (witness=3 13998/28672 limbs)
5028*10^83982+1 is PRP. (e=0.05469 (0.0824785~4.62227e-16@0.000) t=450.37s)
Known residue:

Code:
phrot.g5 -q 56093*36^58139-1

RES64: [00BFD059739B458C]

LLR64=00bfd059739b458c

Anyway, I remember that in all previous attempts (probably when libyeafft was compiled with -O3 ?) without -maix64 flag gcc complains and output some errors.

So, resuming, the final working configuration (flags) for me is:

Code:
YEAFFT: -O1  -DY_MEM_THRESHOLD=8192 -DY_KILL_BRANCHES -DY_VECTORIZE

PHROT: gcc -lm -lpthread  -Wall -o phrot.g5 phrot.c \
-O1  -DY_MEM_THRESHOLD=8192 -DY_KILL_BRANCHES -DY_VECTORIZE \
-I../glucas ../glucas/libyeafft.a

Thanks
pacionet is offline   Reply With Quote