diff --git a/bin/table_generator b/bin/table_generator index 89b0118ef9835be2db0c0ac5ce4ee83a045838c7..327cfec81d399668232835e0a1b3b5b7a1e0ae5a 100755 --- a/bin/table_generator +++ b/bin/table_generator @@ -33,13 +33,23 @@ d_toolchains = { 'GCC+OpenMPI': ['gompi', 'gomkl'], # Don't change the order, intel-compilers and intel-para should be before intel! 'Intel+ParaStationMPI': ['ipsmpi', 'intel-para'], - 'Intel+OpenMPI': ['iompi', 'iomkl'], - 'Intel+IntelMPI': ['iimpi', 'intel'], 'NVHPC+ParaStationMPI': ['npsmpic'], 'NVHPC+OpenMPI': ['nvompic'], + # Deprecated + #'Intel+OpenMPI': ['iompi', 'iomkl'], + #'Intel+IntelMPI': ['iimpi', 'intel'], } } +# List of toolchains to be ignored (due to deprecation, mostly) +ignored_toolchains = [ + 'iccifort', + 'iompi', + 'iomkl', + 'iimpi', + 'intel', +] + # List of packages to be ignored (due to deprecation, split in other # packages, consolidation or moved to a different toolchain) ignored_pkgs = [ @@ -153,8 +163,8 @@ def sw_loop(eb_files): else: toolchain = 'SYSTEM' - # Ignore it, since we will take intel-compilers - if toolchain == 'iccifort': + # Ignore it + if toolchain in ignored_toolchains: continue inject(sw_dict, eb_name, toolchain) @@ -235,7 +245,7 @@ def list_formatter(table, compare_repo): cell = checkbox_printer(False) else: cell = checkbox_printer(False) - + print(' '.join(['- '+cell, sw[0], table['Packages'][i], sw[1][1]])) @@ -254,7 +264,7 @@ def expand_tc(table, sw, tc): elif bucketed_tcs[0] in d_toolchains['mpi']: # We don't know the exact mpi toolchain (with or without math), so return both return d_toolchains['mpi'][bucketed_tcs[tc]] - + def find_comp_file(sw, toolchain, repo): path = os.path.join(repo, 'Golden_Repo', sw[0].lower(), sw) @@ -308,12 +318,13 @@ def table_generator(sw_dict, acls, table_type): 'gomkl': 1, 'ipsmpi': 2, 'intel-para': 2, - 'iompi': 3, - 'iomkl': 3, - 'iimpi': 4, - 'intel': 4, - 'npsmpic': 5, - 'nvompic': 6 + 'npsmpic': 3, + 'nvompic': 4 + # Deprecated + # 'iompi': 3, + # 'iomkl': 3, + # 'iimpi': 4, + # 'intel': 4, } else: table.update({'Packages': d_toolchains[table_type]})