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:
我們提供的服務有:網(wǎng)站設(shè)計制作、網(wǎng)站設(shè)計、微信公眾號開發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認證、覃塘ssl等。為上1000+企事業(yè)單位解決了網(wǎng)站和推廣的問題。提供周到的售前咨詢和貼心的售后服務,是有科學管理、有技術(shù)的覃塘網(wǎng)站制作公司
- 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安裝步驟
網(wǎng)站路徑:
http://weahome.cn/article/pidepe.html