none
Using MPI under VC++ MFC project? RRS feed

  • Question

  • Does any body know how can I use MS_MPI in my VC++ MFC project?
    I already have a big MFC project and I only want to use parallel processing in a part of it with MPI.
    (I know how to use MPI in a separate code, but I don't know how to integrate it with my VC++ MFC project, specially debugging properties in MFC project)
    • Moved by Alex Sutton Tuesday, April 27, 2010 1:29 AM MPI question (From:Windows HPC Server Developers - General)
    Tuesday, April 20, 2010 1:44 PM

Answers

  • Hello Mike,

    Could you provide more details about your MFC project? You can insert the MPI code to MFC project with no problem by setting the project properly as you did for separate MPI project. However, have you considered how to distribute your MPI code to the cluster, ie. how you invoke your MPI apps in you MFC project? In my suggestion, the easiest way to invoke your MPI apps inside MFC is to compile your MPI apps separately. Then in you MFC project, just using job scheduler API to invoke the MPI apps. By doing so, you can development and debug your MPI code independently from your main MFC project.

    Please let me know whether this is doable in your project.

    James

    Wednesday, April 28, 2010 5:58 PM