@@ -745,13 +745,13 @@ def list_toolchains_rst(tcs):
745745 title = "List of known toolchains"
746746
747747 # Specify the column names for the table
748- table_titles = ['name ' , 'COMPILER' , 'MPI' , 'linalg ' , 'FFT' ]
748+ table_titles = ['NAME ' , 'COMPILER' , 'MPI' , 'LINALG ' , 'FFT' ]
749749
750750 # Set up column name : display name pairs
751751 col_names = {
752- 'name ' : 'Name' ,
752+ 'NAME ' : 'Name' ,
753753 'COMPILER' : 'Compiler(s)' ,
754- 'linalg ' : "Linear algebra" ,
754+ 'LINALG ' : "Linear algebra" ,
755755 }
756756
757757 # Create sorted list of toolchain names
@@ -764,7 +764,7 @@ def list_toolchains_rst(tcs):
764764 table_values = [[] for i in range (len (table_titles ))]
765765
766766 for col_id , col_name in enumerate (table_titles ):
767- if col_name == 'name ' :
767+ if col_name == 'NAME ' :
768768 # toolchain names column gets bold face entry
769769 table_values [col_id ] = ['**%s**' % tcname for tcname in sorted_tc_names ]
770770 else :
@@ -775,10 +775,10 @@ def list_toolchains_rst(tcs):
775775 entry = ', ' .join (tc [col_name .upper ()])
776776 elif col_name == 'MPI' :
777777 entry = 'cray-mpich'
778- elif col_name == 'linalg ' :
778+ elif col_name == 'LINALG ' :
779779 entry = 'cray-libsci'
780780 # Combine the linear algebra libraries into a single column
781- elif col_name == 'linalg ' :
781+ elif col_name == 'LINALG ' :
782782 linalg = []
783783 for col in ['BLAS' , 'LAPACK' , 'SCALAPACK' ]:
784784 linalg .extend (tc .get (col , []))
0 commit comments