DeinoMPI Forum

Forum dedicated to discussing DeinoMPI
Welcome to DeinoMPI Forum Sign in | Join | Help
in Search

Need MPI expertise

Last post 05-02-2008, 10:14 PM by bms. 0 replies.
Sort Posts: Previous Next
  •  05-02-2008, 10:14 PM 235

    Need MPI expertise

    Hi!

    I'm totally new to MPI and I would like to know if the following is possible. I have an application that uses a certain DLL. The application is not MPI based and therefore does not make use of MPI_Init.

    What I've been trying to do is to intercept that application DLL by providing my own DLL that in turn will call the correct DLL (hook), In my new DLLMain function I've been trying to start the MPI_Init function. The problem here is that MPICH does not like MPI_Init to be called at this point and MPI is never initialized.

    I've also tried to use MPI_Comm_spawn. That has also failed since the spawned process also needs to call the MPI_Init function in order to be able to communicate with the parent process.

    So, what I would like to know is if there are any other possible ways to attach to a process and pass information using MPI. Here is the architecture that I have in mind:


    *************    
     MPI Client App                             
    MPI Server (1)
    *************                             ...   

        Application       ---------------->
    *************                             ...
    Intercepted DLL                             MPI Server (n)


    Any ideas and/or examples will be much appreciated.

    Thanks

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems