diff --git a/src/benchcab/model.py b/src/benchcab/model.py index 5c3786c..58e8a75 100644 --- a/src/benchcab/model.py +++ b/src/benchcab/model.py @@ -175,6 +175,10 @@ def build(self, modules: list[str], mpi: bool, coverage: bool): "-DCMAKE_VERBOSE_MAKEFILE=ON", ] + # This is required to prevent CMake from finding openmpi + # libraries installed under xp65: + env.pop("OPAL_PREFIX", None) + # This is required to prevent CMake from finding the conda # installation of netcdf-fortran (#279): env.pop("LDFLAGS", None)