Kernels

Kernels[]

gives the list of running kernels available for parallel computing.

Details

  • On a multicore computer, kernels are normally launched automatically when needed for a parallel computation.
  • All available kernels are by default used for all parallel computations.

Examples

open allclose all

Basic Examples  (1)

The list of currently running parallel kernels:

Scope  (1)

Launch the default set of kernels:

Give the list of currently running parallel kernels:

Close all running parallel kernels:

No kernels are running:

Generalizations & Extensions  (1)

Remember the list of running kernels:

Close all kernels:

Launch copies of the previously running kernels:

Properties & Relations  (2)

ParallelEvaluate by default does one evaluation on each kernel:

$KernelCount gives the number of running kernels:

Possible Issues  (1)

If no kernels are available, most parallel calculations are done sequentially:

Wolfram Research (2008), Kernels, Wolfram Language function, https://reference.wolfram.com/language/ref/Kernels.html.

Text

Wolfram Research (2008), Kernels, Wolfram Language function, https://reference.wolfram.com/language/ref/Kernels.html.

BibTeX

@misc{reference.wolfram_2020_kernels, author="Wolfram Research", title="{Kernels}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Kernels.html}", note=[Accessed: 28-February-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_kernels, organization={Wolfram Research}, title={Kernels}, year={2008}, url={https://reference.wolfram.com/language/ref/Kernels.html}, note=[Accessed: 28-February-2021 ]}

CMS

Wolfram Language. 2008. "Kernels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Kernels.html.

APA

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