-
Notifications
You must be signed in to change notification settings - Fork 0
benchmark hpc challenge
HPC Challenge Benchmark
Create directory structure in the shared applications mount point:
# cd /share/apps # mkdir benchmarks # mkdir benchmarks/hpcc_bench # cd benchmarks/hpcc_bench
# wget http://icl.cs.utk.edu/projectsfiles/hpcc/download/hpcc-1.0.0.tar.gz # tar -zxvf hpcc-1.0.0.tar.gz
Please refer to README.txt located in the hpcc-1.0.0 directory for complete details on building the application. Below are steps to build the application with the GNU compilers provided with the compute roll on a base installation of Rocks 4.1 i386.
Create a definitions file in the hpl subdirectory of hpcc-1.0.0 named Make.rocks.gnu:
# cd hpcc-1.0.0/hpl # vi Make.rocks.gnu
The contents of Make.rocks.gnu are shown here for a Rocks 4.1 i386 cluster using the default MPICH/GNU/Ethernet mpicc wrapper script:
SHELL = /bin/sh CD = cd CP = cp LN_S = ln -s MKDIR = mkdir RM = /bin/rm -f TOUCH = touch ARCH = $(arch) TOPdir = /share/apps/benchmarks/hpcc_bench/hpcc-1.0.0/hpl INCdir = $(TOPdir)/include BINdir = $(TOPdir)/bin/$(ARCH) LIBdir = $(TOPdir)/lib/$(ARCH) HPLlib = $(LIBdir)/libhpl.a MPdir = /opt/mpich/myrinet/gnu MPinc = -I$(MPdir)/include MPlib = -lmpich LAdir = /usr/lib LAinc = LAlib = $(LAdir)/libcblas.a $(LAdir)/libatlas.a F2CDEFS = HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc) HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib) -lm HPL_OPTS = -DHPL_CALL_CBLAS HPL_DEFS = $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES) CC = /opt/mpich/gnu/bin/mpicc CCNOOPT = $(HPL_DEFS) CCFLAGS = $(HPL_DEFS) -fomit-frame-pointer -O3 -funroll-loops -W -Wall LINKER = $(CC) LINKFLAGS = $(CCFLAGS) ARCHIVER = ar ARFLAGS = r RANLIB = echo
Once you've created the definitions file in the hpl directory, build the application in the hpcc-1.0.0 directory:
# cd .. # make arch=rocks.gnu
Please refer to README.txt located in the hpcc-1.0.0 directory for complete details. Outlined below are steps to run the benchmark with the default settings in the input file.
The first step is to copy the example input file to a working version:
# cp _hpccinf.txt hpccinf.txt
© 2014 www.rocksclusters.org. All Rights Reserved.