From db7633951adce91314eb36d9d56114129aa8cc32 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Wed, 10 Jan 2024 05:50:20 -0800 Subject: [PATCH] Add env vars for compiler and MPI lib --- deploy/bootstrap.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy/bootstrap.py b/deploy/bootstrap.py index a223bb1ed..dd4300c95 100755 --- a/deploy/bootstrap.py +++ b/deploy/bootstrap.py @@ -355,8 +355,11 @@ def get_env_vars(machine, compiler, mpilib): if machine is None: machine = 'None' - # convert env vars from mache to a list - env_vars = 'export MPAS_EXTERNAL_LIBS=""\n' + env_vars = f'export POLARIS_COMPILER={compiler}\n' \ + f'export POLARIS_MPI={mpilib}\n' + + env_vars = f'{env_vars}' \ + f'export MPAS_EXTERNAL_LIBS=""\n' if 'intel' in compiler and machine == 'anvil': env_vars = f'{env_vars}' \