How can I test the licensing and installation for the worker nodes in my MATLAB Parallel Server cluster?
37 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2020 年 5 月 4 日
編集済み: MathWorks Support Team
2025 年 1 月 2 日
I have just installed MATLAB Parallel Server and would like to check the license is working correctly. How can I do this?
採用された回答
MathWorks Support Team
2025 年 1 月 2 日
編集済み: MathWorks Support Team
2025 年 1 月 2 日
Starting with R2019b, there is a utility script called "checkLicensing" available inside the MATLABROOT\toolbox\parallel\bin for MATLAB Parallel Server. The utility script performs a license check for MATLAB Parallel Server workers by starting a parallel worker and outputting the version information or any license errors to a logfile.
Please Note: The "checkLicensing" script is intended to be used if you are serving a MATLAB Parallel Server license from a network license manager. If your cluster is configured to use "Online Licensing" instead, then the "checkLicensing" script is not useful and the only way to test the license checkout is by running validation from a MATLAB client. Be sure to sign in to MATLAB using a MathWorks account which is linked to the Online Licensing license or trial as a License End User before validating. For more information, see:
Online Licensing for MATLAB Parallel Server
https://www.mathworks.com/products/matlab-parallel-server/online-licensing.html
The recommended usage would be to run the following from a cmd or terminal prompt within your MATLABROOT\toolbox\parallel\bin folder. Be sure to use the -logfile flag to point to directory that you would have permissions for:
Windows
checkLicensing.bat -logfile C:\Temp\parallelLicense.log
For other input flags and usage:
checkLicensing.bat -h
Linux
./checkLicensing -logfile /tmp/parallelLicense.log
For other input flags and usage:
./checkLicensing -h
Below is an example of the output you may see after running ./checkLicensing:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 24.1.0.2537033 (R2024a)
MATLAB License Number: 123456
Operating System: Linux 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 24.1 (R2024a)
MATLAB Parallel Server Version 24.1 (R2024a)
Parallel Computing Toolbox Version 24.1 (R2024a)
NOTE: For R2019a and prior, refer to the following article for the old workflow:
How can I test the licensing and installation for the worker nodes in my MATLAB Parallel Server cluster?
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!