- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I wonder if the new Intel LLVM Compilers will support the Intel MPI Library out of the box with the MPI wrappers (something like mpiicx). Right now oneAPI ships with MPI using classic compilers. In the documentation, I could not find information if and when there will be a transition.
Maybe you can give some information about the planned transition since we are now refactoring our code to work with the new compilers.
Best wishes
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
We can specify the LLVM compiler as -{cc,cxx,fc}=<compiler> option(<compiler> = icx/icpx/dpcpp) and use it with Intel MPI code.
Please find the below format:
mpiicc -cc=icx sample.c
mpiicpc -cxx=icpx sample.cpp
mpiicpc -cxx=dpcpp sample.cpp
For more details, please find the below link for compilation command options of Intel MPI code using LLVM compilers.
Thanks & Regards,
Varsha
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
We can specify the LLVM compiler as -{cc,cxx,fc}=<compiler> option(<compiler> = icx/icpx/dpcpp) and use it with Intel MPI code.
Please find the below format:
mpiicc -cc=icx sample.c
mpiicpc -cxx=icpx sample.cpp
mpiicpc -cxx=dpcpp sample.cpp
For more details, please find the below link for compilation command options of Intel MPI code using LLVM compilers.
Thanks & Regards,
Varsha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Varsha,
thank you very much for your answer. This works for us.
Nevertheless is there something like mpiicx planned? I think it is a bit confusing to use it this way because mpiicc suggests that the classic compiler is used, but one overrides it by setting the actual compiler driver. But maybe I am a bit too conservative on the naming here.
Best wishes
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank Varsha and nka.
And for newbie here:
the mpi version is still 2021.9.0, which is earlier than the icx and icpx. We can create our "own" mpi executables.
cp -a mpiicc mpiicx
and `vim mpiicx`, modify the line 118 to CC="icx"
cp -a mpiicpc mpiicpx
CXX="icpx"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for accepting our solution and for your valuable feedback.
We have provided your feedback to the relevant team. At this moment, there is no visibility of when it will be implemented and available for use. Please let me know if we can go ahead and close this case?
Thanks & Regards,
Varsha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Varsha,
sure, you can close the issue. Thank you very much for the support.
Best wishes
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation.
If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Varsha
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page