From 6e4ed3e84a65b5eaf760432f19592652170d54f7 Mon Sep 17 00:00:00 2001 From: Kevin Manalo Date: Wed, 19 Jun 2019 14:04:03 -0400 Subject: osu-micro-benchmarks: add version 5.6.1 (#11779) Also add mpi osu-micro-benchmarks to runtime PATH --- .../repos/builtin/packages/osu-micro-benchmarks/package.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py b/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py index 80539ec542..3bc61a2a25 100644 --- a/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py +++ b/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py @@ -17,9 +17,10 @@ class OsuMicroBenchmarks(AutotoolsPackage): homepage = "http://mvapich.cse.ohio-state.edu/benchmarks/" url = "http://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-5.3.tar.gz" - version('5.5', 'bcb970d5a1f3424e2c7302ff60611008') - version('5.4', '7e7551879b944d71b7cc60d476d5403b') - version('5.3', '42e22b931d451e8bec31a7424e4adfc2') + version('5.6.1', '0d2389d93ec2a0be60f21b0aecd14345') + version('5.5', 'bcb970d5a1f3424e2c7302ff60611008') + version('5.4', '7e7551879b944d71b7cc60d476d5403b') + version('5.3', '42e22b931d451e8bec31a7424e4adfc2') variant('cuda', default=False, description="Enable CUDA support") @@ -44,3 +45,10 @@ class OsuMicroBenchmarks(AutotoolsPackage): config_args.append('LDFLAGS=-lrt') return config_args + + def setup_environment(self, spack_env, run_env): + mpidir = join_path(self.prefix.libexec, 'osu-micro-benchmarks', 'mpi') + run_env.prepend_path('PATH', join_path(mpidir, 'startup')) + run_env.prepend_path('PATH', join_path(mpidir, 'pt2pt')) + run_env.prepend_path('PATH', join_path(mpidir, 'one-sided')) + run_env.prepend_path('PATH', join_path(mpidir, 'collective')) -- cgit v1.2.3-70-g09d2