1

I'm using windows' ubuntu terminal, which i'm sure in the problem, but I've installed the linux version of intel's oneAPI on the ubuntu terminal. its says Intel's oneAPI base toolkit has been installed, but typing either

vtune-gui

or just

vtune

into the same terminal where i just installed it gets me a "command not found" message

plotka
  • 63
  • 1
  • 8
  • The Intel's OneAPI toolkit just works fine for me on the fly! May I know what machine configuration and versions of OS are you working on? Please check if other linux commands/tools are working fine on the same session/terminal, before debugging the one API toolkit – Sachin Mokashi Dec 21 '20 at 06:04

1 Answers1

4

Did you set-up ("source") oneAPI command line environment? More specifically:

For root or sudo installations:

. /opt/intel/oneapi/setvars.sh

For normal user installations:

. ~/intel/oneapi/setvars.sh

In general, please follow oneAPI "Getting Started" guide, where you can find full list of possible prerequisites (including the one regarding setvars script), although in practice not all of them are required, depending on your usage model.

Specifically for Intel VTune or Intel Advisor GPU side analysis you may need to additionally follow "disable hangcheck" and "add user to videogroup" steps from the aforementioned guide.

zam
  • 1,664
  • 9
  • 16