How to Setup Linpack Testing Program

 

(1) Install Linux OS.
(2) Generate authentication keys for ssh authentication so data can be transferred between two computers without asking for passwords.
On host of 10.31.8.210 (first computer), type:
     ssh-keygen -t dsa
     cd .ssh/
     ls
     scp ./id_dsa.pub 10.31.9.255:/root/.ssh/authorized_keys2
  ssh 10.31.9.255
On host of 10.31.9.255 (second computer), do the same thing as on the first computer:
  ssh-keygen -t dsa
     cd .ssh/
     ls
     scp ./id_dsa.pub 10.31.8.210:/root/.ssh/authorized_keys2

(3) Copy the Linpack testing program to /root directory on these two computers:
Wget http://10.31.7.8/cluster/benchmark/hpl/intel/xhpl_intelx64_ib_static

(4)Run the Linpack testing program:
 
  mpirun –prefix /opt/openmpi-icc/ -np 48 -machinefile mf1 ./xhpl_intelx64_ib_static
(4) The mf1 file is shown as:
10.31.8.210 slots=24
10.31.9.255 slots=24
(5) The HPL.dat is shown as:

HPLinpack benchmark input file
Innovative Computing Laboratory, University of Tennessee
HPL.out      output file name (if any)
6            device out (6=stdout,7=stderr,file)
1            # of problems sizes (N)
100000 30000 40000 50000 60000 39007 39000  20960 364160 359424 276480 138240 115200 23040 354432 236160 95040 9600 20737 16129 16128 Ns
1             # of NBs
768 1024 512 384 640 768 896 960 1024 1152 1280 384 640 960 768 640 256  960 512 768 1152         NBs
0            PMAP process mapping (0=Row-,1=Column-major)
1            # of process grids (P x Q)
4         Ps
12        Qs
16.0         threshold
3            # of panel fact
0 1 2        PFACTs (0=left, 1=Crout, 2=Right)
1            # of recursive stopping criterium
2 8          NBMINs (>= 1)
1            # of panels in recursion
2            NDIVs
3            # of recursive panel fact.
0 1 2        RFACTs (0=left, 1=Crout, 2=Right)
2            # of broadcast
0 2          BCASTs (0=1rg,1=1rM,2=2rg,3=2rM,4=Lng,5=LnM)
2            # of lookahead depth
1 0          DEPTHs (>=0)
1            SWAP (0=bin-exch,1=long,2=mix)
192          swapping threshold
1            L1 in (0=transposed,1=no-transposed) form
1            U  in (0=transposed,1=no-transposed) form
1            Equilibration (0=no,1=yes)
8            memory alignment in double (> 0)
(5) Get CPU and memory information. This information will be needed to setup the parameter of Linpack test.

    cat /proc/cpuinfo
    cat /proc/cpuinfo | grep MHz | wc -l
    ssh 10.31.9.255 “cat /proc/cpuinfo | grep MHz | wc -l”
    ifconfig eth0
    ssh 10.31.9.255 “cat /proc/cpuinfo | grep MHz | wc -l”
    free
    ssh 10.31.9.255 “free”
(6) Before you run the linpack testing program, you need to install openmpi:
tar jxf openmpi-1.4.2.tar.bz2
cd openmpi-1.4.2
  ls
      . set_env
 ./configure –prefix=/opt/openmpi-icc –enable-static –disable-share CC=icc CXX=icpc FC=ifort F77=ifort && make && make install clean

(7) The set_env file is shown as:

_INTEL_COMPILER=/opt/intel/Compiler/11.1/072
_INTEL_MKL=/opt/intel/mkl/10.2.5.035
_OPENMPI=/opt/openmpi-icc
_CUDA_TOOLKIT=/usr/local/cuda
[[ -z $_OPENMPI ]] && { _OPENMPI=/opt/openmpi; }
export PATH=$_OPENMPI/bin:$_INTEL_COMPILER/bin/intel64:$_CUDA_TOOLKIT/bin:$PATH
export LD_LIBRARY_PATH=$_CUDA_TOOLKIT/lib64:$_CUDA_TOOLKIT/lib:$_OPENMPI/lib:$_INTEL_MKL/lib/em64t:$_INTEL_COMPILER/lib/intel64:$LD_LIBRARY_PATH
(8) You need to modify your .bash_profile

Advertisements

About superjameszou

Hardware Design Engineer
This entry was posted in GPU Blade Server. Bookmark the permalink.

One Response to How to Setup Linpack Testing Program

  1. Robert says:

    Where can I get a copy of the HPL Fermi software that you have?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s