From GridLAB-D Wiki
Jump to: navigation, search

The --threadcount command line option is used to indicate how many threads are allocated to the GridLAB-D run. The threadcount global variable is set using this option. The default thread count is 1.


#set threadcount=4

Command line

host% gridlabd --threadcount 4


host% gridlabd -T 4



The use of multithreading and the process table are not compatible with each other. The process table assume that one processor is assigned to one simulation, which is impossible when the thread count is not 1.

See also