$KernelCount
gives the number of subkernels available for parallel computations.
Details
- $KernelCount is equivalent to Length[Kernels[]].
- When evaluated in a subkernel of a particular master kernel, $KernelCount gives the number of subkernels available to the master kernel.
Examples
open allclose allBasic Examples (1)
Properties & Relations (1)
$KernelCount is effectively a shared variable:
Wolfram Research (2008), $KernelCount, Wolfram Language function, https://reference.wolfram.com/language/ref/$KernelCount.html.
Text
Wolfram Research (2008), $KernelCount, Wolfram Language function, https://reference.wolfram.com/language/ref/$KernelCount.html.
CMS
Wolfram Language. 2008. "$KernelCount." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$KernelCount.html.
APA
Wolfram Language. (2008). $KernelCount. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$KernelCount.html