[mpich-discuss] Connect MPI application to a Web service

Nicolas Rosner nrosner at gmail.com
Thu Mar 17 11:13:30 CDT 2011


Another option could be a client-server approach where both ends are
MPI C++ programs: your Java code calls mpiexec on each request, but
merely to run a smallish MPI client that then connects to a constantly
running MPI server via intercomm (see MPI_Comm_connect et al).

That way you could just use message-passing as usual instead of having
to roll your own protocol over an ad-hoc communication channel. One
might argue it's overkill to MPI-ize the client if it's not really a
parallel app; on the other hand, if you do need to handle several
requests at once, maybe this would help there?

Regards,
Nicolás


More information about the mpich-discuss mailing list