Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel ICX Compiler , Intel® DPC++ Compatibility Tool, and GDB*

Integrating DPC++ and MPI

Tamer_Assad
Innovator
2,104 Views

What is the integration model of DPC++ with MPI?

0 Kudos
7 Replies
Tamer_Assad
Innovator
2,104 Views

It is natural :)

 

Just pointing to the dpcpp as the cxx compiler.:

mpiicpc -cxx=dpcpp sample.cc

0 Kudos
PrasanthD_intel
Moderator
2,104 Views

Hi,

Yes you are right you can compile MPI with Sycl code using this command. 

Let us know in case if you face any issues.

 

Thanks 

Prasanth

0 Kudos
Tamer_Assad
Innovator
2,104 Views

Thank you Prasanth,

 

Could you please point to a referance about the linking models and redistribution requirements in this context?

 

Best regards,

Tamer

0 Kudos
PrasanthD_intel
Moderator
2,104 Views

Hi ,

You could also use dpcpp -I$I_MPI_ROOT/include/ -L$I_MPI_ROOT/lib/release -lmpi sample.cpp for compiling/linking dpcpp and MPI code.
For redistribution requirements please refer to release notes of HPC toolkit.

Feel free to reach out to us if you have any more queries.

Thanks 

Prasanth

0 Kudos
RahulV_intel
Moderator
2,104 Views

Hi Tamar,

Let us know if we can close this thread.

0 Kudos
Tamer_Assad
Innovator
2,104 Views

Thank you Rahul and Prasanth,

 

DPC++ /MPI integration is considered solved.

 

I have created another thread for the linking models and redistribution requirements:

DPC++ Linking and Deployment "https://software.intel.com/en-us/forums/oneapi-data-parallel-c-compiler/topic/848900"

 

Best regards,

0 Kudos
RahulV_intel
Moderator
2,104 Views

Hi Tamer,

Glad to know that your issue got resolved. Feel free to reach out to us in case of further queries.

 

Rahul

0 Kudos
Reply