linpack_2
Run linpack in server
1.Get computer nodal information
lscpu
dmidecode -t memory | head -45 | tail -24
2.Experimental softwares:mpich-3.2.1 + GotoBLAS2-1.13 + hpl-2.2
3.Install software
1.Install mpich
1.Solve dependency
sudo yum install gcc
sudo yum install gcc-gfortran
2.Download mpich3
cd /home
yum install wget
wget http://www.mpich.org/static/downloads/3.2.1/mpich-3.2.1.tar.gz
3.Installing
mkdir /home/linpack
tar -zxvf mpich-3.2.1.tar.gz
mv mpich-3.2.1 /home/linpack
mkdir /home/mpich-install
cd /home/linpack/mpich-3.2.1
./configure --prefix=/home/mpich-install 2>&1 | tee c.txt
when run --- ./configure --prefix=/home/mpich-install/ 2>&1 | tee c.txt
error:configure: error: Aborting because C++ compiler does not work.
If you do not need a C++ compiler, configure with --disable-cxx
solve:yum install gcc-c++
./configure --prefix=/home/mpich-install 2>&1 | tee c.txt
make 2>&1 | tee m.txt
make install 2>&1 | tee m.txt
PATH=/home/[USERNAME]/mpich-install/bin:$PATH ; export PATH
which mpicc
which mpiexec
4.test if install success
cd /home/linpack/mpich-3.2.1/examples
mpiexec -n 5 ./cpi
when run --- mpiexec -n 5 ./cpi
error:Fatal error in MPI_Init: Other MPI error, error stack: gethostbyname failed, cu001.novalocal (errno 1)
solve:vim /etc/hosts
add "127.0.0.1 cu001.novalocal" to /etc/hosts
mpiexec -n 5 ./cpi
2.Install GotoBLAS2
1.Download GotoBLAS2-1.13
cd /home
wget https://www.tacc.utexas.edu/documents/1084364/1087496/GotoBLAS2-1.13.tar.gz/b58aeb8c-9d8d-4ec2-b5f1-5a5843b4d47b
mv b58aeb8c-9d8d-4ec2-b5f1-5a5843b4d47b GotoBLAS2-1.13.tar.gz
tar -zxvf GotoBLAS2-1.13.tar.gz
mv GotoBLAS2 /home/linpack
cd /home/linpack/GotoBLAS2
error:In GotoBLAS2 directory, f_check file'source have error.
solve:Change 298th row of f_check file to "print MAKEFILE "FEXTRALIB=$linker_L -lgfortran -lm -lquadmath -lm $linker_a\n";"
make BINARY=64 TARGET=NEHALEM
when run --- make BINARY=64 TARGET=NEHALEM
error:/bin/sh:行2: patch: 未找到命令
make: *** [lapack-3.1.1] 错误 127o
solve: yum install patch
make BINARY=64 TARGET=NEHALEM
3.Install hpl
1.download hpl
cd /home/
wget http://www.netlib.org/benchmark/hpl/hpl-2.2.tar.gz
tar -zxvf hpl-2.2.tar.gz
mv hpl-2.2 /home/linpack
cd /home/linpack/hpl-2.2
cp ./setup/Make.Linux_PII_FBLAS ./
vim Make.Linux_PII_FBLAS
modify Make.Linux_PII_FBLAS file
TOPdir = /home/linpack/hpl-2.2 ##where is hpl-2.2
MPdir = /home/mpich-install ##where is mpich installed directory
MPlib = $(MPdir)/lib/libmpi.so
LAdir = /home/linpack/GotoBLAS2 ##where is GotoBLAS2
LAlib = $(LAdir)/libgoto2.a $(LAdir)/libgoto2.so
CC = /home/mpich-install/bin/mpicc ##where is mpicc
LINKER = /home/mpich-install/bin/mpif77 ##where is mpif77
when run ---make arch=Linux_PII_FBLAS
error:6.//usr/lib64/libpthread.so.0: error adding symbols: DSO missing from comman
solve:modify Make.Linux_PII_FBLAS
CCFLAGS = $(HPL_DEFS) -fomit-frame-pointer -O3 -funroll-loops -W -Wall -fuse-ld=gold -pthread -lm
make arch=Linux_PII_FBLAS
4.Runing
cd /home/linpack/hpl-2.2/bin/Linux_PII_FBLAS/
mpiexec -np 4 ./xhpl > /home/test1
5.Result
linpack_2的更多相关文章
随机推荐
- 基于Python3 神经网络的实现
基于Python3 神经网络的实现(下载源码) 本次学习是Denny Britz(作者)的Python2神经网络项目修改为基于Python3实现的神经网络(本篇博文代码完整).重在理解原理和实现方法, ...
- 安卓开发:Please ensure that adb is correctly located at……问题解决方案
话不多说,每一个开发安卓的菜鸟都会遇到这种问题. Please ensure that adb is correctly located at 'E:\种子下载\adt-bundle-windo... ...
- Struts2_简单数据验证
在Action 中添加 FieldError if(name == null || !name.equals("admin")){ this.addFieldError(" ...
- ModuleNotFoundError: No module named 'yaml'
ModuleNotFoundError: No module named 'yaml' 需要安装 pyyaml 包
- 【js基础修炼之路】- 手把手教你实现bind
手写bind前我们先回顾一下bind有哪些特性,以便更好的理解bind和实现bind. bind的特性 var obj = { a: 100, say(one, two) { console.log( ...
- IOS 音频的 使用说明
说明 ● 简单来说,音频可以分为2种 ● 音效 • 又称“短音频”,通常在程序中的播放时长为1~2秒 • 在应用程序中起到点缀效果,提升整体用户体验 ● 音乐 • 比如游戏中的“背景音乐”,一般播放时 ...
- centos 7jenkin+git 安装
jenkins+git配置 背景:用git管理源代码,所以需要jenkins安装Git Plugin插件配置 准备: 1.linux环境git客户端 2.jenkins环境 + git plugin插 ...
- 2017.9.16 Web 应用开发环境搭建与开发工具安装
1.JDK的下载与安装 1.1 在网址:http://javase/downloads/index.jsp网站下载最新的JDK版本 1.2 安装jdk,双击下载好的.exe文件运行,一般默认安装在c盘 ...
- 使用QT开发GoogleMap瓦片显示和下载工具(1)——QT开发环境准备
由于是第一次使用qt,光是QT的安装和调试就费了好大功夫,汗一个,下面记录下过程和遇到的问题的解决方法吧. 下载QT 直接Google搜索“QT”,进入官网http://qt-project.org/ ...
- apache日志
<VirtualHost *:80> ServerAdmin chinasir.xyz@gmail.com DocumentRoot /var/www/html/baidu ServerN ...