Added CNL10 as back_os and default_os
This commit is contained in:
parent
083b7b46d9
commit
cfa7c4feb8
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
from spack.architecture import Platform, Target
|
from spack.architecture import Platform, Target
|
||||||
from spack.operating_system.linux_distro import LinuxDistro
|
from spack.operating_system.linux_distro import LinuxDistro
|
||||||
|
from spack.operating_system.cnl import ComputeNodeLinux
|
||||||
|
|
||||||
class CrayXc(Platform):
|
class CrayXc(Platform):
|
||||||
priority = 20
|
priority = 20
|
||||||
@ -10,8 +11,8 @@ class CrayXc(Platform):
|
|||||||
default = 'ivybridge'
|
default = 'ivybridge'
|
||||||
|
|
||||||
front_os = "SuSE11"
|
front_os = "SuSE11"
|
||||||
back_os = "CNL"
|
back_os = "CNL10"
|
||||||
default_os = "CNL"
|
default_os = "CNL10"
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
''' Since cori doesn't have ivybridge as a front end it's better
|
''' Since cori doesn't have ivybridge as a front end it's better
|
||||||
@ -38,6 +39,7 @@ def __init__(self):
|
|||||||
Target('haswell', 'MODULES', 'craype-haswell'))
|
Target('haswell', 'MODULES', 'craype-haswell'))
|
||||||
|
|
||||||
self.add_operating_system('SuSE11', LinuxDistro())
|
self.add_operating_system('SuSE11', LinuxDistro())
|
||||||
|
self.add_operating_system('CNL10', ComputeNodeLinux())
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def detect(self):
|
def detect(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user