Am 23.02.2018 um 19:43 schrieb Allin Cottrell:
On Thu, 22 Feb 2018, Artur Tarassow wrote:
> I would like to play around a bit with the options for "set
> blas_mnk_min" and "set mp_mnk_min". Unfortunately, both of these
> set-options are not documented (at least I couldn't find anything) in
> the manual/help. I've found only two relatively old gretl-documents on
> this but I am not sure the statements made there are still valid.
>
> To be more concrete, I've got the following two questions:
> 1) What are the respective default values for a linux (ubuntu) machine?
blas_mnk_min = 90000, omp_mnk_min 80000. BTW you can find the current
value of a "set" variable by invoking the "set" command without
giving a
value for the variable:
? set blas_mnk_min
blas_mnk_min: positive integer, currently 90000
Ah, ok, thanks, Allin. Is there a specific reason (of course apart from
time constraints) why these 2 options are not mentioned in the command
reference?
> 2) Would it be possible to link against Intel's MKL library?
If so,
> has anyone ran some benchmarks against this library before?
Yes, I've built gretl linked against Intel MKL when testing on
HPC
systems. Generally I've found that openblas is as fast, but you need to
link to MKL (at present) if you want optimization for Xeon Phi.
Thank you for this information. I guess for matrix operations using
rather small matrices the difference may indeed be negligible. But I am
wondering whether MKL would give some boost for vectorized operations as
it should be highly optimized for Intels' instructions sets...
Best,
Artur