首先分别下载(需要科学翻墙)
1.先安装externals
cd hpctoolkit-externals
mkdir BUILD && cd BUILD
../configure [CC=<c-compiler>] [CXX=<c++-compiler>] \
[--prefix=<hpctoolkit-externals-install>]
make install
make clean
cofigure 出错
将wordsize_XXX = ‘get_wordsize’ 都改成 wordsize_XXX = 64 (64位)
make install出错
yum install patch
使用
$ mpiexec -np 4 hpcrun -t -e WALLCLOCK@5000 ./main3d ../input/scalability_test/group1.input
$ hpcstruct ./main3d
$ hpcprof -S main3d.hpcstruct -I ../source/'*' hpctoolkit-main3d-measurements/
$ hpcviewer hpctoolkit-main3d-database