When using Matlab engine and calling from multiple ranks, does each rank use one Matlab license?
2 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to write a python code that will call a Matlab function compiled for python. I need to know if, when running this code using multiple MPI processes, will each need one instance of Matlab? Will this be a potential bottleneck in opening multiple instances of Matlab?
0 件のコメント
採用された回答
Divyanshu
2024 年 7 月 1 日
Hi Dan,
As per my understanding you are trying to call MATLAB functions from Python Code. If you are running the Python code from multiple processes and are trying to connect each Python session with an instance of MATLAB, it is possible to do so.
Please refer the following documentation link for more details on 'How to connect Python to a Running MATLAB session on your local machince':
You may replicate the steps specified in the above documentation to multiple Python sessions.
Hope it helps!
2 件のコメント
Divyanshu
2024 年 7 月 3 日
Hi, I don't think you will hit any such license limit because running Multiple sessions/instances of MATLAB on same machine under the same user account does not consume multiple licenses.
You can refer the following thread for more details:
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Call MATLAB from Python についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!