Changed cray architecture subclass to add proper targets for front at back end nodes

This commit is contained in:
Gregory Becker 2015-11-04 13:00:35 -08:00
parent 5ac974c9b2
commit 35532d6b0a

View file

@ -10,6 +10,11 @@ class Cray(Architecture):
def __init__(self): def __init__(self):
super(Cray, self).__init__('cray') 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 @classmethod
def detect(self): def detect(self):