hkmoffat / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

Enable Interface to MKL BLAS + LAPACK Libraries #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I notice your BLAS calls all appear to default to lowercase, with a trailing 
underscore. Is there a away to link with the Intel Math Kernel Library BLAS 
functions? I believe they are of the form DCOPY(), at least on my Windows 
version!

I am using Win7 64bit with MKL 10.3, Release 7, and compiling with VS 10.0

Original issue reported on code.google.com by maoriele...@gmail.com on 13 May 2012 at 3:33

GoogleCodeExporter commented 9 years ago
I think the SCons options "lapack_names=upper" and 
"lapack_ftn_trailing_underscore=n" should do what you want here.

Original comment by yarmond on 13 May 2012 at 10:45

GoogleCodeExporter commented 9 years ago
Actually, Cantera's default LAPACK naming convention works fine with the MKL. 
Specifying the following scons options was all that was necessary for me:

    env_vars=all blas_lapack_libs=mkl_rt blas_lapack_dir=$(MKLROOT)/lib/intel64

There is a minor update using the MKL and Sundials simultaneously in r1508.

Original comment by yarmond on 29 May 2012 at 9:26