MPI through mex and then MexCallMatlab
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi All
I have a fortran program using MPI for parallel calculations. I have created a mex file that is called from a matlab object, and I use a mexCallMatlab call to interrogate a Matlab function. My problem is that the mexCallMatlab part really slows everything down. I don't want go down the route of compiling the matlab function into C (yet), hence was wondering if I can use the parallel capabilities.
My fortran function can use MPI for parallel calculations, and now I am not sure how I can still use the parallel capability, if at all. Do I need to open a matlabpool in Matlab as well for the mexCallMatlab function part?
I have never tried to do this. Any help would be appreciated.
Etienne
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!