Open liamtoney opened 2 weeks ago
After learning that this feature is not implemented yet, I tried specifying the environment variable OMP_NUM_THREADS
directly before my setsm
command. This limits the threads as expected, e.g.
OMP_NUM_THREADS=32 setsm <args>
results in CPU usage of 3,200%. Some OpenMP guidance on this is here.
I'm trying to run SETSM on a cluster where I need to control the number of threads being used. However, it seems like
setsm
always uses all threads available even when I specify the-threads
option.Investigating the source code, I don't see anywhere where the number of threads is being specified. Is this feature not implemented?