7 October 2025 1:11:58.226 PM matmul(): Fortran77 version An interactive demonstration of the speed of matrix multiplication. This is version 1.19 Last modified on 28 August 1999. This is the version for Mac/G5 The maximum matrix order allowed is N = 1100 Command? (Type H for help) This is the list of legal commands. H Help. List the legal commands. LDA=value Set leading dimension of arrays. M Multiply two matrices. N=value Assigns the size of the arrays. N=nlo,nhi,ninc Sets N=nlo, N=nlo+ninc, .... N=nlo,nhi,*nmult Sets N=nlo, N=nlo*nmult, .... NREP=nrep Sets the repetition factor. ORDER=name Chooses the algorithm. P Prints out current results. Q Quit. SHOW=name Include "name" in output. "name" = ORDER, LDA, N, CPU, OPS, MFLOPS, MACHINE, or LANGUAGE. If "name"=ALL, all items are shown. NOSHOW=name removes item from output list. Command? (Type H for help) Command? (Type H for help) N has been set to 100 Command? (Type H for help) The order has been set to ALL Command? (Type H for help) Order LDA N CPU Secs Ops MFLOPS Machine Language C4_IJK1100 100 0.076754 2000000 26.0573 Mac/G5 Fortran R8_IJK1100 100 0.053037 2000000 37.7095 Mac/G5 Fortran IJK 1100 100 0.052215 2000000 38.3032 Mac/G5 Fortran IJUK 1100 100 0.046472 2000000 43.0367 Mac/G5 Fortran IKJ 1100 100 0.049716 2000000 40.2285 Mac/G5 Fortran IUJK 1100 100 0.032882 2000000 60.8235 Mac/G5 Fortran JIK 1100 100 0.052437 2000000 38.1410 Mac/G5 Fortran JKI 1100 100 0.048746 2000000 41.0290 Mac/G5 Fortran L4_IJK1100 100 0.051519 2000000 38.8206 Mac/G5 Fortran MIJK 1100 100 0.000000 2000000 0.0000 Mac/G5 Fortran MKJI 1100 100 0.000000 2000000 0.0000 Mac/G5 Fortran MXMA 1100 100 0.000005 2000000********** Mac/G5 Fortran I4_IJK1100 100 0.055630 2000000 35.9518 Mac/G5 Fortran SAXPYC1100 100 0.002988 2000000 669.3483 Mac/G5 Fortran SAXPYR1100 100 0.008921 2000000 224.1894 Mac/G5 Fortran SDOT 1100 100 0.009375 2000000 213.3339 Mac/G5 Fortran SGEMM 1100 100 0.003248 2000000 615.7681 Mac/G5 Fortran SIJK 1100 100 0.052326 2000000 38.2219 Mac/G5 Fortran TAXPYC1100 100 0.025082 2000000 79.7385 Mac/G5 Fortran TAXPYR1100 100 0.048011 2000000 41.6572 Mac/G5 Fortran TDOT 1100 100 0.040015 2000000 49.9812 Mac/G5 Fortran TGEMM 1100 100 0.031411 2000000 63.6719 Mac/G5 Fortran UIJK 1100 100 0.053057 2000000 37.6953 Mac/G5 Fortran The matrix multiplication has been carried out. Command? (Type H for help) Command? (Type H for help) The order has been set to TDOT Command? (Type H for help) N has been set to 100 NHI has been set to 400 NMULT has been set to 2 Command? (Type H for help) Order LDA N CPU Secs Ops MFLOPS Machine Language TDOT 1100 100 0.039984 2000000 50.0200 Mac/G5 Fortran Order LDA N CPU Secs Ops MFLOPS Machine Language TDOT 1100 200 0.315392 16000000 50.7305 Mac/G5 Fortran Order LDA N CPU Secs Ops MFLOPS Machine Language TDOT 1100 400 0.678856 128000000 188.5525 Mac/G5 Fortran The matrix multiplication has been carried out. Command? (Type H for help) Command? (Type H for help) The order has been set to IJK Command? (Type H for help) N has been set to 50 NHI has been set to 400 NMULT has been set to 2 Command? (Type H for help) Order LDA N CPU Secs Ops MFLOPS Machine Language IJK 1100 50 0.000481 250000 519.6115 Mac/G5 Fortran Order LDA N CPU Secs Ops MFLOPS Machine Language IJK 1100 100 0.003701 2000000 540.3986 Mac/G5 Fortran Order LDA N CPU Secs Ops MFLOPS Machine Language IJK 1100 200 0.029455 16000000 543.1981 Mac/G5 Fortran Order LDA N CPU Secs Ops MFLOPS Machine Language IJK 1100 400 0.263516 128000000 485.7386 Mac/G5 Fortran The matrix multiplication has been carried out. Command? (Type H for help) Command? (Type H for help) The order has been set to KJI Command? (Type H for help) The repetition factor is now NREP = 5 Command? (Type H for help) N has been set to 100 Command? (Type H for help) Order LDA N CPU Secs Ops NREP MFLOPS Machine Language KJI 1100 100 0.016767 2000000 5 596.4087 Mac/G5 Fortran The matrix multiplication has been carried out. Command? (Type H for help) Command? (Type H for help) Type "Y" to confirm that you want to quit. matmul(): Normal end of execution. 7 October 2025 1:11:58.933 PM