File tree Expand file tree Collapse file tree 3 files changed +5
-273
lines changed
Expand file tree Collapse file tree 3 files changed +5
-273
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ def check_env_vars():
2121 MCCODE_CFLAGS_OVERRIDE = configuration["MCCODE"].upper() + '_CFLAGS_OVERRIDE'
2222 MCCODE_CC_OVERRIDE = configuration["MCCODE"].upper() + '_CC_OVERRIDE'
2323 MCCODE_MPICC_OVERRIDE = configuration["MCCODE"].upper() + '_MPICC_OVERRIDE'
24+ MCCODE_MPIRUN_OVERRIDE = configuration["MCCODE"].upper() + '_MPIRUN_OVERRIDE'
2425
25- # MCCODE_LIB_DIR
26+ # MCCODE_LIB_DIR
2627 if os.getenv(MCCODE_OVERRIDE) is not None:
2728 configuration['MCCODE_LIB_DIR'] = os.getenv(MCCODE_OVERRIDE)
2829 # CFLAGS
@@ -34,6 +35,9 @@ def check_env_vars():
3435 # MPICC
3536 if os.getenv(MCCODE_MPICC_OVERRIDE) is not None:
3637 compilation['MPICC'] = os.getenv(MCCODE_MPICC_OVERRIDE)
38+ # MPIRUN
39+ if os.getenv(MCCODE_MPIRUN_OVERRIDE) is not None:
40+ compilation['MPIRUN'] = os.getenv(MCCODE_MPIRUN_OVERRIDE)
3741
3842def load_config(path=None):
3943 ''' loads a json user config to the dictionaries in this module '''
You can’t perform that action at this time.
0 commit comments