Skip to content

Commit

Permalink
charmpp: default backend to 'multicore' on macOS (spack#28443)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsvu authored Feb 1, 2022
1 parent 545a429 commit 8ccc4df
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion var/spack/repos/builtin/packages/charmpp/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8ccc4df

Please sign in to comment.