Update package.py (#43764)

This commit is contained in:
one 2024-04-30 09:49:49 +08:00 committed by GitHub
parent ba4859b33d
commit 4362382223
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -203,7 +203,7 @@ def configure_args(self):
or spec.satisfies("^cray-mpich")
):
config_args.append("--with-mpi=mpich3")
elif spec.satisfies("^openmpi"):
elif spec.satisfies("^openmpi") or spec.satisfies("^hpcx-mpi"):
config_args.append("--with-mpi=openmpi")
if spec.satisfies("^binutils"):