sudo apt-get install pvm pvm-dev pvm-examples
get the source for examples
wget http://de.archive.ubuntu.com/ubuntu/pool/universe/p/pvm/pvm_3.4.5.orig.tar.gz
tar -zxvf pvm_3.4.5.orig.tar.gz
in your home create
mkdir pvm3/bin/LINUX64
start pvmd
pvmd -f
see your host type
pvm
pvm> conf
conf
1 host, 1 data format
HOST DTID ARCH SPEED DSIG
borkstationx64 40000 LINUX64 1000 0x00408c41
you can see why i have created that pvm3/bin/LINUX64 dir (used by default for pvm user scripts )
copy all the files from the tar into the pvm3/bin/LINUX64 dir
cd ~/pvm3/bin/LINUX64
gcc hello.c -l pvm3 -o hello
gcc hello_other.c -l pvm3 -o hello_other
./hello
i'm t4000b
from t4000c: hello, world from borkstationx64
Tuesday, May 05, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment