Contents Previous Next Subchapters

Using Multiple CPUs

Description
O-Matrix is threaded and will take advantage of multiple physical CPUs and multi-core machines such as the Intel HT and DuoCore architectures. Configuring your environment to utilize multiple cores can provide significant performance gains for calculation intensive applications.

Utilizing multiple cores and multiple processors can be enabled by either the numthreads(N) function or setting the OMP_NUM_THREADS environment 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_THREADS if it is set.

If your machine has more than one physical CPU you also need to make sure that the environment variable NUMBER_OF_PROCESSORS is set to the number of CPUs in your machine.