温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

MPI安装步骤

发布时间:2020-04-09 17:06:19 来源:网络 阅读:1247 作者:lhmlogin 栏目:大数据

MPICH setup

  1. install same(not must) Linux OS on 2 or more computer
  2. config ssh: master computer should be able to ssh login slave computer without passwd:

    1. run "ssh-keygen -t rsa" on master computer
    2. scp ~/.ssh/id_rsa.pub 192.168.188.130:/home/genesis
    3. ssh 192.168.188.130 -l genesis
    4. cat /home/genesis/id_rsa.pub >> ~/.ssh/authorized_keys
  3. scp -r ~/mpich-install 192.168.188.130:/home/genesis
  4. scp /etc/hosts 192.168.188.130:/home/genesis (make sure both server and client have both server and client hostname)
  5. scp ~/cpi 192.168.188.130:/home/genesis
  6. add /home/genesis/mpich-install/bin to .bashrc on both server and slave computer
  7. mpiexec -n 5 -f machinefile ./cpi

How to make mpich

./configure --prefix=<mpi install location>
make
make install

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI