fixed my git problems

This commit is contained in:
Gregory Becker 2015-11-11 16:33:22 -08:00
parent 3067705c10
commit 185f40eb8b
4 changed files with 4 additions and 4 deletions

View file

@ -291,7 +291,7 @@ def find_in_modules(cls):
# match = re.findall(r'(%s)/([^\s(]*)' % cls.PrgEnv_compiler, module) # match = re.findall(r'(%s)/([^\s(]*)' % cls.PrgEnv_compiler, module)
for name, version in matches: for name, version in matches:
v = version + '-craype' v = version
comp = cls(spack.spec.CompilerSpec(name + '@' + v), comp = cls(spack.spec.CompilerSpec(name + '@' + v),
['cc', 'CC', 'ftn'], [cls.PrgEnv, name +'/' + v]) ['cc', 'CC', 'ftn'], [cls.PrgEnv, name +'/' + v])

View file

@ -42,7 +42,7 @@ class Gcc(Compiler):
# MacPorts builds gcc versions with prefixes and -mp-X.Y suffixes. # MacPorts builds gcc versions with prefixes and -mp-X.Y suffixes.
suffixes = [r'-mp-\d\.\d'] suffixes = [r'-mp-\d\.\d']
PrgEnv = 'gnu' PrgEnv = 'PrgEnv-gnu'
PrgEnv_compiler = 'gcc' PrgEnv_compiler = 'gcc'
@property @property

View file

@ -37,7 +37,7 @@ class Intel(Compiler):
# Subclasses use possible names of Fortran 90 compiler # Subclasses use possible names of Fortran 90 compiler
fc_names = ['ifort'] fc_names = ['ifort']
PrgEnv = 'intel' PrgEnv = 'PrgEnv-intel'
PrgEnv_compiler = 'intel' PrgEnv_compiler = 'intel'
@property @property

View file

@ -37,7 +37,7 @@ class Pgi(Compiler):
# Subclasses use possible names of Fortran 90 compiler # Subclasses use possible names of Fortran 90 compiler
fc_names = ['pgf95', 'pgf90'] fc_names = ['pgf95', 'pgf90']
PrgEnv = 'pgi' PrgEnv = 'PrgEnv-pgi'
PrgEnv_compiler = 'pgi' PrgEnv_compiler = 'pgi'
@classmethod @classmethod