Corrections about MKL setup in R guide - #50
Open
david-cortes-intel wants to merge 1 commit into
Open
Conversation
| If oneMKL is installed through means other than APT, one might first need to [source its environment script](https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-linux/2026-0/setting-environment-variables.html#SETTING-ENVIRONMENT-VARIABLES) **before** executing the commands above: | ||
| * To add oneMKL's paths to system library loading paths, assuming version 2026.0 (not needed if one [sources the environment script](https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-linux/2026-0/setting-environment-variables.html#SETTING-ENVIRONMENT-VARIABLES) before launching R): | ||
| ```shell | ||
| printf "/opt/intel/oneapi/2026.0/lib/\n/opt/intel/oneapi/mkl/latest/lib/\n" | sudo tee /etc/ld.so.conf.d/intel-oneapi-mkl.conf |
Contributor
Author
There was a problem hiding this comment.
@vmalia MKL packages that don't have 'runtime' in the name and which put files under /opt/intel/oneapi/mkl do not provide this file. I cannot think of any programmatic way to achieve this in a version-agnostic way given the paths that MKL uses.
Please review and provide alternatives if there are any.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Guide was missing a couple steps that came up during issue reviews from install team. Verified now in a clean docker container that it works with just these commands.
CC @adgubrud @jasukhar