|
|
|
## Windows - WSL2
|
|
|
|
_**Pre-built binaries available here: [Build](build).**_
|
|
|
|
|
|
|
|
**Install WSL2**
|
|
|
|
Ensure that:
|
|
|
|
1) virtualization is turned on in BIOS,
|
|
|
|
2) _Hyper-V_ and _Virtual Machine Platform_ are turned on in Windows features,
|
|
|
|
3) _Memory integrity_ is turned on in Windows Security (Core isolation).
|
|
|
|
|
|
|
|
When all the requirements are met, WSL can be installed via a console
|
|
|
|
```bat
|
|
|
|
wsl.exe --install [Distro]
|
|
|
|
```
|
|
|
|
where `Distro` is the name of the Linux distribution.
|
|
|
|
|
|
|
|
**Get packages, build and run the code**
|
|
|
|
All the steps are the same as those described in [Build Linux](build_linux), with the exception that Intel MKL must be installed using [oneAPI](https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html). Assuming that oneMKL has been installed in the default location, the following line must be added to the .bashrc file: `source /opt/intel/oneapi/mkl/2024.0/env/vars.sh`. |