Hi,
I am given a Matlab+C program for me to parallelize. What I need to do
is to parallelize a C routine that is called by another C routine, which in
turn is called from Matlab. There are large and complicated C data
structures that are passed in and out the C routine being parallelized.
My question is: is there a way to spawn MPI processes from a non-MPI
process, and at the same time pass in and out C data structures between
the parent sequential and the child MPI processes.
I hope my question is clearly phrased. Any suggestions and comments
are welcome and appreciated greatly!
Best regards,
-Lei
|