Utilizing multiple cores and multiple processors can be enabled by either the
numthreads(N)function or setting the
OMP_NUM_THREADSenvironment variable. You may use the System Properties box of the Control Panel in Windows to set this variable. Note that O-Matrix must be re-started after setting this variable. The most recent value set with the
numthreads(N)function will override the value of
OMP_NUM_THREADSif it is set.
If your machine has more than one physical CPU you also need to make sure that the environment variable
NUMBER_OF_PROCESSORSis set to the number of CPUs in your machine.