Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Tamer_Assad
Innovator
408 Views

Integrating DPC++ and MPI

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

Tags (1)
0 Kudos
7 Replies
Tamer_Assad
Innovator
408 Views

It is natural :)

 

Just pointing to the dpcpp as the cxx compiler.:

mpiicpc -cxx=dpcpp sample.cc

PrasanthD_intel
Moderator
408 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

Tamer_Assad
Innovator
408 Views

Thank you Prasanth,

 

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

 

Best regards,

Tamer

PrasanthD_intel
Moderator
408 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

RahulV_intel
Moderator
408 Views

Hi Tamar,

Let us know if we can close this thread.

Tamer_Assad
Innovator
408 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,

RahulV_intel
Moderator
408 Views

Hi Tamer,

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

 

Rahul

Reply