- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
are there any plans to support WSL2 in the near future - or is there already a workaround how to add the Intel compilers to the Platform Toolsets in a WSL2 Project?
Thanks,
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Currently, IDE does not support choosing the platform toolset in C++ Linux project in Visual Studio.
But we recommend the following method to use ICX and DPC++ in Linux projects.
1. After connecting to the target Linux system in Visual Studio, choose the platform toolset "Clang for Windows Subsystem for Linux"
2. You can specify the path of icpx, for e.g.
C++->General->C Compiler: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icpx
C++->General->C++ Compiler: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icpx
Linker->General->Linker: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icpx
3. Then the project can be built with ICX.
Hope this resolves your issue.
Thanks and Regards,
Pendyala Sesha Srinivas
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
You can use Intel C++/DPC++ Compiler 2023 on Microsoft Windows Subsystem for Linux 2 (WSL2), and you can try by using the native Linux distribution of Intel® oneAPI tools and libraries on Windows. For GPU Accelerator support starting with Intel® Graphics Driver version 30.0.100.9684 will support WSL2. Please refer to the below link for more details.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thanks for the information. What I'm looking for is the Intel compiler in a VS linux project. So I like to select the Intel compiler here:
This is a screenshot of a Windows Project. The VS-Linux project lists just GCC and Clang as Linux compiler toolset - Intel is missing.
Thanks,
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know which Linux distribution and version you are using on WSL2?
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Currently, IDE does not support choosing the platform toolset in C++ Linux project in Visual Studio.
But we recommend the following method to use ICX and DPC++ in Linux projects.
1. After connecting to the target Linux system in Visual Studio, choose the platform toolset "Clang for Windows Subsystem for Linux"
2. You can specify the path of icpx, for e.g.
C++->General->C Compiler: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icpx
C++->General->C++ Compiler: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icpx
Linker->General->Linker: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icpx
3. Then the project can be built with ICX.
Hope this resolves your issue.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thanks for your solution. I think I can work with it. Do you plan to have a native support for your compiler? Specially to give access to the custom options of it that are not accessable through the clang template?
Can you also please share the guides for the Intel DPC++ ?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the information provided above helped? If yes, could you please confirm whether we can close this thread from our end?
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for accepting our solution.
>>> Do you plan to have a native support for your compiler? Specially to give access to the custom options of it that are not accessable through the clang template?
Can you also please share the guides for the Intel DPC++ ?
As of now, we do not have any plans. We have provided your feedback to the development team.
You can refer to the below link for more information on the Intel DPC++ compiler.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the information provided above helped? If yes, could you please confirm whether we can close this thread from our end?
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi - sorry for my late reply. Yes, you can close this issues.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.
Thanks and Regards,
Pendyala Sesha Srinivas
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page