Here is the problem, there are two ways to launch Mathematica in Linux:
- Double click a notebook file in Desktop (GUI mode).
$ProcessorCount (* 4 *)
ParallelTable is very efficient. (4 time faster than
- Use command “./bin/mathematica” in terminal, (or “./bin/math” , “./bin/wolfram” in command-line mode).
$ProcessorCount (* 1 *)
ParallelTable then takes the same time as
What causes this difference? Does this mean that one can only access one processor within Mathematica when started in a Linux system terminal?