summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Becker <becker33@llnl.gov>2015-11-04 13:00:35 -0800
committerGregory Becker <becker33@llnl.gov>2015-11-04 13:00:35 -0800
commit35532d6b0aaa428e1d8234513e9e887d08c3914c (patch)
tree7d8ec4533af28913db2b94156dc83a9607e9f759 /lib
parent5ac974c9b2072631eab490cce8f2922420eef9e4 (diff)
downloadspack-35532d6b0aaa428e1d8234513e9e887d08c3914c.tar.gz
spack-35532d6b0aaa428e1d8234513e9e887d08c3914c.tar.bz2
spack-35532d6b0aaa428e1d8234513e9e887d08c3914c.tar.xz
spack-35532d6b0aaa428e1d8234513e9e887d08c3914c.zip
Changed cray architecture subclass to add proper targets for front at back end nodes
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/architectures/cray.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/spack/spack/architectures/cray.py b/lib/spack/spack/architectures/cray.py
index a79c916684..420b7c589e 100644
--- a/lib/spack/spack/architectures/cray.py
+++ b/lib/spack/spack/architectures/cray.py
@@ -10,6 +10,11 @@ class Cray(Architecture):
def __init__(self):
super(Cray, self).__init__('cray')
+ # Back End compiler needs the proper target module loaded.
+ self.add_target('ivybridge','craype-ivybridge')
+ # Could switch to use modules and fe targets for front end
+ # Currently using compilers by path for front end.
+ self.add_target('sandybridge')
@classmethod
def detect(self):