<br><font size=2 face="sans-serif">This reflector is for discussion of
the MPI Standard. The Forum is working on extending the standard and this
is part of how we communicate. It is not a user question list.</font>
<br>
<br><font size=2 face="sans-serif">The simple answer is that MPI execute
several distinct copies of a program and provides the tools to let the
program author break up the work over these several copies. The program
author breaks up the work into many pieces and uses MPI to move data among
the several pieces. </font>
<br>
<br><font size=2 face="sans-serif">There are many MPI Tutorial on the Web
and you should probably begin there.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Dick Treumann - MPI Team
<br>
IBM Systems & Technology Group<br>
Dept X2ZA / MS P963 -- 2455 South Road -- Poughkeepsie, NY 12601<br>
Tele (845) 433-7846 Fax (845) 433-8363<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Michael Morrison <mwmorrison93@gmail.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">mpi-forum@lists.mpi-forum.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">07/12/2010 05:06 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">[Mpi-forum] Integrating parallel and
serial code</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font>
<td><font size=1 face="sans-serif">mpi-forum-bounces@lists.mpi-forum.org</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Hi All, I'm extremely new to MPI so forgive me if my question
comes off as silly. I've only been dabbling around with parallel computing
for a few weeks now but I'm wondering about the possibilities. So far with
each example that I've been through, I create an MPI application and then
run this application using the mpiexec command. What I'm wondering about
is if it would be possible to say have a C function that executes some
algorithm in a parallel manner that could be called by another C function.
For example suppose i had two C functions, the first called function A
and the second called function B. Function A is just a normal function
that runs serially, function B executes its algorithm parallelly using
MPI constucts. Is it possible to have a set up like this? <br>
<br>
>From the examples I've seen it appears that the MPI code runs as standalone
units and couldn't be integrated with serially executing code. Is
this true or is there someway to make this set up work? I may not have
given enough information to answer the question, if there's any confusion
please ask and i'll clarify.<br>
<br>
Thanks for your time,<br>
<br>
Mike</font><tt><font size=2>_______________________________________________<br>
mpi-forum mailing list<br>
mpi-forum@lists.mpi-forum.org<br>
</font></tt><a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum"><tt><font size=2>http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>