Skip to content

Commit

Permalink
Fix crash on hyperthreaded SLURM clusters (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
LourensVeen committed Jun 21, 2024
1 parent 9a53ea7 commit b535ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmuscle/python/libmuscle/manager/qcgpj_instantiator.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _send_resources(self) -> None:
"""Converts and sends QCG available resources."""
resources = Resources()
for node in self._qcg_resources.nodes:
resources.cores[node.name] = set(map(int, node.free_ids))
resources.cores[node.name] = {int(n.split(',')[0]) for n in node.free_ids}

self._resources_out.put(resources)

Expand Down

0 comments on commit b535ad5

Please sign in to comment.