$DefaultKernels

As of Version 13.3, $DefaultKernels has been superseded by $DefaultParallelKernels.

$DefaultKernels

is the list of kernels that are configured for parallel computing.

Details

  • On a multicore computer, the list typically includes as many local kernels as there are cores, up to a limit defined by license availability.
  • Additional configurations for kernels on remote machines can be made available with the Wolfram Lightweight Grid and the Cluster Integration Package.

Examples

open allclose all

Basic Examples  (3)

The default value of $DefaultKernels:

When no kernels are running, LaunchKernels uses this list as the default to launch kernels:

Kernels can be specified using URL syntax:

Kernels can be specified using KernelConfiguration:

Applications  (2)

Remember the current value of $DefaultKernels persistently between sessions:

In a new session, the value is restored:

Remove any persistent value:

In the next session, the value reverts to the default:

Wolfram Research (2021), $DefaultKernels, Wolfram Language function, https://reference.wolfram.com/language/ref/$DefaultKernels.html.

Text

Wolfram Research (2021), $DefaultKernels, Wolfram Language function, https://reference.wolfram.com/language/ref/$DefaultKernels.html.

CMS

Wolfram Language. 2021. "$DefaultKernels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$DefaultKernels.html.

APA

Wolfram Language. (2021). $DefaultKernels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$DefaultKernels.html

BibTeX

@misc{reference.wolfram_2023_$defaultkernels, author="Wolfram Research", title="{$DefaultKernels}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/$DefaultKernels.html}", note=[Accessed: 18-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_$defaultkernels, organization={Wolfram Research}, title={$DefaultKernels}, year={2021}, url={https://reference.wolfram.com/language/ref/$DefaultKernels.html}, note=[Accessed: 18-April-2024 ]}