Linux???л?????mpich2????????
???????????? ???????[ 2014/5/5 10:25:40 ] ????????Linux ??? ????
????6????c2??c3??c4????????????????
????7?????3????????????????????
??????????????У?
????#ssh c1
????#ssh c2
????#ssh c3
????#ssh c4
???????????????yes????????????????????????????κ???????????????"Last login:???????"??????????
???????????MPICH2(????root????)
????1???????
????#tar -zxvf mpich2-1.0.1.tar.gz
???????? #gunzip -c mpich2-1.0.1.tar.gz|tar xf mpich2-1.0.1.tar
????2???????????
????#mkdir /usr/MPICH-install
????3??????mpich2?????
????#cd mpich2-1.0.1
????4?????e????
????#./configure --prefix=/usr/MPICH-install
????5??????
????#make
????6?????
????#make install
????7???????root??
????#cd ..
????8???????.bashrc?????????????
????#vi .bashrc
?????????.bashrc??????£?
????# .bashrc
????# User specific aliases and functions
????PATH=$PATH:/usr/MPICH-install/bin ???????
????#Source .bashrc
????9?????????????????
????#which mpd
????#which mpicc
????#which mpiexec
????#which mpirun
????10?????/etc/mpd.conf??????????secretword=myword
????#vi /etc/mpd.conf
????????????????????????
????#touch /etc/mpd.conf
????#chmod 600 /etc/mpd.conf
????11????????????????????/root/mpd.hosts
????#vi mpd.hosts
??????????????£?
????C1
????C2
????C3
????c4
????????????
????1?????????
????#mpd & ???
????#mpdtrace ??????????
????#mpdallexit ???
????2?????mpd.hosts???м????
????#mpdboot -n number -f mpd.hosts number?????????????
????#mpdtrace
????#mpdallexit
????3??????????MPICH?????????
????#mpdboot -n 4 -f mpd.hosts ???4?????
????#mpiexec -n number /usr/MPICH-install/examples/cpi number??????????
????#mpdallexit
????4?????????????????????е????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11