30 likes | 228 Views
Using PVM. Four hosts alpha.csie.isu.edu.tw (140.127.185.95) beta.csie.isu.edu.tw (140.127.185.97) gamma.csie.isu.edu.tw (140.127.185.98) delta.csie.isu.edu.tw (140.127.185.96). Configure PVM. $ pvm pvm> conf conf 1 host, 1 data format
E N D
Using PVM • Four hosts • alpha.csie.isu.edu.tw (140.127.185.95) • beta.csie.isu.edu.tw (140.127.185.97) • gamma.csie.isu.edu.tw (140.127.185.98) • delta.csie.isu.edu.tw (140.127.185.96)
Configure PVM $ pvm pvm> conf conf 1 host, 1 data format HOST DTID ARCH SPEED DSIG alpha.csie.isu.edu.tw 40000 LINUXI386 1000 0x00408841 pvm> add delta pvm> add gamma pvm> add beta pvm> conf 4 hosts, 1 data format HOST DTID ARCH SPEED DSIG alpha.csie.isu.edu.tw 40000 LINUXI386 1000 0x00408841 delta 80000 LINUXI386 1000 0x00408841 gamma C0000 LINIXI386 1000 0x00408841
Compile pvm program cc –I/usr/share/pvm3/include –L/usr/share/pvm3/lib/LINUX I386 master.c –lpvm3 –o master cc –I/usr/share/pvm3/include –L/usr/share/pvm3/lib/LINUX I386 slave.c–lpvm3 –o slave