Skip to content

Commit 7974627

Browse files
committed
threads per core should not be included in cpus per socket
1 parent 6c7c163 commit 7974627

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/hpcc_slurm/submit.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,10 @@ def read_sinfo() -> dict[str, Any] | None:
254254
"resources": [
255255
{
256256
"type": "cpu",
257-
"count": cores_per_socket * threads_per_core,
257+
"count": cores_per_socket,
258+
"additional_properties": {
259+
"threads_per_core": threads_per_core,
260+
},
258261
},
259262
],
260263
}

0 commit comments

Comments
 (0)