summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael@ikkoku.de>2019-03-13 18:58:05 +0100
committerGregory Lee <lee218@llnl.gov>2019-03-13 10:58:05 -0700
commit3019068e0cf0ac15adb958a64fcd2ffed17e79eb (patch)
treed1882fd52098b73fccfcf9c1f9083d1d897f688b
parent358226b9464a5d3bc83ef9f013f95596fa760d91 (diff)
downloadspack-3019068e0cf0ac15adb958a64fcd2ffed17e79eb.tar.gz
spack-3019068e0cf0ac15adb958a64fcd2ffed17e79eb.tar.bz2
spack-3019068e0cf0ac15adb958a64fcd2ffed17e79eb.tar.xz
spack-3019068e0cf0ac15adb958a64fcd2ffed17e79eb.zip
mpich: Add patch to fix node list parsing (#10870)
mpich@3.3 introduced a new regex-based function for node list parsing that does not recognize hostnames without a dash properly.
-rw-r--r--var/spack/repos/builtin/packages/mpich/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py
index dc9296f795..2bf8dac605 100644
--- a/var/spack/repos/builtin/packages/mpich/package.py
+++ b/var/spack/repos/builtin/packages/mpich/package.py
@@ -74,6 +74,13 @@ spack package at this time.''',
# and https://lists.mpich.org/pipermail/discuss/2016-June/004768.html
patch('mpich32_clang.patch', when='@3.2:3.2.0%clang')
+ # Fix SLURM node list parsing
+ # See https://github.com/pmodels/mpich/issues/3572
+ # and https://github.com/pmodels/mpich/pull/3578
+ patch('https://github.com/pmodels/mpich/commit/b324d2de860a7a2848dc38aefb8c7627a72d2003.patch',
+ sha256='c7d4ecf865dccff5b764d9c66b6a470d11b0b1a5b4f7ad1ffa61079ad6b5dede',
+ when='@3.3')
+
depends_on('findutils', type='build')
depends_on('pkgconfig', type='build')