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的更多相关文章
随机推荐
- Orcal笔记3-DDL-DML
一.Oracle的支持数据类型 1.字符串类型 char 固定长度(定义时即已确定长度,空余位置被补全),最大长度255,如 name char(10),'中'会占用10个长 ...
- Android 通过接口的方式去调用服务里面的方法
public class MainActivity extends AppCompatActivity { private MyConn conn; private Iservice myBinder ...
- 关于Android Studio中的一个小问题——R文件引用Id失败
错误情况: 今天使用AS建立了一个新的EmptyProject,结果出现错误 setContentView(R.layout.activity_main); R文件的引用Id失败.真的是莫名奇妙... ...
- 仿照everything写的一个超级速查 原创
http://files.cnblogs.com/files/jacd/%E8%B6%85%E9%80%9F%E6%9F%A5%E6%96%87%E4%BB%B6.zip 速度奇快无比,体积奇小无比, ...
- Linux远程桌面(一)
在机房折磨很久弄好的自己 Mark 一下.(测试环境rhel5.5) vnc 之独立服务配置 步骤一: (1)查看系统是否安装vnc服务(也可以在 系统-管理员-服务 里查看并勾选开机自启) # rp ...
- April 15 2017 Week 15 Saturday
Attitude is a little thing that makes a big difference. 小态度,大不同. Attitudes can make a big difference ...
- 504. Inverted Index (Map Reduce) lintcode
https://www.lintcode.com/problem/inverted-index-map-reduce/description -- decription of the map redu ...
- POJ-2139 Six Degrees of Cowvin Bacon---Floyd
题目链接: https://vjudge.net/problem/POJ-2139 题目大意: 给定一些牛的关系,他们之间的距离为1. 然后求当前这只牛到每只牛的最短路的和,除以 n - 1只牛的最大 ...
- 2018.7.5 jQuery学习
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8&quo ...
- 通过ODBC接口访问人大金仓数据库
国产化软件和国产化芯片的窘境一样,一方面市场已经存在性能优越的同类软件,成本很低,但小众的国产化软件不仅需要高价买入版权,并且软件开发维护成本高:另一方面,国产软件目前普遍难用,性能不稳定,Bug ...