1%TESTMM compare mread and mmread for entire Matrix Market collection 2% Example: 3% testmm 4% See also mread. 5% Requires the mmread MATLAB m-file from http://www.nist.gov 6 7% Copyright 2007, Timothy A. Davis, http://www.suitesparse.com 8 9matrices = { 10 'M/Harwell-Boeing/acoust/young1c.mtx', ... 11 'M/Harwell-Boeing/acoust/young2c.mtx', ... 12 'M/Harwell-Boeing/acoust/young3c.mtx', ... 13 'M/Harwell-Boeing/acoust/young4c.mtx', ... 14 'M/Harwell-Boeing/airtfc/zenios.mtx', ... 15 'M/Harwell-Boeing/astroph/mcca.mtx', ... 16 'M/Harwell-Boeing/astroph/mcfe.mtx', ... 17 'M/Harwell-Boeing/bcspwr/bcspwr01.mtx', ... 18 'M/Harwell-Boeing/bcspwr/bcspwr02.mtx', ... 19 'M/Harwell-Boeing/bcspwr/bcspwr03.mtx', ... 20 'M/Harwell-Boeing/bcspwr/bcspwr04.mtx', ... 21 'M/Harwell-Boeing/bcspwr/bcspwr05.mtx', ... 22 'M/Harwell-Boeing/bcspwr/bcspwr06.mtx', ... 23 'M/Harwell-Boeing/bcspwr/bcspwr07.mtx', ... 24 'M/Harwell-Boeing/bcspwr/bcspwr08.mtx', ... 25 'M/Harwell-Boeing/bcspwr/bcspwr09.mtx', ... 26 'M/Harwell-Boeing/bcspwr/bcspwr10.mtx', ... 27 'M/Harwell-Boeing/bcsstruc1/bcsstk01.mtx', ... 28 'M/Harwell-Boeing/bcsstruc1/bcsstk02.mtx', ... 29 'M/Harwell-Boeing/bcsstruc1/bcsstk03.mtx', ... 30 'M/Harwell-Boeing/bcsstruc1/bcsstk04.mtx', ... 31 'M/Harwell-Boeing/bcsstruc1/bcsstk05.mtx', ... 32 'M/Harwell-Boeing/bcsstruc1/bcsstk06.mtx', ... 33 'M/Harwell-Boeing/bcsstruc1/bcsstk07.mtx', ... 34 'M/Harwell-Boeing/bcsstruc1/bcsstk08.mtx', ... 35 'M/Harwell-Boeing/bcsstruc1/bcsstk09.mtx', ... 36 'M/Harwell-Boeing/bcsstruc1/bcsstk10.mtx', ... 37 'M/Harwell-Boeing/bcsstruc1/bcsstk11.mtx', ... 38 'M/Harwell-Boeing/bcsstruc1/bcsstk12.mtx', ... 39 'M/Harwell-Boeing/bcsstruc1/bcsstk13.mtx', ... 40 'M/Harwell-Boeing/bcsstruc1/bcsstm01.mtx', ... 41 'M/Harwell-Boeing/bcsstruc1/bcsstm02.mtx', ... 42 'M/Harwell-Boeing/bcsstruc1/bcsstm03.mtx', ... 43 'M/Harwell-Boeing/bcsstruc1/bcsstm04.mtx', ... 44 'M/Harwell-Boeing/bcsstruc1/bcsstm05.mtx', ... 45 'M/Harwell-Boeing/bcsstruc1/bcsstm06.mtx', ... 46 'M/Harwell-Boeing/bcsstruc1/bcsstm07.mtx', ... 47 'M/Harwell-Boeing/bcsstruc1/bcsstm08.mtx', ... 48 'M/Harwell-Boeing/bcsstruc1/bcsstm09.mtx', ... 49 'M/Harwell-Boeing/bcsstruc1/bcsstm10.mtx', ... 50 'M/Harwell-Boeing/bcsstruc1/bcsstm11.mtx', ... 51 'M/Harwell-Boeing/bcsstruc1/bcsstm12.mtx', ... 52 'M/Harwell-Boeing/bcsstruc1/bcsstm13.mtx', ... 53 'M/Harwell-Boeing/bcsstruc2/bcsstk14.mtx', ... 54 'M/Harwell-Boeing/bcsstruc2/bcsstk15.mtx', ... 55 'M/Harwell-Boeing/bcsstruc2/bcsstk16.mtx', ... 56 'M/Harwell-Boeing/bcsstruc2/bcsstk17.mtx', ... 57 'M/Harwell-Boeing/bcsstruc2/bcsstk18.mtx', ... 58 'M/Harwell-Boeing/bcsstruc3/bcsstk19.mtx', ... 59 'M/Harwell-Boeing/bcsstruc3/bcsstk20.mtx', ... 60 'M/Harwell-Boeing/bcsstruc3/bcsstk21.mtx', ... 61 'M/Harwell-Boeing/bcsstruc3/bcsstk22.mtx', ... 62 'M/Harwell-Boeing/bcsstruc3/bcsstk23.mtx', ... 63 'M/Harwell-Boeing/bcsstruc3/bcsstk24.mtx', ... 64 'M/Harwell-Boeing/bcsstruc3/bcsstk25.mtx', ... 65 'M/Harwell-Boeing/bcsstruc3/bcsstm19.mtx', ... 66 'M/Harwell-Boeing/bcsstruc3/bcsstm20.mtx', ... 67 'M/Harwell-Boeing/bcsstruc3/bcsstm21.mtx', ... 68 'M/Harwell-Boeing/bcsstruc3/bcsstm22.mtx', ... 69 'M/Harwell-Boeing/bcsstruc3/bcsstm23.mtx', ... 70 'M/Harwell-Boeing/bcsstruc3/bcsstm24.mtx', ... 71 'M/Harwell-Boeing/bcsstruc3/bcsstm25.mtx', ... 72 'M/Harwell-Boeing/bcsstruc4/bcsstk26.mtx', ... 73 'M/Harwell-Boeing/bcsstruc4/bcsstk27.mtx', ... 74 'M/Harwell-Boeing/bcsstruc4/bcsstk28.mtx', ... 75 'M/Harwell-Boeing/bcsstruc4/bcsstm26.mtx', ... 76 'M/Harwell-Boeing/bcsstruc4/bcsstm27.mtx', ... 77 'M/Harwell-Boeing/bcsstruc5/bcsstk29.mtx', ... 78 'M/Harwell-Boeing/bcsstruc5/bcsstk30.mtx', ... 79 'M/Harwell-Boeing/bcsstruc5/bcsstk31.mtx', ... 80 'M/Harwell-Boeing/bcsstruc5/bcsstk32.mtx', ... 81 'M/Harwell-Boeing/bcsstruc5/bcsstk33.mtx', ... 82 'M/Harwell-Boeing/bcsstruc6/blckhole.mtx', ... 83 'M/Harwell-Boeing/bcsstruc6/sstmodel.mtx', ... 84 'M/Harwell-Boeing/cannes/can_1054.mtx', ... 85 'M/Harwell-Boeing/cannes/can_1072.mtx', ... 86 'M/Harwell-Boeing/cannes/can__144.mtx', ... 87 'M/Harwell-Boeing/cannes/can__161.mtx', ... 88 'M/Harwell-Boeing/cannes/can__187.mtx', ... 89 'M/Harwell-Boeing/cannes/can__229.mtx', ... 90 'M/Harwell-Boeing/cannes/can___24.mtx', ... 91 'M/Harwell-Boeing/cannes/can__256.mtx', ... 92 'M/Harwell-Boeing/cannes/can__268.mtx', ... 93 'M/Harwell-Boeing/cannes/can__292.mtx', ... 94 'M/Harwell-Boeing/cannes/can__445.mtx', ... 95 'M/Harwell-Boeing/cannes/can___61.mtx', ... 96 'M/Harwell-Boeing/cannes/can___62.mtx', ... 97 'M/Harwell-Boeing/cannes/can__634.mtx', ... 98 'M/Harwell-Boeing/cannes/can__715.mtx', ... 99 'M/Harwell-Boeing/cannes/can___73.mtx', ... 100 'M/Harwell-Boeing/cannes/can__838.mtx', ... 101 'M/Harwell-Boeing/cannes/can___96.mtx', ... 102 'M/Harwell-Boeing/chemimp/impcol_a.mtx', ... 103 'M/Harwell-Boeing/chemimp/impcol_b.mtx', ... 104 'M/Harwell-Boeing/chemimp/impcol_c.mtx', ... 105 'M/Harwell-Boeing/chemimp/impcol_d.mtx', ... 106 'M/Harwell-Boeing/chemimp/impcol_e.mtx', ... 107 'M/Harwell-Boeing/chemwest/west0067.mtx', ... 108 'M/Harwell-Boeing/chemwest/west0132.mtx', ... 109 'M/Harwell-Boeing/chemwest/west0156.mtx', ... 110 'M/Harwell-Boeing/chemwest/west0167.mtx', ... 111 'M/Harwell-Boeing/chemwest/west0381.mtx', ... 112 'M/Harwell-Boeing/chemwest/west0479.mtx', ... 113 'M/Harwell-Boeing/chemwest/west0497.mtx', ... 114 'M/Harwell-Boeing/chemwest/west0655.mtx', ... 115 'M/Harwell-Boeing/chemwest/west0989.mtx', ... 116 'M/Harwell-Boeing/chemwest/west1505.mtx', ... 117 'M/Harwell-Boeing/chemwest/west2021.mtx', ... 118 'M/Harwell-Boeing/cirphys/jpwh_991.mtx', ... 119 'M/Harwell-Boeing/counterx/jgl009.mtx', ... 120 'M/Harwell-Boeing/counterx/jgl011.mtx', ... 121 'M/Harwell-Boeing/counterx/rgg010.mtx', ... 122 'M/Harwell-Boeing/dwt/dwt_1005.mtx', ... 123 'M/Harwell-Boeing/dwt/dwt_1007.mtx', ... 124 'M/Harwell-Boeing/dwt/dwt_1242.mtx', ... 125 'M/Harwell-Boeing/dwt/dwt__162.mtx', ... 126 'M/Harwell-Boeing/dwt/dwt__193.mtx', ... 127 'M/Harwell-Boeing/dwt/dwt__198.mtx', ... 128 'M/Harwell-Boeing/dwt/dwt__209.mtx', ... 129 'M/Harwell-Boeing/dwt/dwt__221.mtx', ... 130 'M/Harwell-Boeing/dwt/dwt__234.mtx', ... 131 'M/Harwell-Boeing/dwt/dwt__245.mtx', ... 132 'M/Harwell-Boeing/dwt/dwt_2680.mtx', ... 133 'M/Harwell-Boeing/dwt/dwt__307.mtx', ... 134 'M/Harwell-Boeing/dwt/dwt__310.mtx', ... 135 'M/Harwell-Boeing/dwt/dwt__346.mtx', ... 136 'M/Harwell-Boeing/dwt/dwt__361.mtx', ... 137 'M/Harwell-Boeing/dwt/dwt__419.mtx', ... 138 'M/Harwell-Boeing/dwt/dwt__492.mtx', ... 139 'M/Harwell-Boeing/dwt/dwt__503.mtx', ... 140 'M/Harwell-Boeing/dwt/dwt__512.mtx', ... 141 'M/Harwell-Boeing/dwt/dwt__592.mtx', ... 142 'M/Harwell-Boeing/dwt/dwt___59.mtx', ... 143 'M/Harwell-Boeing/dwt/dwt__607.mtx', ... 144 'M/Harwell-Boeing/dwt/dwt___66.mtx', ... 145 'M/Harwell-Boeing/dwt/dwt___72.mtx', ... 146 'M/Harwell-Boeing/dwt/dwt__758.mtx', ... 147 'M/Harwell-Boeing/dwt/dwt__869.mtx', ... 148 'M/Harwell-Boeing/dwt/dwt__878.mtx', ... 149 'M/Harwell-Boeing/dwt/dwt___87.mtx', ... 150 'M/Harwell-Boeing/dwt/dwt__918.mtx', ... 151 'M/Harwell-Boeing/dwt/dwt__992.mtx', ... 152 'M/Harwell-Boeing/econaus/mahindas.mtx', ... 153 'M/Harwell-Boeing/econaus/orani678.mtx', ... 154 'M/Harwell-Boeing/econiea/beacxc.mtx', ... 155 'M/Harwell-Boeing/econiea/beaflw.mtx', ... 156 'M/Harwell-Boeing/econiea/beause.mtx', ... 157 'M/Harwell-Boeing/econiea/mbeacxc.mtx', ... 158 'M/Harwell-Boeing/econiea/mbeaflw.mtx', ... 159 'M/Harwell-Boeing/econiea/mbeause.mtx', ... 160 'M/Harwell-Boeing/econiea/wm1.mtx', ... 161 'M/Harwell-Boeing/econiea/wm2.mtx', ... 162 'M/Harwell-Boeing/econiea/wm3.mtx', ... 163 'M/Harwell-Boeing/facsimile/fs_183_1.mtx', ... 164 'M/Harwell-Boeing/facsimile/fs_183_3.mtx', ... 165 'M/Harwell-Boeing/facsimile/fs_183_4.mtx', ... 166 'M/Harwell-Boeing/facsimile/fs_183_6.mtx', ... 167 'M/Harwell-Boeing/facsimile/fs_680_1.mtx', ... 168 'M/Harwell-Boeing/facsimile/fs_680_2.mtx', ... 169 'M/Harwell-Boeing/facsimile/fs_680_3.mtx', ... 170 'M/Harwell-Boeing/facsimile/fs_760_1.mtx', ... 171 'M/Harwell-Boeing/facsimile/fs_760_2.mtx', ... 172 'M/Harwell-Boeing/facsimile/fs_760_3.mtx', ... 173 'M/Harwell-Boeing/gemat/gemat11.mtx', ... 174 'M/Harwell-Boeing/gemat/gemat12.mtx', ... 175 'M/Harwell-Boeing/gemat/gemat1.mtx', ... 176 'M/Harwell-Boeing/grenoble/gre_1107.mtx', ... 177 'M/Harwell-Boeing/grenoble/gre__115.mtx', ... 178 'M/Harwell-Boeing/grenoble/gre__185.mtx', ... 179 'M/Harwell-Boeing/grenoble/gre_216a.mtx', ... 180 'M/Harwell-Boeing/grenoble/gre_216b.mtx', ... 181 'M/Harwell-Boeing/grenoble/gre__343.mtx', ... 182 'M/Harwell-Boeing/grenoble/gre__512.mtx', ... 183 'M/Harwell-Boeing/jagmesh/jagmesh1.mtx', ... 184 'M/Harwell-Boeing/jagmesh/jagmesh2.mtx', ... 185 'M/Harwell-Boeing/jagmesh/jagmesh3.mtx', ... 186 'M/Harwell-Boeing/jagmesh/jagmesh4.mtx', ... 187 'M/Harwell-Boeing/jagmesh/jagmesh5.mtx', ... 188 'M/Harwell-Boeing/jagmesh/jagmesh6.mtx', ... 189 'M/Harwell-Boeing/jagmesh/jagmesh7.mtx', ... 190 'M/Harwell-Boeing/jagmesh/jagmesh8.mtx', ... 191 'M/Harwell-Boeing/jagmesh/jagmesh9.mtx', ... 192 'M/Harwell-Boeing/lanpro/nos1.mtx', ... 193 'M/Harwell-Boeing/lanpro/nos2.mtx', ... 194 'M/Harwell-Boeing/lanpro/nos3.mtx', ... 195 'M/Harwell-Boeing/lanpro/nos4.mtx', ... 196 'M/Harwell-Boeing/lanpro/nos5.mtx', ... 197 'M/Harwell-Boeing/lanpro/nos6.mtx', ... 198 'M/Harwell-Boeing/lanpro/nos7.mtx', ... 199 'M/Harwell-Boeing/laplace/gr_30_30.mtx', ... 200 'M/Harwell-Boeing/lns/lns__131.mtx', ... 201 'M/Harwell-Boeing/lns/lns_3937.mtx', ... 202 'M/Harwell-Boeing/lns/lns__511.mtx', ... 203 'M/Harwell-Boeing/lns/lnsp_131.mtx', ... 204 'M/Harwell-Boeing/lns/lnsp3937.mtx', ... 205 'M/Harwell-Boeing/lns/lnsp_511.mtx', ... 206 'M/Harwell-Boeing/lshape/lshp1009.mtx', ... 207 'M/Harwell-Boeing/lshape/lshp1270.mtx', ... 208 'M/Harwell-Boeing/lshape/lshp1561.mtx', ... 209 'M/Harwell-Boeing/lshape/lshp1882.mtx', ... 210 'M/Harwell-Boeing/lshape/lshp2233.mtx', ... 211 'M/Harwell-Boeing/lshape/lshp2614.mtx', ... 212 'M/Harwell-Boeing/lshape/lshp_265.mtx', ... 213 'M/Harwell-Boeing/lshape/lshp3025.mtx', ... 214 'M/Harwell-Boeing/lshape/lshp3466.mtx', ... 215 'M/Harwell-Boeing/lshape/lshp_406.mtx', ... 216 'M/Harwell-Boeing/lshape/lshp_577.mtx', ... 217 'M/Harwell-Boeing/lshape/lshp_778.mtx', ... 218 'M/Harwell-Boeing/lsq/illc1033.mtx', ... 219 'M/Harwell-Boeing/lsq/illc1850.mtx', ... 220 'M/Harwell-Boeing/lsq/well1033.mtx', ... 221 'M/Harwell-Boeing/lsq/well1850.mtx', ... 222 'M/Harwell-Boeing/nnceng/hor__131.mtx', ... 223 'M/Harwell-Boeing/nucl/nnc1374.mtx', ... 224 'M/Harwell-Boeing/nucl/nnc261.mtx', ... 225 'M/Harwell-Boeing/nucl/nnc666.mtx', ... 226 'M/Harwell-Boeing/oilgen/orsirr_1.mtx', ... 227 'M/Harwell-Boeing/oilgen/orsirr_2.mtx', ... 228 'M/Harwell-Boeing/oilgen/orsreg_1.mtx', ... 229 'M/Harwell-Boeing/platz/plat1919.mtx', ... 230 'M/Harwell-Boeing/platz/plat362.mtx', ... 231 'M/Harwell-Boeing/platz/plsk1919.mtx', ... 232 'M/Harwell-Boeing/platz/plskz362.mtx', ... 233 'M/Harwell-Boeing/pores/pores_1.mtx', ... 234 'M/Harwell-Boeing/pores/pores_2.mtx', ... 235 'M/Harwell-Boeing/pores/pores_3.mtx', ... 236 'M/Harwell-Boeing/psadmit/1138_bus.mtx', ... 237 'M/Harwell-Boeing/psadmit/494_bus.mtx', ... 238 'M/Harwell-Boeing/psadmit/662_bus.mtx', ... 239 'M/Harwell-Boeing/psadmit/685_bus.mtx', ... 240 'M/Harwell-Boeing/psmigr/psmigr_1.mtx', ... 241 'M/Harwell-Boeing/psmigr/psmigr_2.mtx', ... 242 'M/Harwell-Boeing/psmigr/psmigr_3.mtx', ... 243 'M/Harwell-Boeing/saylor/saylr1.mtx', ... 244 'M/Harwell-Boeing/saylor/saylr3.mtx', ... 245 'M/Harwell-Boeing/saylor/saylr4.mtx', ... 246 'M/Harwell-Boeing/sherman/sherman1.mtx', ... 247 'M/Harwell-Boeing/sherman/sherman2.mtx', ... 248 'M/Harwell-Boeing/sherman/sherman3.mtx', ... 249 'M/Harwell-Boeing/sherman/sherman4.mtx', ... 250 'M/Harwell-Boeing/sherman/sherman5.mtx', ... 251 'M/Harwell-Boeing/smtape/abb313.mtx', ... 252 'M/Harwell-Boeing/smtape/arc130.mtx', ... 253 'M/Harwell-Boeing/smtape/ash219.mtx', ... 254 'M/Harwell-Boeing/smtape/ash292.mtx', ... 255 'M/Harwell-Boeing/smtape/ash331.mtx', ... 256 'M/Harwell-Boeing/smtape/ash608.mtx', ... 257 'M/Harwell-Boeing/smtape/ash85.mtx', ... 258 'M/Harwell-Boeing/smtape/bp_____0.mtx', ... 259 'M/Harwell-Boeing/smtape/bp__1000.mtx', ... 260 'M/Harwell-Boeing/smtape/bp__1200.mtx', ... 261 'M/Harwell-Boeing/smtape/bp__1400.mtx', ... 262 'M/Harwell-Boeing/smtape/bp__1600.mtx', ... 263 'M/Harwell-Boeing/smtape/bp___200.mtx', ... 264 'M/Harwell-Boeing/smtape/bp___400.mtx', ... 265 'M/Harwell-Boeing/smtape/bp___600.mtx', ... 266 'M/Harwell-Boeing/smtape/bp___800.mtx', ... 267 'M/Harwell-Boeing/smtape/curtis54.mtx', ... 268 'M/Harwell-Boeing/smtape/eris1176.mtx', ... 269 'M/Harwell-Boeing/smtape/fs_541_1.mtx', ... 270 'M/Harwell-Boeing/smtape/fs_541_2.mtx', ... 271 'M/Harwell-Boeing/smtape/fs_541_3.mtx', ... 272 'M/Harwell-Boeing/smtape/fs_541_4.mtx', ... 273 'M/Harwell-Boeing/smtape/gent113.mtx', ... 274 'M/Harwell-Boeing/smtape/ibm32.mtx', ... 275 'M/Harwell-Boeing/smtape/lund_a.mtx', ... 276 'M/Harwell-Boeing/smtape/lund_b.mtx', ... 277 'M/Harwell-Boeing/smtape/shl____0.mtx', ... 278 'M/Harwell-Boeing/smtape/shl__200.mtx', ... 279 'M/Harwell-Boeing/smtape/shl__400.mtx', ... 280 'M/Harwell-Boeing/smtape/str____0.mtx', ... 281 'M/Harwell-Boeing/smtape/str__200.mtx', ... 282 'M/Harwell-Boeing/smtape/str__400.mtx', ... 283 'M/Harwell-Boeing/smtape/str__600.mtx', ... 284 'M/Harwell-Boeing/smtape/will199.mtx', ... 285 'M/Harwell-Boeing/smtape/will57.mtx', ... 286 'M/Harwell-Boeing/steam/steam1.mtx', ... 287 'M/Harwell-Boeing/steam/steam2.mtx', ... 288 'M/Harwell-Boeing/steam/steam3.mtx', ... 289 'M/Harwell-Boeing/watt/watt__1.mtx', ... 290 'M/Harwell-Boeing/watt/watt__2.mtx', ... 291 'M/misc/cylshell/s1rmq4m1.mtx', ... 292 'M/misc/cylshell/s1rmt3m1.mtx', ... 293 'M/misc/cylshell/s2rmq4m1.mtx', ... 294 'M/misc/cylshell/s3dkq4m2.mtx', ... 295 'M/misc/cylshell/s3dkt3m2.mtx', ... 296 'M/misc/cylshell/s3rmq4m1.mtx', ... 297 'M/misc/cylshell/s3rmt3m1.mtx', ... 298 'M/misc/cylshell/s3rmt3m3.mtx', ... 299 'M/misc/hamm/add20.mtx', ... 300 'M/misc/hamm/add32.mtx', ... 301 'M/misc/hamm/memplus.mtx', ... 302 'M/misc/pts5ldd0/pts5ldd03.mtx', ... 303 'M/misc/pts5ldd0/pts5ldd04.mtx', ... 304 'M/misc/pts5ldd0/pts5ldd05.mtx', ... 305 'M/misc/pts5ldd0/pts5ldd06.mtx', ... 306 'M/misc/pts5ldd0/pts5ldd07.mtx', ... 307 'M/misc/pts5ldd1/pts5ldd13.mtx', ... 308 'M/misc/pts5ldd1/pts5ldd14.mtx', ... 309 'M/misc/pts5ldd1/pts5ldd15.mtx', ... 310 'M/misc/pts5ldd1/pts5ldd16.mtx', ... 311 'M/misc/pts5ldd1/pts5ldd17.mtx', ... 312 'M/misc/pts5ldd2/pts5ldd23.mtx', ... 313 'M/misc/pts5ldd2/pts5ldd24.mtx', ... 314 'M/misc/pts5ldd2/pts5ldd25.mtx', ... 315 'M/misc/pts5ldd2/pts5ldd26.mtx', ... 316 'M/misc/pts5ldd2/pts5ldd27.mtx', ... 317 'M/misc/qcd/conf5.0-00l4x4-1000.mtx', ... 318 'M/misc/qcd/conf5.0-00l4x4-1400.mtx', ... 319 'M/misc/qcd/conf5.0-00l4x4-1800.mtx', ... 320 'M/misc/qcd/conf5.0-00l4x4-2200.mtx', ... 321 'M/misc/qcd/conf5.0-00l4x4-2600.mtx', ... 322 'M/misc/qcd/conf5.4-00l8x8-0500.mtx', ... 323 'M/misc/qcd/conf5.4-00l8x8-1000.mtx', ... 324 'M/misc/qcd/conf5.4-00l8x8-1500.mtx', ... 325 'M/misc/qcd/conf5.4-00l8x8-2000.mtx', ... 326 'M/misc/qcd/conf6.0-00l4x4-2000.mtx', ... 327 'M/misc/qcd/conf6.0-00l4x4-3000.mtx', ... 328 'M/misc/qcd/conf6.0-00l8x8-2000.mtx', ... 329 'M/misc/qcd/conf6.0-00l8x8-3000.mtx', ... 330 'M/misc/qcd/conf6.0-00l8x8-8000.mtx', ... 331 'M/NEP/airfoil/af23560.mtx', ... 332 'M/NEP/bfwave/bfw398a.mtx', ... 333 'M/NEP/bfwave/bfw398b.mtx', ... 334 'M/NEP/bfwave/bfw62a.mtx', ... 335 'M/NEP/bfwave/bfw62b.mtx', ... 336 'M/NEP/bfwave/bfw782a.mtx', ... 337 'M/NEP/bfwave/bfw782b.mtx', ... 338 'M/NEP/brussel/rdb1250l.mtx', ... 339 'M/NEP/brussel/rdb1250.mtx', ... 340 'M/NEP/brussel/rdb200l.mtx', ... 341 'M/NEP/brussel/rdb200.mtx', ... 342 'M/NEP/brussel/rdb2048l.mtx', ... 343 'M/NEP/brussel/rdb2048.mtx', ... 344 'M/NEP/brussel/rdb3200l.mtx', ... 345 'M/NEP/brussel/rdb450l.mtx', ... 346 'M/NEP/brussel/rdb450.mtx', ... 347 'M/NEP/brussel/rdb800l.mtx', ... 348 'M/NEP/brussel/rdb968.mtx', ... 349 'M/NEP/chuck/ck104.mtx', ... 350 'M/NEP/chuck/ck400.mtx', ... 351 'M/NEP/chuck/ck656.mtx', ... 352 'M/NEP/crystal/cry10000.mtx', ... 353 'M/NEP/crystal/cry2500.mtx', ... 354 'M/NEP/dwave/dw2048.mtx', ... 355 'M/NEP/dwave/dw8192.mtx', ... 356 'M/NEP/dwave/dwa512.mtx', ... 357 'M/NEP/dwave/dwb512.mtx', ... 358 'M/NEP/gedney/dwg961a.mtx', ... 359 'M/NEP/gedney/dwg961b.mtx', ... 360 'M/NEP/h2plus/qc2534.mtx', ... 361 'M/NEP/h2plus/qc324.mtx', ... 362 'M/NEP/matpde/pde225.mtx', ... 363 'M/NEP/matpde/pde2961.mtx', ... 364 'M/NEP/matpde/pde900.mtx', ... 365 'M/NEP/mhd/mhd1280a.mtx', ... 366 'M/NEP/mhd/mhd1280b.mtx', ... 367 'M/NEP/mhd/mhd3200a.mtx', ... 368 'M/NEP/mhd/mhd3200b.mtx', ... 369 'M/NEP/mhd/mhd416a.mtx', ... 370 'M/NEP/mhd/mhd416b.mtx', ... 371 'M/NEP/mhd/mhd4800a.mtx', ... 372 'M/NEP/mhd/mhd4800b.mtx', ... 373 'M/NEP/mvmbwm/bwm2000.mtx', ... 374 'M/NEP/mvmbwm/bwm200.mtx', ... 375 'M/NEP/mvmmcd/cdde1.mtx', ... 376 'M/NEP/mvmmcd/cdde2.mtx', ... 377 'M/NEP/mvmmcd/cdde3.mtx', ... 378 'M/NEP/mvmmcd/cdde4.mtx', ... 379 'M/NEP/mvmmcd/cdde5.mtx', ... 380 'M/NEP/mvmmcd/cdde6.mtx', ... 381 'M/NEP/mvmode/odep400a.mtx', ... 382 'M/NEP/mvmode/odep400b.mtx', ... 383 'M/NEP/mvmrwk/rw136.mtx', ... 384 'M/NEP/mvmrwk/rw496.mtx', ... 385 'M/NEP/mvmrwk/rw5151.mtx', ... 386 'M/NEP/mvmtls/tols1090.mtx', ... 387 'M/NEP/mvmtls/tols2000.mtx', ... 388 'M/NEP/mvmtls/tols340.mtx', ... 389 'M/NEP/mvmtls/tols4000.mtx', ... 390 'M/NEP/mvmtls/tols90.mtx', ... 391 'M/NEP/olmstead/olm1000.mtx', ... 392 'M/NEP/olmstead/olm100.mtx', ... 393 'M/NEP/olmstead/olm2000.mtx', ... 394 'M/NEP/olmstead/olm5000.mtx', ... 395 'M/NEP/olmstead/olm500.mtx', ... 396 'M/NEP/quebec/qh1484.mtx', ... 397 'M/NEP/quebec/qh768.mtx', ... 398 'M/NEP/quebec/qh882.mtx', ... 399 'M/NEP/robotics/rbs480a.mtx', ... 400 'M/NEP/robotics/rbs480b.mtx', ... 401 'M/NEP/stoch/lop163.mtx', ... 402 'M/NEP/tubular/tub1000.mtx', ... 403 'M/NEP/tubular/tub100.mtx', ... 404 'M/SPARSKIT/drivcav/e05r0000.mtx', ... 405 'M/SPARSKIT/drivcav/e05r0100.mtx', ... 406 'M/SPARSKIT/drivcav/e05r0200.mtx', ... 407 'M/SPARSKIT/drivcav/e05r0300.mtx', ... 408 'M/SPARSKIT/drivcav/e05r0400.mtx', ... 409 'M/SPARSKIT/drivcav/e05r0500.mtx', ... 410 'M/SPARSKIT/drivcav/e20r0000.mtx', ... 411 'M/SPARSKIT/drivcav/e20r0100.mtx', ... 412 'M/SPARSKIT/drivcav/e20r0500.mtx', ... 413 'M/SPARSKIT/drivcav/e20r1000.mtx', ... 414 'M/SPARSKIT/drivcav/e20r2000.mtx', ... 415 'M/SPARSKIT/drivcav/e20r3000.mtx', ... 416 'M/SPARSKIT/drivcav/e20r4000.mtx', ... 417 'M/SPARSKIT/drivcav/e20r5000.mtx', ... 418 'M/SPARSKIT/drivcav/e30r0000.mtx', ... 419 'M/SPARSKIT/drivcav/e30r0100.mtx', ... 420 'M/SPARSKIT/drivcav/e30r0500.mtx', ... 421 'M/SPARSKIT/drivcav/e30r1000.mtx', ... 422 'M/SPARSKIT/drivcav/e30r2000.mtx', ... 423 'M/SPARSKIT/drivcav/e30r3000.mtx', ... 424 'M/SPARSKIT/drivcav/e30r4000.mtx', ... 425 'M/SPARSKIT/drivcav/e30r5000.mtx', ... 426 'M/SPARSKIT/drivcav/e40r0000.mtx', ... 427 'M/SPARSKIT/drivcav/e40r0100.mtx', ... 428 'M/SPARSKIT/drivcav/e40r0500.mtx', ... 429 'M/SPARSKIT/drivcav/e40r1000.mtx', ... 430 'M/SPARSKIT/drivcav/e40r2000.mtx', ... 431 'M/SPARSKIT/drivcav/e40r3000.mtx', ... 432 'M/SPARSKIT/drivcav/e40r4000.mtx', ... 433 'M/SPARSKIT/drivcav/e40r5000.mtx', ... 434 'M/SPARSKIT/drivcav_old/cavity01.mtx', ... 435 'M/SPARSKIT/drivcav_old/cavity02.mtx', ... 436 'M/SPARSKIT/drivcav_old/cavity03.mtx', ... 437 'M/SPARSKIT/drivcav_old/cavity04.mtx', ... 438 'M/SPARSKIT/drivcav_old/cavity05.mtx', ... 439 'M/SPARSKIT/drivcav_old/cavity06.mtx', ... 440 'M/SPARSKIT/drivcav_old/cavity07.mtx', ... 441 'M/SPARSKIT/drivcav_old/cavity08.mtx', ... 442 'M/SPARSKIT/drivcav_old/cavity09.mtx', ... 443 'M/SPARSKIT/drivcav_old/cavity10.mtx', ... 444 'M/SPARSKIT/drivcav_old/cavity11.mtx', ... 445 'M/SPARSKIT/drivcav_old/cavity12.mtx', ... 446 'M/SPARSKIT/drivcav_old/cavity13.mtx', ... 447 'M/SPARSKIT/drivcav_old/cavity14.mtx', ... 448 'M/SPARSKIT/drivcav_old/cavity15.mtx', ... 449 'M/SPARSKIT/drivcav_old/cavity16.mtx', ... 450 'M/SPARSKIT/drivcav_old/cavity17.mtx', ... 451 'M/SPARSKIT/drivcav_old/cavity18.mtx', ... 452 'M/SPARSKIT/drivcav_old/cavity19.mtx', ... 453 'M/SPARSKIT/drivcav_old/cavity20.mtx', ... 454 'M/SPARSKIT/drivcav_old/cavity21.mtx', ... 455 'M/SPARSKIT/drivcav_old/cavity22.mtx', ... 456 'M/SPARSKIT/drivcav_old/cavity23.mtx', ... 457 'M/SPARSKIT/drivcav_old/cavity24.mtx', ... 458 'M/SPARSKIT/drivcav_old/cavity25.mtx', ... 459 'M/SPARSKIT/drivcav_old/cavity26.mtx', ... 460 'M/SPARSKIT/fidap/fidap001.mtx', ... 461 'M/SPARSKIT/fidap/fidap002.mtx', ... 462 'M/SPARSKIT/fidap/fidap003.mtx', ... 463 'M/SPARSKIT/fidap/fidap004.mtx', ... 464 'M/SPARSKIT/fidap/fidap005.mtx', ... 465 'M/SPARSKIT/fidap/fidap006.mtx', ... 466 'M/SPARSKIT/fidap/fidap007.mtx', ... 467 'M/SPARSKIT/fidap/fidap008.mtx', ... 468 'M/SPARSKIT/fidap/fidap009.mtx', ... 469 'M/SPARSKIT/fidap/fidap010.mtx', ... 470 'M/SPARSKIT/fidap/fidap011.mtx', ... 471 'M/SPARSKIT/fidap/fidap012.mtx', ... 472 'M/SPARSKIT/fidap/fidap013.mtx', ... 473 'M/SPARSKIT/fidap/fidap014.mtx', ... 474 'M/SPARSKIT/fidap/fidap015.mtx', ... 475 'M/SPARSKIT/fidap/fidap018.mtx', ... 476 'M/SPARSKIT/fidap/fidap019.mtx', ... 477 'M/SPARSKIT/fidap/fidap020.mtx', ... 478 'M/SPARSKIT/fidap/fidap021.mtx', ... 479 'M/SPARSKIT/fidap/fidap022.mtx', ... 480 'M/SPARSKIT/fidap/fidap023.mtx', ... 481 'M/SPARSKIT/fidap/fidap024.mtx', ... 482 'M/SPARSKIT/fidap/fidap025.mtx', ... 483 'M/SPARSKIT/fidap/fidap026.mtx', ... 484 'M/SPARSKIT/fidap/fidap027.mtx', ... 485 'M/SPARSKIT/fidap/fidap028.mtx', ... 486 'M/SPARSKIT/fidap/fidap029.mtx', ... 487 'M/SPARSKIT/fidap/fidap031.mtx', ... 488 'M/SPARSKIT/fidap/fidap032.mtx', ... 489 'M/SPARSKIT/fidap/fidap033.mtx', ... 490 'M/SPARSKIT/fidap/fidap035.mtx', ... 491 'M/SPARSKIT/fidap/fidap036.mtx', ... 492 'M/SPARSKIT/fidap/fidap037.mtx', ... 493 'M/SPARSKIT/fidap/fidapm02.mtx', ... 494 'M/SPARSKIT/fidap/fidapm03.mtx', ... 495 'M/SPARSKIT/fidap/fidapm05.mtx', ... 496 'M/SPARSKIT/fidap/fidapm07.mtx', ... 497 'M/SPARSKIT/fidap/fidapm08.mtx', ... 498 'M/SPARSKIT/fidap/fidapm09.mtx', ... 499 'M/SPARSKIT/fidap/fidapm10.mtx', ... 500 'M/SPARSKIT/fidap/fidapm11.mtx', ... 501 'M/SPARSKIT/fidap/fidapm13.mtx', ... 502 'M/SPARSKIT/fidap/fidapm15.mtx', ... 503 'M/SPARSKIT/fidap/fidapm29.mtx', ... 504 'M/SPARSKIT/fidap/fidapm33.mtx', ... 505 'M/SPARSKIT/fidap/fidapm37.mtx', ... 506 'M/SPARSKIT/tokamak/utm1700a.mtx', ... 507 'M/SPARSKIT/tokamak/utm1700b.mtx', ... 508 'M/SPARSKIT/tokamak/utm300.mtx', ... 509 'M/SPARSKIT/tokamak/utm3060.mtx', ... 510 'M/SPARSKIT/tokamak/utm5940.mtx', ... 511} ; 512 513 514for i = 1:length(matrices) 515 516 filename = matrices {i} ; 517 fprintf ('\nfile: %s\n', filename) ; 518 tic 519 [A,rows,cols,entries,rep,field,symm] = mmread(filename) ; 520 t1 = toc ; 521 fprintf (' %d by %d, nz %d %s %s %s\n', ... 522 rows, cols, entries, rep, field, symm) ; 523% try 524 tic 525 B = mread (filename) ; 526 t2 = toc ; 527% catch 528% B = [ ] ; 529% end 530 531 fprintf ('speedup %6.2f nnz %d\n', t1/t2, nnz(A)) ; 532 533 % mread add values to a pattern-only matrix. Remove them 534 if (strcmp (field, 'pattern')) 535 B = spones (B) ; 536 end 537 538 if (isempty (B)) 539 fprintf ('============================ could not read with CHOLMOD\n') ; 540 error ('!') ; 541 else 542 err = norm (A-B,1) ; 543 if (err ~= 0) 544 fprintf ('=================================== %8.1e\n', err) ; 545 error ('!') ; 546 end 547 end 548end 549 550