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 10, 2024
1 parent 6ecb7c0 commit f50fb85
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 @@ -352,8 +352,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 f50fb85

Please sign in to comment.