並列処理プログラミング†
LINK†
#urlbookmark(below)
openMPI†
gunzip -c openmpi-1.3.3.tar.gz | tar xf -
cd openmpi-1.3.3
./configure --prefix=/usr/local
make all install
- /usr/local に展開した場合、/usr/local/etc内に
- mpirun --prefix /usr/local/openmpi -machinefile hosts -n 3 mpit3
- /etc/ld.so.conf というファイルに、MPIライブラリファイルのあるディレクトリを加えておく。
include /usr/local/openmpi-1.2.7/lib
vmware†
- debian
- apt-get install build-essential
- apt-get install ssh
- apt-get install emacs
- apt-get install nfs-kernel-server
- /etc/resolv.conf
- /etc/hosts
- /etc/network/interfaces
/etc/network/interfaces:
iface eth0 inet static
address 192.168.xx.10
network 192,168.xx.0
netmask 255.255.255.0
gateway 192.168.xx.1
broadcast 192.168.xx.255
#dns-nameserver 192.168.xx.1
#dns-search workgroup
auto eth0
nfs†
- /etc/exports in hostname_0
/etc/exports:
/opt/temp hostname_1(rw)
/etc/fstab:
hostname_0:/opt/temp /home/user/work/temp defaults 0 0
- mount -f hostname_0:/opt/temp
- mount -a
プログラム†
プロセス間通信(1対1通信)†
プロセス間通信(グループ通信)†