#!/bin/bash
set -x
cd ~/mpich2*
./configure --prefix=/usr/local/mpich2 --enable-sharedlibs=gcc
make
#make 2>&1 | tee m.txt
sudo make install
#/usr/local/bin/sbin/mpeuninstall may be used to remove the installation
echo 'export PATH=/usr/local/mpich2/bin:${PATH}' >> ~/.bashrc
echo 'export MANPATH=${MANPATH}:/usr/local/mpich2/share/man' >> ~/.bashrc
#One way to safely create this file is to do the following:
#cd $HOME
touch ~/.mpd.conf
chmod 600 ~/.mpd.conf
#and then use an editor to insert a line like
echo 'MPD_SECRETWORD=chentong' >> ~/.mpd.conf
#into the file.
sudo touch /etc/profile.d/mpich.sh
sudo ln -s /usr/local/mpich2/bin/mpicc /usr/bin/mpicc
sudo ln -s /usr/local/mpich2/bin/mpicxx /usr/bin/mpicxx
sudo ln -s /usr/local/mpich2/bin/mpirun /usr/bin/mpirun
sudo ln -s /usr/local/mpich2/bin/mpd /usr/bin/mpd
MPI安装脚本
原创
©著作权归作者所有:来自51CTO博客作者wx643df9f1afa1d的原创作品,请联系作者获取转载授权,否则将追究法律责任
下一篇:乔布斯演讲
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Sqlmap tamper 脚本整理
一、说明SQLMAP是一个用于测试SQL注入问题的强大工具,工具有很多可用的选项,使用sqlmap -hh可以看到具体的说明,其可用的选项进行了分类,包括Target、Request、Optimization、Injection、Detection、Techniques、Fingerprint、Enumeration、Brute force、User-deficed function inject
sqlmap tamper base64encode charunicodeencode randomcomments -
Linpack安装(HPL+MKL+MPI)
)2.1 MKL ( 安装包...
HPL 配置文件 服务器 -
hbase读取速度性能报告
Hbase框架介绍HBase是一个分布式的、面向列的开源数据库。不同点:l 和一般的关系数据库不同,hbase是一个适合于非结构化数据存储的数据库。l Hbase是基于列而不是基于行的模式。 在分布式的生产环境中,HBase 需要运行在 HDFS 之上,以 HDFS 作为其基础的存储设施。HBase上层提供了访问的数据的 Java API 层,供应用访问存储在 H
hbase读取速度性能报告 hbase hbase写数据流程 hbase读数据流程 hbase结构分析