charmpp: default backend to 'multicore' on macOS (#28443)
This commit is contained in:
parent
545a429646
commit
8ccc4df6ff
1 changed files with 7 additions and 1 deletions
|
@ -69,9 +69,15 @@ class Charmpp(Package):
|
|||
)
|
||||
|
||||
# Communication mechanisms (choose exactly one)
|
||||
# - Default to 'multicore' on macOS because that's probably the right choice
|
||||
# for a personal machine.
|
||||
if sys.platform == "darwin":
|
||||
backend_default = "multicore"
|
||||
else:
|
||||
backend_default = "netlrts"
|
||||
variant(
|
||||
"backend",
|
||||
default="netlrts",
|
||||
default=backend_default,
|
||||
values=("mpi", "multicore", "netlrts", "verbs", "gni",
|
||||
"ucx", "ofi", "pami", "pamilrts"),
|
||||
description="Set the backend to use"
|
||||
|
|
Loading…
Reference in a new issue