diff options
author | Hari Subramoni <hari.subramoni@gmail.com> | 2019-11-13 16:18:35 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-11-13 15:18:35 -0600 |
commit | 1a6bba163226ef2ebd81d6611c5c2e6d0fb9e4a5 (patch) | |
tree | 698c406195933af6974e9ed09e39091f63527266 /var | |
parent | 4d37db02daa93f43f00a2899098b49469c0c8247 (diff) | |
download | spack-1a6bba163226ef2ebd81d6611c5c2e6d0fb9e4a5.tar.gz spack-1a6bba163226ef2ebd81d6611c5c2e6d0fb9e4a5.tar.bz2 spack-1a6bba163226ef2ebd81d6611c5c2e6d0fb9e4a5.tar.xz spack-1a6bba163226ef2ebd81d6611c5c2e6d0fb9e4a5.zip |
Update MVAPICH2 package for 2.3.2 release (#13236)
* Update MVAPICH2 package for 2.3.2 release
Update default build from psm to mrail
* Update different provides for older versions based on feedback from Todd Gamblin
* Simplify rule so one rule covers 2.1 and 2.2
* Add support for disabling rpath based on feedback from Dr. Shende
* Add colon based on comment
* Address review comment by Adam Stewart
* Add declaration of the wrapperpath variant.
- Thanks to Massimiliano Culpo for the comment
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mvapich2/package.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/mvapich2/package.py b/var/spack/repos/builtin/packages/mvapich2/package.py index 07db5e2097..85ddfb7607 100644 --- a/var/spack/repos/builtin/packages/mvapich2/package.py +++ b/var/spack/repos/builtin/packages/mvapich2/package.py @@ -10,11 +10,12 @@ import sys class Mvapich2(AutotoolsPackage): """MVAPICH2 is an MPI implementation for Infiniband networks.""" homepage = "http://mvapich.cse.ohio-state.edu/" - url = "http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-2.2.tar.gz" + url = "http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-2.3.2.tar.gz" list_url = "http://mvapich.cse.ohio-state.edu/downloads/" # Prefer the latest stable release - version('2.3.1', sha256='314e12829f75f3ed83cd4779a972572d1787aac6543a3d024ea7c6080e0ee3bf', preferred=True) + version('2.3.2', sha256='30cc0d7bcaa075d204692f76bca4d65a539e0f661c7460ffa9f835d6249e1ebf') + version('2.3.1', sha256='314e12829f75f3ed83cd4779a972572d1787aac6543a3d024ea7c6080e0ee3bf') version('2.3', sha256='01d5fb592454ddd9ecc17e91c8983b6aea0e7559aa38f410b111c8ef385b50dd') version('2.3rc2', sha256='dc3801f879a54358d17002a56afd45186e2e83edc5b8367b5c317e282eb6d6bf') version('2.3rc1', sha256='607d309c864a6d57f5fa78fe6dd02368919736b8be0f4ddb938aba303ef9c45c') @@ -23,8 +24,10 @@ class Mvapich2(AutotoolsPackage): version('2.1', sha256='49f3225ad17d2f3b6b127236a0abdc979ca8a3efb8d47ab4b6cd4f5252d05d29') provides('mpi') - provides('mpi@:3.0') + provides('mpi@:3.1', when='@2.3:') + provides('mpi@:3.0', when='@2.1:') + variant('wrapperrpath', default=True, description='Enable wrapper rpath') variant('debug', default=False, description='Enable debug info and error messages at run-time') @@ -71,7 +74,7 @@ class Mvapich2(AutotoolsPackage): variant( 'fabrics', description='The fabric enabled for this build', - default='psm', + default='mrail', values=( 'psm', 'psm2', 'sock', 'nemesisib', 'nemesis', 'mrail', 'nemesisibtcp', 'nemesistcpib', 'nemesisofi' @@ -246,6 +249,8 @@ class Mvapich2(AutotoolsPackage): "--enable-threads={0}".format(spec.variants['threads'].value), "--with-ch3-rank-bits={0}".format( spec.variants['ch3_rank_bits'].value), + '--enable-wrapper-rpath={0}'.format('no' if '~wrapperrpath' in + spec else 'yes') ] args.extend(self.enable_or_disable('alloca')) |