Hi,

[email protected] wrote:
>ps3$ time ./MacLucasFFTW 859433
>M( 859433 )P, n = 65536, MacLucasFFTW v8.1  Ballester
>
>real    65m59.341s
>user    64m26.565s
>sys     1m25.307s

$ mkdir old
$ cd old
$ tar -zxvf fftw-3.2.1.tar.gz 
$ tar -zxvf mers.tar.gz 
$ cd ../.
$ wget 
http://netnews.gotdns.org/WallStreet/6351/gfn/lucas.ps3/MacLucasFFTW.ps3.c.patch
$ patch -p0 -d . < MacLucasFFTW.ps3.c.patch
$ cd old/fftw-3.2.1/
$ ./configure --enable-cell
$ make
$ cd ../mers/.
$ gcc -std=gnu99 -DHAVE_CONFIG_H -fstrict -aliasing -mcpu=cell  -Wshadow 
-Wpointer-arith -Wcast-qual  -Wcast-align -Wwrite -strings -Wconversion 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs  -DMERS_PACKAGE 
-DBIT_SIEVE  -DTESTING_SMALL_EXPONENTS -DSIEVE_SIZE_IN_BYTES=32 
-DNUM_SMALL_PRIMES=32768  -O3  -funroll-loops -DDO_NOT_USE_LONG_DOUBLE  
-I/usr/local/include -pg MacLucasFFTW.c setup.c rw.c balance.c zero.c 
-L/usr/local/lib - o MacLucasFFTW ../fftw-3.2.1/.libs/libfftw3.a -lspe2 -lm
$  time ./MacLucasFFTW 859433
...
 859301 65536 
 859401 65536 
M( 859433 )P, n = 65536, MacLucasFFTW v8.1  Ballester

real    56m15.384s
user    55m27.644s
sys     0m46.385s

 .. .  .   .    .     .       .         .          .           .
 Shoichiro Yamada [email protected]
_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to