Is MPI Library available for MATLAB like it is available for C or Fortran?
조회 수: 13 (최근 30일)
이전 댓글 표시
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
James Tursa
2020년 12월 22일
편집: James Tursa
2020년 12월 22일
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.
답변 (1개)
Bruno Luong
2020년 12월 22일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!