Wolfram Computation Meets Knowledge

Why doesn’t Mathematica automatically launch as many local subkernels as I expected?

Local subkernels launch automatically when either the first parallel function or the LaunchKernels[] function is evaluated.

By design, Mathematica automatically launches subkernels equal to the number of physical CPU cores. Mathematica does not detect logical CPU cores, such as those coming from hyperthreading technology. To override this setting, use the LaunchKernels[n] function, where n is an integer indicating the number of local subkernels to launch.

Get the number of subkernels available for parallel computations:

In[1]:= $KernelCount:
Out[1]= 8

Add 4 additional local subkernels:

There are 12 local subkernels available now:

In[3]:= $KernelCount
Out[3]= 12

Mathematica can never launch more subkernels than the number of available subkernel license seats. To look up the total number of available subkernel license seats you purchased, evaluate $MaxLicenseProcesses from within a desktop Wolfram Language session.

If there are more CPU cores than subkernel license seats, then a warning message appears for each automatic subkernel that tries to launch beyond this limit. Enabling the “Limit by license availability” option avoids this.

If there are more CPU cores than subkernel license seats, then you may wish to purchase a Mathematica Core Extension license that provides more subkernel license seats.

Some license seats may be taken up by subkernels that did not shut down properly. Ending these processes returns the held license seats.

この項目は役に立ちましたか?
はい
いいえ

ご意見・ご提案がおありでしたらお書きください.

フィードバックをありがとうございました.

送信

サポートへのお問合せ

お支払い,アクティベーションに関する質問から技術的な質問まで,お気軽にお問い合せください.

販売代理店 (ライセンスをお持ちの方は、ご購入された代理店にお問い合わせください)

Hulinks

電話:03-5642-8380
Fax:03-5642-8381

soft.sales@hulinks.co.jp
Webサイト

日本電子計算株式会社

電話:03-5210-0184
Fax:03-5210-0229

math_info@cm.jip.co.jp
Webサイト

亘香通商株式会社

電話:045-320-2711
Fax:045-320-9342

sales@senko-corp.co.jp
Webサイト

株式会社シーエムディーラボ

電話:03-3408-8406
Fax:03-3408-8406

info@cmdlab.co.jp
Webサイト