I noticed that ParallelTable of Mathematica doesn't work well on my linux computer. WolframKernel uses just one cpu core.

then I find enter image description here

That's weird..

I want to use more cores to speed up my codes, What can I do?


closed as off-topic by Szabolcs, MarcoB, happy fish, glS, yohbs Apr 21 '17 at 16:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – Szabolcs, MarcoB, happy fish, glS, yohbs
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ Have you checked LaunchKernels[...]? $\endgroup$ – anderstood Apr 13 '17 at 14:20
  • $\begingroup$ "every time WolframKernel uses just one cpu core" <- Actually, each WolframKernel uses at least one CPU core. You should have as many WolframKernels running as you have CPU cores. Most operations within a single kernel use only one CPU core. Some operations, such as matrix product (and on occasion: NIntegrate) will use many. $\endgroup$ – Szabolcs Apr 13 '17 at 14:37
  • 1
    $\begingroup$ Can you show evidence that only one subkernel is running? People will not be able to help unless they can reproduce the problem. $\endgroup$ – Szabolcs Apr 13 '17 at 16:12
  • $\begingroup$ What does wolframscript -code '$ConfiguredKernels' output? $\endgroup$ – Szabolcs Apr 14 '17 at 8:14
  • $\begingroup$ Also, can you show a reproducible example? The example you show runs so fast that parallelization is pointless, and you couldn't possibly check the task monitor before it finishes. Show something that runs for at least 10 seconds. Make the example complete, so we can try it without having to edit it in any way. $\endgroup$ – Szabolcs Apr 14 '17 at 8:16