Normally, number of $ProcessorCount
should be the same as LaunchKernels[]
, but if they are not the same, what is the problem?
Update
I just tried to manually launch kernel as this
LaunchKernels[24]
And test parallel computation, surprisingly, it indeed use 24 cores at the same time
Than why $ConfiguredKernels
is 16 by default? I tried setting $ConfiguredKernels=24
, but LaunchKernels[]
still gives 16 kernels. What is wrong?
$ConfiguredKernels
value, as well as the configuration in Preferences -> Parallel -> Local Kernels. The licensing limitations will of course depend on the actual license being used. $\endgroup$$ConfiguredKernels
shows 16. But what does this mean "The licensing limitations will of course depend on the actual license being used.“? $MaxLicenseSubprocesses shows infinity $\endgroup$