79417680

Date: 2025-02-06 11:20:36
Score: 2.5
Natty:
Report link

I'm having a similar issue getting oneAPI's MKL vars loaded on my vscode-jupyter notebook extension.

I found a work around by simply loading the environment vars before opening vscode:

(base) joe@cool$ source /opt/intel/oneapi/setvars.sh 
 
:: initializing oneAPI environment ...
   bash: BASH_VERSION = 5.2.21(1)-release
   args: Using "$@" for setvars.sh arguments: 
:: compiler -- latest
:: mkl -- latest
:: tbb -- latest
:: umf -- latest
:: oneAPI environment initialized ::
 
(base) joe@cool$ code&

But, I hope there is a better way to do this without closing and re-opening vscode every time I need to load a python library built with oneAPI's MKL calls.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having a similar issue
  • Low reputation (0.5):
Posted by: DrWho