This is an old revision of the document!
Download the source.
cd ~ wget https://software.sandia.gov/hpcg/downloads/hpcg-2.4.tar.gz tar -xf hpcg-2.4.tar.gz cd hpcg-2.4 mkdir build
Edit the Makefile to include the -xHost compiler flag:
vim setup/Makefile.MPIICPC_OMP
Compile the benchmark:
cd build ../configure Makefile.MPIICPC_OMP make
The benchmark can be run using MPI, OpenMP or a hybrid of the two. Two specify the number of desired OpenMP threads, set the environment variable:
OMP_NUM_THREADS=<N>
The problem size can be increased in the hpcg.dat file. To run the benchmark:
mpirun -n <N> -hostfile <HF> ./xhpl
Experimentation should be conducted to determine which approach yields the best performance.