Correctly parse the rank file slot_list when given "S:C" - the first position holds the socket, so start looking for cores at posn=1
This commit was SVN r28054.
Этот коммит содержится в:
родитель
744ed49b2d
Коммит
037918e7b4
@ -1019,7 +1019,7 @@ static int socket_core_to_cpu_set(char *socket_core_list,
|
|||||||
obj_type = HWLOC_OBJ_PU;
|
obj_type = HWLOC_OBJ_PU;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i=0; NULL != socket_core[i]; i++) {
|
for (i=1; NULL != socket_core[i]; i++) {
|
||||||
if ('C' == socket_core[i][0] ||
|
if ('C' == socket_core[i][0] ||
|
||||||
'c' == socket_core[i][0]) {
|
'c' == socket_core[i][0]) {
|
||||||
corestr = &socket_core[i][1];
|
corestr = &socket_core[i][1];
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user