Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Intel® MPI with C#

Svek
Beginner
168 Views

Hi,

I was wondering if you had any recommended way of using Intel MPI with C#?

The only resource that I found written by Intel was here. Which is a short tutorial that describes

"...how you reuse the shared Native App Logic across different operating systems. Native App Logic is the place [where] libraries like Integrated Performance Primitives and Threading Building Blocks fit in to make your apps run in the most optimized way for the underlying architecture."

The above article basically uses the DllImport Attribute (or P/Invoke) to make calls to native code (unmanaged code) from a managed application.

So to further on my question... Between these two options for doing this:

What is the recommended way? Does a C++/CLI wrapper already exist?

Thanks!

0 Kudos
1 Reply
Michael_Intel
Moderator
168 Views

Hello,

The MPI C++ bindings were deprecated as of the MPI 2.2 standard. Also, Intel MPI does not support C# and there are no CLI wrappers for the IMPI library functions.

Best regards,

Michael

 

Reply