MPI安装步骤
MPICH setup
- install same(not must) Linux OS on 2 or more computer
config ssh: master computer should be able to ssh login slave computer without passwd:
我们提供的服务有:网站设计制作、网站设计、微信公众号开发、网站优化、网站认证、覃塘ssl等。为上1000+企事业单位解决了网站和推广的问题。提供周到的售前咨询和贴心的售后服务,是有科学管理、有技术的覃塘网站制作公司
- run "ssh-keygen -t rsa" on master computer
- scp ~/.ssh/id_rsa.pub 192.168.188.130:/home/genesis
- ssh 192.168.188.130 -l genesis
- cat /home/genesis/id_rsa.pub >> ~/.ssh/authorized_keys
- scp -r ~/mpich-install 192.168.188.130:/home/genesis
- scp /etc/hosts 192.168.188.130:/home/genesis (make sure both server and client have both server and client hostname)
- scp ~/cpi 192.168.188.130:/home/genesis
- add /home/genesis/mpich-install/bin to .bashrc on both server and slave computer
- mpiexec -n 5 -f machinefile ./cpi
How to make mpich
./configure --prefix=
make
make install
网页题目:MPI安装步骤
文章位置:http://ybzwz.com/article/pidepe.html