View | Details | Raw Unified | Return to ticket 15280 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/slurmctld/step_mgr.c (-1 / +2 lines)
Lines 2014-2020 static bool _handle_core_select(step_record_t *step_ptr, Link Here
2014
		int task_alloc_cpus = 0;
2014
		int task_alloc_cpus = 0;
2015
		int start_core = 0;
2015
		int start_core = 0;
2016
		int last_core = 0;
2016
		int last_core = 0;
2017
		for (int j=0; j < bit_set_count(avail_core_bitmap); j++) {
2017
		int bit_count = bit_set_count(avail_core_bitmap);
2018
		for (int j=0; j < bit_count; j++) {
2018
			for (sock_inx=0; sock_inx < sockets; sock_inx++) {
2019
			for (sock_inx=0; sock_inx < sockets; sock_inx++) {
2019
				for (i = start_core; i < cores; i++) {
2020
				for (i = start_core; i < cores; i++) {
2020
					if (oversubscribing_cpus)
2021
					if (oversubscribing_cpus)

Return to ticket 15280