Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Nathan_Cummings
Beginner
193 Views

macOS: dpcpp: command not found

After installing and sourcing the setvars.sh script, I cannot compile my dpc++ code. The dpcpp compiler doesn't seem to be installed.

Many thanks,

Nathan

0 Kudos
5 Replies
PrasanthD_intel
Moderator
151 Views

Hi Nathan,


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 :

ps $$


Regards

Prasanth


Nathan_Cummings
Beginner
147 Views

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:

Nathan_Cummings_0-1618391272351.png

 

PrasanthD_intel
Moderator
124 Views

Hi Nathan,

 

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?

 

Regards

Prasanth

Nathan_Cummings
Beginner
122 Views

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"

PrasanthD_intel
Moderator
97 Views

Hi Nathan,


We are looking into the issue and get back to you soon.


Regards

Prasanth


Reply