# Acceleration of Intel MKL on AMD Ryzen CPU's

**URL:** https://discourse.julialang.org/t/acceleration-of-intel-mkl-on-amd-ryzen-cpus/31287
**Category:** Performance
**Tags:** performance, mkl, linearalgebra
**Created:** [November 19, 2019, 9:35pm UTC](https://discourse.julialang.org/t/acceleration-of-intel-mkl-on-amd-ryzen-cpus/31287 "2019-11-19T21:35:18Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![RoyiAvital](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/royiavital/32/571_2.png) [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)
#### Post date: [November 21, 2019, 5:52am UTC](https://discourse.julialang.org/t/acceleration-of-intel-mkl-on-amd-ryzen-cpus/31287/2 "2019-11-21T05:52:03Z")

</div>

## How to Set the Environment Variable in Juno

In order to set the Environment Variable in Juno one could do:

1. Create a Launcher for Juno  
One could create a script file or batch file to launch Juno and set the variable. For instance, In Windows, see the launcher defined in [Guide: How to Create a Portable Julia Pro Installation for Windows](https://discourse.julialang.org/t/29831).
2. Edit the Init File of Juno
  - Open the Command Pane (`Ctrl + Shift + p`).
  - Type `Init Script` and choose: `Application: Open Your Init Script`.
  - A file named `init.coffee` or `init.js` will be opened. Add `process.env["MKL_DEBUG_CPU_TYPE"] = "5"` in its last line.
  - Save and restart Juno.

---

_[View the full topic](https://discourse.julialang.org/t/acceleration-of-intel-mkl-on-amd-ryzen-cpus/31287)._
