Community
cancel
Showing results for 
Search instead for 
Did you mean: 
chang__tao
Beginner
494 Views

Intel C++ Compiler in HPC toolkit for OpenMP offload functionality

Hello,

Recently I followed the guide on this website: https://software.intel.com/en-us/articles/openmp-50-target-with-intel-compilers to compiler OpenMP offload codes with icpc in OneAPI HPC Toolkit.

However, after the installation of OneAPI Base Toolkit and OneAPI HPC Toolkit, there are only icc and icpc compilers without -qnextgen flag. Instead, I found two compilers icx and icpx, which integrate the nextgen functionality.

I wonder if the compiler mentioned in the guide is icpx?

Thanks in advance.

Tao

Tags (1)
0 Kudos
3 Replies
Pradeep_G_Intel
Employee
494 Views

Hi Tao,

Thanks for reaching out to us. We are looking into this concern. We'll get back to you soon.

Regards,

Pradeep

Pradeep_G_Intel
Employee
494 Views

Hi Tao,

Please provide details of your environment in which you are working e.g. system configuration and operating system with it's version. These details will help us to investigate regarding your concern.

Regards, 

Pradeep

PrasanthD_intel
Moderator
494 Views

Hi Tao,

The compiler mentioned in the document is icc/icpc . You can use -qnextgen flag  with icc/icpc which then supports OpenMP target feature.

I have checked on the devcloud which has Beta3 version of OneAPI Base Toolkit and OneAPI HPC Toolkit installed , and both icc and icpc is working fine with -qnextgen.

Let us know if this helps.

Thanks
Prasanth

Reply