diff options
author | Gregory Becker <becker33.llnl.gov> | 2016-07-20 10:50:18 -0700 |
---|---|---|
committer | Gregory Becker <becker33.llnl.gov> | 2016-07-20 10:50:18 -0700 |
commit | 0d18f7249c38fdf8c452acd39533b09d13031583 (patch) | |
tree | ae78b5c229d190bb607e49020eae2506efe7923c /lib | |
parent | 26d1ddc176ac52ff76893432755de54cab3cecfc (diff) | |
download | spack-0d18f7249c38fdf8c452acd39533b09d13031583.tar.gz spack-0d18f7249c38fdf8c452acd39533b09d13031583.tar.bz2 spack-0d18f7249c38fdf8c452acd39533b09d13031583.tar.xz spack-0d18f7249c38fdf8c452acd39533b09d13031583.zip |
fixed flake errors
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/platforms/cray_xc.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/spack/spack/platforms/cray_xc.py b/lib/spack/spack/platforms/cray_xc.py index 8bc03874de..fd16f7d9ba 100644 --- a/lib/spack/spack/platforms/cray_xc.py +++ b/lib/spack/spack/platforms/cray_xc.py @@ -4,6 +4,7 @@ from spack.operating_systems.linux_distro import LinuxDistro from spack.operating_systems.cnl import Cnl from spack.util.executable import which + class CrayXc(Platform): priority = 20 front_end = 'sandybridge' @@ -35,7 +36,7 @@ class CrayXc(Platform): self.add_target('ivybridge', Target('ivybridge', 'craype-ivybridge')) self.add_target('haswell', - Target('haswell','craype-haswell')) + Target('haswell', 'craype-haswell')) # Front end of the cray platform is a linux distro. linux_dist = LinuxDistro() @@ -47,7 +48,9 @@ class CrayXc(Platform): def detect(self): try: cc_verbose = which('ftn') - text = cc_verbose('-craype-verbose', output=str, error=str, ignore_errors=True).split() + text = cc_verbose('-craype-verbose', + output=str, error=str, + ignore_errors=True).split() if '-D__CRAYXC' in text: return True else: |