【问题标题】:What is the encoded variant in High-Performance Linpack Benchmark?高性能 Linpack 基准测试中的编码变体是什么?
【发布时间】:2022-01-06 07:26:35
【问题描述】:

当我使用多个选项(例如不同的问题大小等)运行 HPL 时,基准测试会在系统上执行多次运行。在我的例子中:

  • 多个NBMIN
  • 多个 BCAST
  • 多重深度

当我查看运行的单个输出文件时,我不明白如何区分这些输出。在我的示例中,我如何知道 WR01R2C4WR01R2C8WR03R2C4 是哪个变体?

输出提供了一个带有编码变体的线索,但我找不到任何关于如何解码的信息。

有人知道吗?

这是我的输出文件的 sn-p...

(另一方面:在stackoverflow上是否可以选择突出显示(即加粗)我的代码块中的文本?)

An explanation of the input/output parameters follows:
T/V    : Wall time / encoded variant.
N      : The order of the coefficient matrix A.
NB     : The partitioning blocking factor.
P      : The number of process rows.
Q      : The number of process columns.
Time   : Time in seconds to solve the linear system.
Gflops : Rate of execution for solving the linear system.

The following parameter values will be used:

N      :    9000 
NB     :     640 
PMAP   : Row-major process mapping
P      :       3 
Q      :       3 
PFACT  :   Crout 
NBMIN  :       4        8 
NDIV   :       2 
RFACT  :   Right 
BCAST  :  1ringM   2ringM 
DEPTH  :       0        1 
SWAP   : Mix (threshold = 60)
L1     : transposed form
U      : transposed form
EQUIL  : yes
ALIGN  : 8 double precision words

--------------------------------------------------------------------------------

- The matrix A is randomly generated for each test.
- The following scaled residual check will be computed:
      ||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
- The relative machine precision (eps) is taken to be               1.110223e-16
- Computational tests pass if scaled residuals are less than                16.0

================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR01R2C4        9000   640     3     3               9.42             5.1609e+01
HPL_pdgesv() start time Mon Nov 29 13:12:56 2021

HPL_pdgesv() end time   Mon Nov 29 13:13:05 2021

--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)=   2.34317645e-03 ...... PASSED
================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR01R2C8        9000   640     3     3               9.35             5.2011e+01
HPL_pdgesv() start time Mon Nov 29 13:13:06 2021

HPL_pdgesv() end time   Mon Nov 29 13:13:15 2021

--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)=   2.50831382e-03 ...... PASSED
================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR03R2C4        9000   640     3     3               9.32             5.2164e+01
HPL_pdgesv() start time Mon Nov 29 13:13:16 2021

HPL_pdgesv() end time   Mon Nov 29 13:13:25 2021

【问题讨论】:

    标签: parallel-processing mpi cluster-computing linpack


    【解决方案1】:

    如果没有记录,请查看源代码。在testing/ptest/HPL_pdtest.c 你会找到the following line

             HPL_fprintf( TEST->outfp,
                 "W%c%1d%c%c%1d%c%1d%12d %5d %5d %5d %18.2f     %18.3e\n",
                 ( GRID->order == HPL_ROW_MAJOR ? 'R' : 'C' ),
                 ALGO->depth, ctop, crfact, ALGO->nbdiv, cpfact, ALGO->nbmin,
                 N, NB, nprow, npcol, wtime[0], Gflops );
    

    因此,编码变体的格式为:

    WR01R2C4
    ^^^^^^^^
    ||||||||
    |||||||+--- NBMIN
    ||||||+---- PFACT (C = Crout, L = Left, R = Right)
    |||||+----- NBDIV
    ||||+------ RFACT (see PFACT)
    |||+------- BCAST (0 = 1ring, 1 = 1ringM, 2 = 2ring, 3 = 2ringM, 4 = long)
    ||+-------- DEPTH
    |+--------- PMAP (R = Row-major, C = Column-major)
    +---------- always W
    

    【讨论】:

    • 是的,我一直在寻找,但找不到。谢谢你的协助! :)
    • @theFinestHobo 我看到你是 Stack Overflow 的新手。如果以上文字回答了您的问题,请考虑将其标记为正确答案。这向其他人表明该问题已得到回答,并允许将类似的问题重定向到此处。它还可以整理未回答问题的队列。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-29
    • 2014-07-30
    • 2014-12-19
    • 2020-09-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多