Ask a questionAsk a question
 

QuestionMS MPI and GUI, COM

  • Friday, July 17, 2009 10:47 AMrteav Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have an application which has its GUI and uses COM technology. I want to use MPI in one of the modules of the application. I wonder how will the system behave concerning COM technology in general.

    And how will the existance of GUI affect the MPI parallesation.

    I would be thankfull if someone could give a link to a reference about internal work principals of the MS MPI, I mean what REALLY happens when I call MPI_Init() - is it something like UNIX fork() with copying the whole process envirorment via network (including all dlls that proccess loads) or just some binary code delegation?

All Replies

  • Friday, July 24, 2009 7:30 PMChristopherMorley Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    There is no inherent conflict between MPI, COM, and a gui. You have to be careful about threading, but that is true for each of those technologies on their own.

    Regarding what goes on in MPI_Init, you could look here:
    http://trac.mcs.anl.gov/projects/mpich2/browser/mpich2/trunk/src/mpi/init/init.c

    It sounds like you are more interested in the process creation, which is in mpiexec or the job manager.

  • Monday, September 21, 2009 3:21 AMehsan_ro Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Everyone
    I am new in MPI so I am sorry if my question sounds silly.
    I wanna know if is it possible to write a MPI program by MPI.net without using console application?
    I don't wanna switch between console application and my windows application (i.e. GUI)
    Thanks in advance
    Ehsan