Hi, bartek.koc...@gmail.com wrote: >./MacLucasFFTW c756839 >caso 2 >Segmentation fault
Thank you report. I fix it. $ 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.d.patch $ patch -p0 -d . < MacLucasFFTW.ps3.d.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 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 38m21.821s user 37m43.616s sys 0m31.503s $ time ./MacLucasFFTW 32582657 ... 9901 2097152 10001 2097152 ^C real 17m12.618s user 16m57.263s sys 0m13.546s 2048k fft sec/iter = 0.1033 .. . . . . . . . . . Shoichiro Yamada ya...@netnews.gotdns.org _______________________________________________ Prime mailing list Prime@hogranch.com http://hogranch.com/mailman/listinfo/prime