summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-05-11 15:14:16 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-05-12 10:27:05 -0500
commit03307f91df80a52e424356f579c68a94a32e7ca7 (patch)
tree3aca6702b2bb591c0465b4922519946339e6e3be
parent3526d9266079a2371e8b2d615fdacd60c59721bc (diff)
downloadspack-03307f91df80a52e424356f579c68a94a32e7ca7.tar.gz
spack-03307f91df80a52e424356f579c68a94a32e7ca7.tar.bz2
spack-03307f91df80a52e424356f579c68a94a32e7ca7.tar.xz
spack-03307f91df80a52e424356f579c68a94a32e7ca7.zip
Fix bug when compiling elk~mpi
-rw-r--r--var/spack/repos/builtin/packages/elk/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/elk/package.py b/var/spack/repos/builtin/packages/elk/package.py
index 235b6fae0b..b089e585dd 100644
--- a/var/spack/repos/builtin/packages/elk/package.py
+++ b/var/spack/repos/builtin/packages/elk/package.py
@@ -54,7 +54,7 @@ class Elk(Package):
depends_on('blas', when='+blas')
depends_on('lapack', when='+lapack')
depends_on('fftw', when='+fft')
- depends_on('mpi', when='+mpi')
+ depends_on('mpi@2:', when='+mpi')
depends_on('libxc', when='+libxc')
# Cannot be built in parallel
@@ -110,8 +110,8 @@ class Elk(Package):
config['F90'] = spec['mpi'].mpifc
config['F77'] = spec['mpi'].mpif77
else:
- config['F90'] = join_path(spack.build_env_path, 'f90'),
- config['F77'] = join_path(spack.build_env_path, 'f77'),
+ config['F90'] = join_path(spack.build_env_path, 'f90')
+ config['F77'] = join_path(spack.build_env_path, 'f77')
config['SRC_MPI'] = 'mpi_stub.f90'
# OpenMP support