craype fix for rempi (#23507)

When comping with cce, use the mpi wrappers
This commit is contained in:
lukebroskop 2021-05-11 18:08:51 -05:00 committed by GitHub
parent d549e3a600
commit 297f0e489a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,3 +20,9 @@ class Rempi(AutotoolsPackage):
depends_on("automake", type='build')
depends_on("libtool", type='build')
depends_on("libpciaccess", type='link')
def setup_build_environment(self, env):
if self.spec.satisfies('%cce'):
spack_env.set('MPICC', 'mpicc')
spack_env.set('MPICXX', 'mpicxx')
spack_env.set('MPICH_CC', 'cc')