Using multiple cores on one PC

Navigation:  BREIN configuration > Bright_eye_traverse.exe: Configuration for highest speed >

Using multiple cores on one PC

Previous pageReturn to chapter overviewNext page

Parallel processing on one PC with multiple cores is achieved by operating several instances of the OLE server code_be.exe. For highest speed we recommend to have as many code_be instances running as the PC has cores (i.e. 2 instances on a dual core machine, 4 on a quad core, ...).

Bright_eye_traverse starts all instances of code_be automatically. The number of instances to start is defined in the text file brein_cores.ini in the central storage folder. The content of this file is 2 lines only, like the following:

 

Number of cores to be used by BREIN

4

 

In this example bright_eye_traverse.exe will start 4 instances of code_be.

 

The code_be.exe OLE server

This program is a special version of our CODE thin film analysis and design software. Code_be is delivered as part of a BREIN system. It must be registered as OLE server. Normally this is done during BREIN installation. In case of problems you can manually register the program as OLE server the following way: Start a 'command box' in the accessories folder of the Windows start menu with a right-click, and select the option 'as administrator'. In the command box, type in the following command (the path of the program has to be adjusted, of course):

c:\brein_demo\code_be.exe /regserver