执行make arch=rpi
遇到问题:
the file starts executing but stops with the following error
"Makefile:47: Make.inc: No such file or directory
make[2] : *** No rule to make target 'Make.inc'. Stop.
make[2] : Leaving directory '/home/pi/Desktop/hpl-2.1/src/auxil/rpi'
Make.top:54: recipe for target 'build_src' failed
make[1] : *** [build_src] Error 2
make[1] : Leaving directory '/home/pi/Desktop/hpl-2.1'
Makefile:72: recipe for target 'build' failed
make: *** [build] Error 2
【可能原因】可能是hpl的版本和openmpi的版本不对,
【解决方案】可以试着用root用户去make,就会报错很多函数已经不用了
安装成功后可以在/bin/XXX文件夹下看到两个文件:
It might be the vision of HPL and openMPI is incompatible. TRY to use hpl-2.3.
IF you “make arch=XXX” under “root”,you might see: " Call to ‘MPI_Address’ declared with attribute error: MPI_Address was removed in MPI-3.0. Use MPI_Get_address instead." It’s hard to debug “HPL_packL.c”, you can just use hpl-2.3.