From aff6148116a1ca19f31033faa495291b522f2bd2 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Thu, 28 Sep 2017 22:42:14 +0200 Subject: [PATCH] Restrict openfoam to using openmpi+thread_multiple (partially resolves #5428) (#5479) - latest version requires openmpi+thread_multiple for collated output. --- var/spack/repos/builtin/packages/openfoam-com/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/openfoam-com/package.py b/var/spack/repos/builtin/packages/openfoam-com/package.py index 0e2c0275d3..555242f459 100644 --- a/var/spack/repos/builtin/packages/openfoam-com/package.py +++ b/var/spack/repos/builtin/packages/openfoam-com/package.py @@ -292,6 +292,10 @@ class OpenfoamCom(Package): provides('openfoam') depends_on('mpi') + + # After 1712 require openmpi+thread_multiple for collated output + conflicts('^openmpi~thread_multiple', when='@1712:') + depends_on('zlib') depends_on('fftw') depends_on('boost')