Is MPI Library available for MATLAB like it is available for C or Fortran?
6 views (last 30 days)
Show older comments
What i want to know is whether the API's for parallel computing like Open MP and MPI available for MATLAB too like they are available for C or Fortran? If available, are the libraries avaialble in the default full installation of MATLAB or they have to be separately paid and bought?
1 Comment
James Tursa
on 22 Dec 2020
Edited: James Tursa
on 22 Dec 2020
Many of the linear algebra operations in MATLAB are already multi-threaded in the background. For large scale parallel processing, the closest thing would be the Parallel Toolbox (separate purchase) which starts multiple MATLAB processes in the background.
Answers (1)
Bruno Luong
on 22 Dec 2020
No OpenMP is available for C and Fortran, using pragma/directive for compiled programing language on fix-variable type, with rigourous variable declaration on a scope.
Matlab has none of that, it's even not a serious programming language.
That having said you can buy parallel toolbox, and nothing prevent you to plug-in C/Fortran using OpenMP.
I don't know MPI to comment.
1 Comment
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!