summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTimothy Brown <t-brown@users.noreply.github.com>2021-07-19 05:15:16 -0600
committerGitHub <noreply@github.com>2021-07-19 13:15:16 +0200
commit1bf9c10f0c4ec9732bf303b0a00fea674800ec91 (patch)
treeb718270068098a4e45958a90cb6158294f3c6209 /var
parentfeb229a5f9db9c7176beefe800112e3bfbf3ba6e (diff)
downloadspack-1bf9c10f0c4ec9732bf303b0a00fea674800ec91.tar.gz
spack-1bf9c10f0c4ec9732bf303b0a00fea674800ec91.tar.bz2
spack-1bf9c10f0c4ec9732bf303b0a00fea674800ec91.tar.xz
spack-1bf9c10f0c4ec9732bf303b0a00fea674800ec91.zip
mpas-model: support Intel compiler (#24905)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/mpas-model/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mpas-model/package.py b/var/spack/repos/builtin/packages/mpas-model/package.py
index 1a14b800f0..0fb7683da5 100644
--- a/var/spack/repos/builtin/packages/mpas-model/package.py
+++ b/var/spack/repos/builtin/packages/mpas-model/package.py
@@ -14,6 +14,7 @@ class MpasModel(MakefilePackage):
homepage = "https://mpas-dev.github.io/"
url = "https://github.com/MPAS-Dev/MPAS-Model/archive/v7.0.tar.gz"
+ maintainers = ['t-brown']
version('7.0', sha256='f898ce257e66cff9e29320458870570e55721d16cb000de7f2cc27de7fdef14f')
version('6.3', sha256='e7f1d9ebfeb6ada37d42a286aaedb2e69335cbc857049dc5c5544bb51e7a8db8')
@@ -55,6 +56,12 @@ class MpasModel(MakefilePackage):
'-Fwide',
'-CcdRR8',
])
+ elif satisfies('%intel'):
+ fflags.extend([
+ '-r8',
+ '-convert big_endian',
+ '-FR',
+ ])
cppflags.append('-DUNDERSCORE')
targets = [
'FC_PARALLEL={0}'.format(spec['mpi'].mpifc),