summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorNils Leif Fischer <nils.fischer@aei.mpg.de>2022-02-01 10:17:48 +0100
committerGitHub <noreply@github.com>2022-02-01 10:17:48 +0100
commit8ccc4df6ff2954eb494bfda9633aaf8eb2e849b0 (patch)
tree058ce76acc5a117fe54444ad8aebb057fae8f740 /var
parent545a42964677741f5a88763ace6e6062cf2d835b (diff)
downloadspack-8ccc4df6ff2954eb494bfda9633aaf8eb2e849b0.tar.gz
spack-8ccc4df6ff2954eb494bfda9633aaf8eb2e849b0.tar.bz2
spack-8ccc4df6ff2954eb494bfda9633aaf8eb2e849b0.tar.xz
spack-8ccc4df6ff2954eb494bfda9633aaf8eb2e849b0.zip
charmpp: default backend to 'multicore' on macOS (#28443)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/charmpp/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/charmpp/package.py b/var/spack/repos/builtin/packages/charmpp/package.py
index d849acaca0..fe867153a5 100644
--- a/var/spack/repos/builtin/packages/charmpp/package.py
+++ b/var/spack/repos/builtin/packages/charmpp/package.py
@@ -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"