Attempt at patching phist find mpi heuristic (#32688)

for updated phist version
This commit is contained in:
John W. Parent 2022-09-18 12:18:28 -04:00 committed by GitHub
parent d4c13b0f8f
commit 0376a62458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,7 @@ class Phist(CMakePackage):
# the phist repo came with it's own FindMPI.cmake before, which may cause some other # the phist repo came with it's own FindMPI.cmake before, which may cause some other
# MPI installation to be used than the one spack wants. # MPI installation to be used than the one spack wants.
def patch(self): def patch(self):
if self.spec.satisfies("@1.9.6"): if self.spec.satisfies("@1.9.6:"):
filter_file("USE mpi", "use mpi_f08", "src/kernels/builtin/crsmat_module.F90") filter_file("USE mpi", "use mpi_f08", "src/kernels/builtin/crsmat_module.F90")
# filter_file('use mpi', 'use mpi_f08', -> Needs more fixes # filter_file('use mpi', 'use mpi_f08', -> Needs more fixes
# 'fortran_bindings/phist_testing.F90') # 'fortran_bindings/phist_testing.F90')