Hi All, I hope i&#39;m posting this in the correct forum. I&#39;m extremely new to MPI so forgive me if my question comes off as silly. I&#39;ve only been dabbling around with parallel computing for a few weeks now but I&#39;m wondering about the possibilities. So far with each example that I&#39;ve been through, I create an MPI application and then run this application using the mpiexec command. What I&#39;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&#39;ve seen it appears that the MPI code runs as standalone units and couldn&#39;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&#39;s any confusion please ask and i&#39;ll clarify.<br>
<br>Thanks for your time,<br><br>Mike<br>