recognizes if cmd
is a Mathematica
function that operates on a list or other long expression in a way that can be easily parallelized and performs the parallelization automatically. You do not need to figure out suitable f
. The list of commands that can be parallelized is kept in the variable $ParallelCommands
Not all uses of these commands can be parallelized. A message is generated and the evaluation is performed sequentially on the master kernel if necessary.