After installing and sourcing the setvars.sh script, I cannot compile my dpc++ code. The dpcpp compiler doesn't seem to be installed.
Thanks for reaching out to us.
Could you please provide us a screenshot of the output you got after sourcing the setvars script?
Also could you please tell us the type of shell you were using?
You can get that by using the command :
Hi, I am using zsh and had some difficulty running the setvars.sh script but thanks to some help here on the forums I got it to work as shown:
From the output, we can observe that the compiler is initialized. Which OneAPI toolkit have you installed? For dcpp basekit should be installed.
Could you please tell us what was error you were getting while trying to use dpcpp?
What was the output of dpcpp --version?
It's the base toolkit, yeah. I also installed the HPC Toolkit but I got the base one first.
The output is simply "zsh: command not found: dpcpp"