mvapich2-1.9a 安装使用小结
wget http://mvapich.cse.ohio-state.edu/download/mvapich2/mvapich2-1.9a.tgz
tar -xzf mvapich2-1.9a.tgz
./configure 无参数,之后make install出错
./configure --prefix=/home/shir/mv/install
make --> make install
salloc -N 2 //申请2个节点
squeue -u shir //查看我的节点名字
touch hosts
#hosts file, including nodes from "squeue -u shir"
node136
node137
../../bin/mpirun_rsh -np 2 -hostfile hosts ./osu_bw
遇到两个问题
1. 要求输入ssh远程节点密码
solution: ssh-keygen
cat .ssh/id_rsa.pub >> .ssh/authorized_keys
2. bin文件路径问题
释放节点 scancel --jobid
××××××××××××××××××××××××××××××××
mingzhe的bashrc
# .bashrc
ulimit -c unlimited
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
MPIHOME=/home/limin/mvapich/exp6/gbuild-4.4.6
HELP_TOOL=/home/limin/help_tools
PATH=$PATH:$HELP_TOOL/bin:$MPIHOME/bin:$HELP_TOOL/eztrace/bin:/$HELP_TOOL/libpng/bin:/home/limin/profile-tools/pli386/bin:$HELP_TOOL/cmake/bin:$HELP_TOOL/mxml/bin:$HELP_TOOL/scalasca/bin:/home/limin/profile-tools/pdtoolkit-3.17/x86_64/lib:$HELP_TOOL/ompp/bin:$HELP_TOOL/ipm/bin:/home/limin/help_tools/openshmem/bin
加上 PATH=$PATH:/path/to/mv2/install/bin
之后 source ~/.bashrc
ssh 登录ri cse 节点
wget http://mvapich.cse.ohio-state.edu/download/mvapich2/mvapich2-1.9a.tgz
tar -xzf mvapich2-1.9a.tgz
./configure 无参数,之后make install出错
./configure --prefix=/home/shir/mv/install
make --> make install
salloc -N 2 //申请2个节点
squeue -u shir //查看我的节点名字
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
79867 Compute bash shir R 0:08 2 node[136-137]
touch hosts
#hosts file, including nodes from "squeue -u shir"
node136
node137
../../bin/mpirun_rsh -np 2 -hostfile hosts ./osu_bw
遇到两个问题
1. 要求输入ssh远程节点密码
solution: ssh-keygen
cat .ssh/id_rsa.pub >> .ssh/authorized_keys
2. bin文件路径问题
释放节点 scancel --jobid
××××××××××××××××××××××××××××××××
mingzhe的bashrc
# .bashrc
ulimit -c unlimited
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
MPIHOME=/home/limin/mvapich/exp6/gbuild-4.4.6
HELP_TOOL=/home/limin/help_tools
PATH=$PATH:$HELP_TOOL/bin:$MPIHOME/bin:$HELP_TOOL/eztrace/bin:/$HELP_TOOL/libpng/bin:/home/limin/profile-tools/pli386/bin:$HELP_TOOL/cmake/bin:$HELP_TOOL/mxml/bin:$HELP_TOOL/scalasca/bin:/home/limin/profile-tools/pdtoolkit-3.17/x86_64/lib:$HELP_TOOL/ompp/bin:$HELP_TOOL/ipm/bin:/home/limin/help_tools/openshmem/bin
加上 PATH=$PATH:/path/to/mv2/install/bin
之后 source ~/.bashrc