I'm trying to follow the steps here and I get the following error when sourcing the setvars.sh script:
❯ source setvars.sh
setvars.sh:436: no matches found: advisor\ncommon.sh\ncompiler\nconda_channel\ndal\ndev-utilities\ndnnl\ninstaller\nintelpython\nipp\nippcp\nlicensing\nlogs\nmkl\nmodulefiles-setup.sh\nreadme-get-started-mac-os-base-kit.html\nsetvars.sh\nsupport.txt\nsys_check.sh\ntbb\nvtune_profiler\n/opt/intel/oneapi/*/*/env/vars.sh
:: initializing oneAPI environment ...
-zsh: ZSH_VERSION = 5.7.1
:: ERROR: No env scripts found: No "env/vars.sh" scripts to process.
This can be caused by a bad or incomplete "--config" file.
Can also be caused by an incomplete or missing oneAPI installation.
I tried running the sys_check.sh script, but the error I got there was:
❯ ./sys_check.sh
:: intelpython -- latest
Traceback (most recent call last):
File "/opt/intel/oneapi/intelpython/latest/sys_check/sys_check.py", line 84, in <module>
assert sys.version_info > (3,5)
AssertionError
Issues Encountered.
Which is ultimately happening because the test is checking the system python, which on macOS is v2.7.
Any ideas how to get the environment variables set?
Hi,
Thanks for reaching out to us.
Could you please try the below command for sourcing the setvars.sh
# oneAPI setvars.sh use in zsh
bash -c 'source /opt/intel/oneapi/setvars.sh ; exec zsh'
For more details refer to the below link.
Please let us know if this helps.
If you get any errors please provide the complete error log file.
Thanks & regards
Noorjahan.
链接已复制
Hi,
Thanks for reaching out to us.
Could you please try the below command for sourcing the setvars.sh
# oneAPI setvars.sh use in zsh
bash -c 'source /opt/intel/oneapi/setvars.sh ; exec zsh'
For more details refer to the below link.
Please let us know if this helps.
If you get any errors please provide the complete error log file.
Thanks & regards
Noorjahan.
Ahh that did it! I'll mark as accepted answer.
Thanks a lot,
Nathan
Hi,
Thanks for the accepting as a solution. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.
Thanks & regards
Noorjahan,
