File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,9 +132,12 @@ For other operating systems you should be able to modify the commands below appr
132132 # This runs an installer, simply follow the instructions.
133133 sudo sh ./l_onemkl_p_2022.0.2.136.sh
134134 ```
135- - Add the following to your .bashrc. Change the directory accordingly if your MKL version is different.
135+ - Add one of the following to your .bashrc so that cmake can find the MKL library. Change the directory accordingly if your MKL version is different.
136+ Note that older versions require setting `MKLROOT` while newer versions require `MKL_DIR`.
137+ You can find out which one from the cmake error message.
136138 ```bash
137- export MKLROOT=/opt/intel/oneapi/mkl/2022.0.2
139+ export MKLROOT=/opt/intel/oneapi/mkl/2022.0.2 # for older versions
140+ export MKL_DIR=/opt/intel/oneapi/mkl/2024.2 # for newer versions
138141 ```
139142
140143- [OpenGL / GLUT](https://www.opengl.org/)
You can’t perform that action at this time.
0 commit comments