diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 0fd44580b3..5f7641a33c 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -337,6 +337,14 @@ def audit_formula_instance f EOS when 'gfortran' problems << " * Use ENV.fortran during install instead of depends_on 'gfortran'" + + when 'open-mpi', 'mpich2' + problems << <<-EOS.undent + * There are multiple conflicting ways to install MPI. Use a MPIDependency: + depends_on MPIDependency.new() + Where is a comma delimited list that can include: + :cc, :cxx, :f90, :f77 + EOS end end