Is MPI Library available for MATLAB like it is available for C or Fortran?

조회 수: 13 (최근 30일)
S Ban
S Ban 2020년 12월 22일
댓글: Science Machine 2022년 9월 28일
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
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
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.

카테고리

Help CenterFile Exchange에서 Parallel Computing에 대해 자세히 알아보기

제품


릴리스

R2015a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by