Difference between revisions of "Benchmarking: HPL AMD optimised (High Performance Linpack)"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== HPL AMD Optimised == Getting it to work you have to compile openmpi 2.1.5 since it requires libs specific to that mpi version. == Getting HPL to loop for 3 runs (or more)...")
 
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
Getting it to work you have to compile openmpi 2.1.5 since it requires libs specific to that mpi version.
 
Getting it to work you have to compile openmpi 2.1.5 since it requires libs specific to that mpi version.
 +
 +
== Where the tar file is stored ==
 +
 +
\\10.0.0.222\software\AMD\HPL\AMD_HPL.tgz
 +
 +
== Dependencies required ==
 +
 +
To compile openmpi tools you will always need gcc etc, safe time with development tools.
 +
 +
<syntaxhighlight>
 +
yum group install "Development Tools"
 +
wget https://download.open-mpi.org/release/open-mpi/v2.1/openmpi-2.1.5.tar.gz
 +
</syntaxhighlight>
 +
 +
== compile openmpi 2.1.5 ==
 +
Navigate to the directory thats created after you decompress the openmpi tgz file.
 +
 +
Run the commands below to compile openmpi.
 +
 +
<syntaxhighlight>
 +
./configure --prefix=/usr/lib64/openmpi-2.1.5
 +
make all install
 +
</syntaxhighlight>
 +
 +
== Using AMD HPL ==
 +
 +
Set cpupower to performance (if you reboot the system you will need to rerun this command).
 +
 +
<syntaxhighlight>
 +
cpupower frequency-set -g performance
 +
</syntaxhighlight>
 +
 +
Would suggest installing screen.
 +
 +
untar AMD_HPL
 +
 +
<syntaxhighlight>
 +
tar xvf AMD_HPL.tgz
 +
 +
</syntaxhighlight>
 +
 +
Change directory to "HPL" that will have been created from untar`ing.
 +
 +
Within HPL you will find a number of files but the most important ones will be:
 +
 +
"run_hpl_ccx.sh" and "HPL.dat"
 +
 +
within run_hpl_ccx.sh you may have to edit the absolute location of mpirun since it may not match your system.
 +
 +
You may see dependency errors (libmpi.so.20 missing) if you do not reference openmpi 2.1.5 with it claiming missing lib
 +
 +
open HPL.dat and edit the Ns value to be inline with your memory capacity.
 +
 +
Using HPL calulator to work out what this value should be relative to the system your testing.
  
 
== Getting HPL to loop for 3 runs (or more) ==
 
== Getting HPL to loop for 3 runs (or more) ==
 +
 +
The absolute path to "run_hpl_ccx.sh" may change depending on where you untar AMD_HPL.tgz so just check that the path is correct here for you.
  
 
<syntaxhighlight>
 
<syntaxhighlight>

Latest revision as of 14:42, 24 January 2019

HPL AMD Optimised

Getting it to work you have to compile openmpi 2.1.5 since it requires libs specific to that mpi version.

Where the tar file is stored

\\10.0.0.222\software\AMD\HPL\AMD_HPL.tgz

Dependencies required

To compile openmpi tools you will always need gcc etc, safe time with development tools.

yum group install "Development Tools"
wget https://download.open-mpi.org/release/open-mpi/v2.1/openmpi-2.1.5.tar.gz

compile openmpi 2.1.5

Navigate to the directory thats created after you decompress the openmpi tgz file.

Run the commands below to compile openmpi.

./configure --prefix=/usr/lib64/openmpi-2.1.5
make all install

Using AMD HPL

Set cpupower to performance (if you reboot the system you will need to rerun this command).

cpupower frequency-set -g performance

Would suggest installing screen.

untar AMD_HPL

tar xvf AMD_HPL.tgz

Change directory to "HPL" that will have been created from untar`ing.

Within HPL you will find a number of files but the most important ones will be:

"run_hpl_ccx.sh" and "HPL.dat"

within run_hpl_ccx.sh you may have to edit the absolute location of mpirun since it may not match your system.

You may see dependency errors (libmpi.so.20 missing) if you do not reference openmpi 2.1.5 with it claiming missing lib

open HPL.dat and edit the Ns value to be inline with your memory capacity.

Using HPL calulator to work out what this value should be relative to the system your testing.

Getting HPL to loop for 3 runs (or more)

The absolute path to "run_hpl_ccx.sh" may change depending on where you untar AMD_HPL.tgz so just check that the path is correct here for you.

#! /bin/bash
for i in {1..3}; do /root/HPL/run_hpl_ccx.sh; done