Why does MATLAB Parallel Server validation fail or stall at the SPMD/Pool job test stage (communicating batch jobs)?

11 ビュー (過去 30 日間)
Why does MATLAB Parallel Server validation fail or stall at the SPMD/Pool job test stage (communicating batch jobs)?

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 4 月 10 日 0:00
編集済み: MathWorks Support Team 2024 年 3 月 21 日
This can be caused by a number of possible issues, including, but not limited to the following:
  • Network connectivity issues
  • Insufficient computer resources or restrictions are placed on computer resources
  • Licensing issues

 

Network connectivity issues

Make sure that each worker is able to communicate with each other over the network and that the appropriate ports are opened. If you don't know which ports should be opened, take a look at the link below.
How do I configure MATLAB Parallel Server using the MATLAB Job Scheduler to work within a firewall?
Please check your hosts file to make sure that any manual entries are added correctly. Entries added incorrectly can result in network connectivity issues.

 

Insufficient computer resources

Please make sure that MATLAB has the ability to access at least the minimum system requirements when validating your cluster. If you're unsure what the minimum system requirements are, take a look at the link below.

 

System Requirements

 

Licensing issues

It is also possible that there is an issue with the Network License Manager. There are several different types of Network License Manager errors, such as the Network License Manager being misconfigured, not running, or its ports are blocked. Check the Network License Manager for any faults. Otherwise, create a full validation report to see if you can find a License Manager error or a log file in the validation report.

 

If you are not getting any sort of error message, use the MATLAB commands below to generate a ZIP archive with logs in MATLAB's current working directory. If you are using R2023b or older, you will need to download pctLogging.m, which is attached to this page. Once downloaded, place it in your MATLAB path or working directory.
If the commands hang indefinitely, remove "j.wait".
c = parcluster('MJSProfile1'); % REPLACE MJSProfile1 WITH YOUR PROFILE NAME.
pctLogging.setParallelLogging(c,'on')
pctconfig('preservejobs',true);
j=batch(c,@pwd,1,{}, 'pool', 3);
j.wait
pctLogging.gatherParallelLogs(c)
pctLogging.setParallelLogging(c,'off')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by