Anyway, in case anyone would like to test I'm attaching a matrix
multiplication script that Jack wrote. Right now this is mostly
useful for people building gretl from source, since you want to
run timings both with and without MP, which requires rebuilding.
But if you're currently using a snapshot from before yesterday
(build date 2010-03-21 or earlier) you could run the script, then
download a current snapshot and run it again.
Allin
I executed the script with gretl built on 2010-03-21, on my desktop PC,
a Dell Workstation T7400 with two Intel-Xeon Quadcore (3.0 Mhz)
processors. The result is:
? run matmult_test.inp
/home/ignacio/gretl/jack/matmult_test.inp
? set echo off
40000: 0,42 ( 0,095 Mflops)
160000: 0,44 ( 0,366 Mflops)
640000: 1,49 ( 0,428 Mflops)
2560000: 0,77 ( 3,345 Mflops)
10240000: 1,64 ( 6,241 Mflops)
Hecho
With gretl built from current CVS:
? run matmult_test.inp
/home/ignacio/gretl/jack/matmult_test.inp
? set echo off
40000: 0,13 ( 0,318 Mflops)
160000: 0,35 ( 0,462 Mflops)
640000: 0,96 ( 0,664 Mflops)
2560000: 0,77 ( 3,320 Mflops)
10240000: 1,75 ( 5,863 Mflops)
Hecho
I must report that, although I did not obtain any errors in running
"configure" or "make", I obtained the following errors (that I hope
you
understand better than me) from "make check":
ignacio@U001082:~/gretlcomp/gretl$ make check
make -C tests check
make[1]: se ingresa al directorio `/home/ignacio/gretlcomp/gretl/tests'
../libtool --mode=link gcc -o nistcheck
nistcheck.o ../lib/libgretl-1.0.la -lxml2
libtool: link: gcc -o .libs/nistcheck
nistcheck.o ../lib/.libs/libgretl-1.0.so -L/usr/lib -llapack -lblas
-lgfortran -ldl
-lz /usr/lib/libglib-2.0.so /usr/lib/libgmp.so /usr/lib/libfftw3.so
-lm /usr/lib/libxml2.so -pthread
../lib/.libs/libgretl-1.0.so: undefined reference to `omp_get_wtime'
../lib/.libs/libgretl-1.0.so: undefined reference to `GOMP_parallel_end'
../lib/.libs/libgretl-1.0.so: undefined reference to
`omp_get_num_threads'
../lib/.libs/libgretl-1.0.so: undefined reference to
`GOMP_parallel_start'
../lib/.libs/libgretl-1.0.so: undefined reference to
`omp_get_thread_num'
collect2: ld returned 1 exit status
make[1]: *** [nistcheck] Error 1
make[1]: se sale del directorio `/home/ignacio/gretlcomp/gretl/tests'
make: *** [check] Error 2
--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.ea3.ehu.es