This methods allows you to set the number of cores currently accessible to openMP
thread_count
number of OPENMP threads to be used
Nicolas De Jay, Simon Papillon-Cavanagh, Benjamin Haibe-Kains