mkdir -p /path/to/NPB
cp NPB3.4.tar.gz /path/to/NPB
cd /path/to/NPB
tar -xvf NPB3.4.tar.gz
cd NPB3.4
cd NPB3.4-MPI cp config/make.def.template config/make.def
export PATH=/path/to/OPENMPI/bin:/path/to/GNU/bin:$PATH export LD_LIBRARY_PATH=/path/to/OPENMPI/lib:/path/to/GNU/lib64:$LD_LIBRARY_PATH
make EP CLASS=D NPROCS=96
以上命令中:
用户根据实际需求去选择基准,问题规模和核数去测试,详细参数介绍请参考更多资源。