Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and GDB*
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

macOS: dpcpp: command not found

Nathan_Cummings
940 Views

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

8 Replies
PrasanthD_intel
Moderator
898 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
894 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
871 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
869 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
844 Views

Hi Nathan,


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


Regards

Prasanth


peba
Beginner
697 Views

Dear all,

I am having the same problem, so is there some solution yet?

I installed the base toolkit and the hpc toolkit

After having installed the hpc toolkit I have icc (classic compiler) but still not dpcpp. It just seems not to be installed.

Any help would be greatly appreciated.

Best regards, Peter

Nathan_Cummings
689 Views

I received a message on 20/4 that said the following:

 

"

Hi Nathan

 

 

We don't support dpcpp compiler on mac OS as documented at https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-system-requirements.... If you check for icc, you should see that configured correctly.

"

 

A disappointing response that essentially seems to say that macOS is just not supported at all. I would suggest that the documentation is not clear enough on this issue, as many of the pages in the docs don't make the point that Mac users won't get the dpcpp compiler.

 

If anyone from intel would like to correct me on any of that, feel free.

All the best, Nathan

peba
Beginner
683 Views

Hi Nathan,

thanks a lot for that information! That is too bad, I was so happy that I had a portable way for

development. I completely agree that the documentation and website is not clear on that issue.

Unless you read the software requirements of the compiler you get the impression that everything

will work on macOS.

Best regards,

Peter

Reply