|
From: | Mathieu Taillefumier |
Subject: | Re: [Help-gsl] Changing the CBLAS |
Date: | Thu, 02 Dec 2010 17:24:39 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101027 Thunderbird/3.3a1pre |
On 12/02/2010 03:42 PM, address@hidden wrote:
Hello, I wish to get my program working faster and I have gotten the intel MKL. I want to use those CBLAS instead of the default ones, how would I go about changing the cblas that GSL uses.
it is simple actually but it depends on the compilation process. If you use the autotools then you will have to modify gsl.pc (if you use pkg-config) and replace -lgslcblas with the corresponding parameters for mkl (please note it is permanent). Now if you have only a makefile, then just replace -lgslcblas with the appropriate linking options of mkl. that is pretty much all. I am using this trick for my code.
best M. T.
[Prev in Thread] | Current Thread | [Next in Thread] |