Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Embedding MPI program into a webservice ?
From: Lisandro Dalcin (dalcinl_at_[hidden])
Date: 2009-07-17 01:25:48


I do not know anything about implementing webservices, but you should
take a look at MPI-2 dynamic process management. This way, your
webservice can MPI_Comm_spawn() a brand-new set of parallel processes
doing the heavy work. This way, your webservice will act as a kind of
proxy application between the request coming from the outside world
and your parallel computing resources...

On Fri, Jul 17, 2009 at 12:44 AM, Ashika Umanga
Umagiliya<aumanga_at_[hidden]> wrote:
> Greetings all,
>
> I am in the design level of parallizing an SVM algorithm.We need to expose
> this as a webservice.I have decided to go with Axis2/C implementation.
>
> Please refer to : http://i30.tinypic.com/i707qq.png
>
> As can be seen in the Figure1 , can I embedd my MPI logic in side my
> Webservice ? I guess that its not possible because the webservice is
> packaged as a static library (myService.so) and can not execute the
> "mpirun".
>
> In Figure2, I have illustrated another alternative.In my Webservice, I
> invoke my parallel program (myParallelProg) using "mpirun" and other
> parameters.
>
> Is there any good design to accomplish what I am trying to do?I think the
> second is not a good design ?
>
> Thanks in advance,
> umanga
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594