Downloaded the source code from from the above link (lam-7.0.tar.gz), scanned the installation doc (see above link), exported some things...
export CC=/usr/bin/gcc export CXX=/usr/bin/g++ export FC=/usr/bin/g77then
./configure --prefix=/usr/local/lam-7.0 --with-rsh="ssh" make make install
Use SCP to copy /usr/local/lam-7.0 and /home/simonh/lam-7.0 to all nodes.
The LAM stuff is run as simonh, so ensure its all in the user's path by adding export PATH=$PATH=/usr/local/lam-7.0/bin to ~/.bashrc on all nodes.
Edit a file called, say lamboot.nodes on the "master" machine (in our case 130.88.149.97) with the IP addresses of the nodes:
130.88.149.97 130.88.149.98 130.88.149.99 130.88.149.100 130.88.149.101 130.88.149.102including the master (the latter not as 127.0.0.1).
Ensure user simonh can authenticate from master to all nodes via SSH without passwords (use public keys, a la above).
Start the LAM daemon (lamd) on all nodes:
lamboot -v -ssi boot rsh lamboot.nodes(To shutdown use lamhalt.)
Start the daemon on all the machines. Then run an example or two:
mpirun N /home/simonh/lam-7.0/examples/alltoall/alltoall
Start the daemon on all the machines. Download the tests, lamtests-7.0.tar.gz from the download page (see link above), then
./configure make -k check MODES="tcp"Some of the test require copies of things to be available on all nodes, so using SCP to copy /home/simonh/lamtests-7.0 to all nodes can be good.
Need all machines to mount same disk-space for users who will use this. Probably could have eUMIST usernames LDAP-authenticated and mounting Cosmos/Eric space on all machines.
...previous | up (conts) | next... |