Created attachment 4905 [details] Proposed patch Hi, An updated version of hwloc (provided by Intel in xppsl >= 1.5.1) changes the behavior of some functions. This change of behavior causes Slurm to, at least for KNL configured as SNC4 + Flat, bind processes to the wrong cores/hwthreads. See https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/737918#comment-1908677 for more details. Currently we are using Slurm 17.02.5, however 16.05.x (and most likely 17.11.x) is affected as well. See attached a proposed patch that *should* work for both the old and new hwloc behavior. This patch adds a slight overhead (only executed once) as it re-checks the number of cpus per socket. Best, peter