# Intel oneAPI MKL

**URL:** <https://calculix.discourse.group/t/intel-oneapi-mkl/482>\
**Category:** Uncategorized\
**Created:** [March 10, 2021, 8:41pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482 "2021-03-10T20:41:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [March 10, 2021, 8:41pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/1 "2021-03-10T20:41:58Z")

</div>

I updated the Intel MKL to the latest version and Calculix won’t run now. It says it can’t find the mkl dll. I see the name is different. All the new ones have the number 1 in the names. Other than uninstalling the latest version and re-installing the old version, are there any other ideas? thanks

---

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [March 10, 2021, 8:58pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/2 "2021-03-10T20:58:55Z")

</div>

I tried making a copy of the file and renaming it. That seemed to work. It’s solving now. So just to clarify:

Renamed; intel\_mkl\_thread.1.dll to intel\_mkl\_thread.dll

---

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [March 10, 2021, 9:42pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/3 "2021-03-10T21:42:15Z")

</div>

hmm, it’s running 5 mins longer on a test model i use. I wonder if there are other files that need to be renamed. this is a screenshot of the files in the latest version of the Intel oneAPI MKL. maybe the next version of Calculix will find the new files by default.

 ![Intel oneAPI MKL Files](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/73b6f9f1a81504f8aa444693ed61d82c20998792.png)

---

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [March 10, 2021, 11:47pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/4 "2021-03-10T23:47:21Z")

</div>

i tried adding a few more paths and that seemed to fix the problem. so the three paths i have now are:

C:\Program Files (x86)\Intel\oneAPI\mkl\2021.1.1\redist\intel64  
C:\Program Files (x86)\Intel\oneAPI\mkl\2021.1.1\include  
C:\Program Files (x86)\Intel\oneAPI\mkl\2021.1.1\lib\intel64

i’m not sure if the last two are needed or just one of them. but since it’s working, i’ll leave it alone.

update; I ran 5 tests. three of them I used the computer while it solved. in those cases, it was about 7 mins slower to solve. if I didn’t use the computer, it solved in about the same time as the last intel mkl. so the additional paths may not be necessary.

---

<div class="post-metadata">

**Author:** ![carlomontec](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@carlomontec](https://calculix.discourse.group/u/carlomontec)\
**Post date:** [March 11, 2021, 1:15pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/5 "2021-03-11T13:15:21Z")

</div>

As you mentioned, I also needed to adjust my Makefile to locate some libraries. fyi, The intel MKL link advisor becomes very useful:

> **[Intel® Math Kernel Library Link Line Advisor](https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl/link-line-advisor.html)**
>
> A tool for finding the right Intel® Math Kernel Library (Intel® MKL) file for you to link with your application.

---

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [March 13, 2021, 6:00pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/6 "2021-03-13T18:00:26Z")

</div>

So I did more testing and the only thing you need to do to get it to work is rename:

intel\_mkl\_thread.1.dll to intel\_mkl\_thread.dll

and add the following environment variable:

C:\Program Files (x86)\Intel\oneAPI\mkl\2021.1.1\redist\intel64

there is no solve time improvement from the previous version of the intel mkl though.

---

<div class="post-metadata">

**Author:** ![carlomontec](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@carlomontec](https://calculix.discourse.group/u/carlomontec)\
**Post date:** [April 1, 2021, 5:19pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/7 "2021-04-01T17:19:21Z")

</div>

In my case the modal analysis were done slightly faster, but that might be that I link to the MKL Arpack rather than the one contained in CCX.

---

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [April 1, 2021, 5:36pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/8 "2021-04-01T17:36:21Z")

</div>

i don’t build it. i run the windows version that is pre-compiled. i believe it uses the Intel MKL version of the PARDISO solver. not sure about the modal analysis solver it calls. i didn’t benchmark that.

Update; I just ran a model and it looks like the PARDISO solver is also used for pre-stressed modal analysis.

---

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [May 30, 2021, 6:15am UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/9 "2021-05-30T06:15:33Z")

</div>

The Intel MKL runtime download is really confusing now. Does anyone know which of the following the PARDISO Windows version of CCX needs?

 ![Intel MKL](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/d8a235ce1ba94197cba77aff05094b0f0821bb9a.png)

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://calculix.discourse.group/u/jbr)\
**Post date:** [May 30, 2021, 5:12pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/10 "2021-05-30T17:12:28Z")

</div>

I think the Intel MKL should be now part of the oneAPI package [PARDISO](https://software.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/sparse-solver-routines/onemkl-pardiso-parallel-direct-sparse-solver-interface.html).

---

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [May 30, 2021, 9:13pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/11 "2021-05-30T21:13:59Z")

</div>

thanks. i was wondering if the intel mkl was in any of the distributions. however, for now, i have the intel mkl installed with the oneapi base toolkit. in doing this, i found out something awesome. you can use all the intel compilers for free now. with Fortran codes that I write, the Intel compiler run times are up to 3x faster than gfortran. so i have two intel oneapi downloads installed. the base toolkit and the fortran compiler.

---

<div class="post-metadata">

**Author:** ![ceanwang](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@ceanwang](https://calculix.discourse.group/u/ceanwang)\
**Post date:** [June 18, 2021, 10:44am UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/12 "2021-06-18T10:44:22Z")

</div>

In my Windows 10, it is called mkl\_intel\_thread.1.dll

---

<div class="post-metadata">

**Author:** ![ceanwang](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@ceanwang](https://calculix.discourse.group/u/ceanwang)\
**Post date:** [June 18, 2021, 10:46am UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/13 "2021-06-18T10:46:16Z")

</div>

Which compiler you are using?  
Has anyone done with intel compiler (under WIndows 10)?

---

<div class="post-metadata">

**Author:** ![prop\_design](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/prop_design/32/197_2.png) [@prop\_design](https://calculix.discourse.group/u/prop_design)\
**Post date:** [June 18, 2021, 1:36pm UTC](https://calculix.discourse.group/t/intel-oneapi-mkl/482/14 "2021-06-18T13:36:39Z")

</div>

i don’t compile ccx. i use the pardiso version from the website. i have to make a copy of the mkl dll and rename it, taking out the 1.
