Skip to content

Commit

Permalink
Add env vars for compiler and MPI lib
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Jan 18, 2024
1 parent 576aca6 commit db76339
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions deploy/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}' \
Expand Down

0 comments on commit db76339

Please sign in to comment.