13. LAM/MPI

13.1. Resources

13.2. Download, Configuration and Installation

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/g77
then
    ./configure --prefix=/usr/local/lam-7.0 --with-rsh="ssh"
    make
    make install

13.3. Copying to Other Nodes

Use SCP to copy /usr/local/lam-7.0 and /home/simonh/lam-7.0 to all nodes.

13.4. System Configuration

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.102
including 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).

13.5. Stopping and Starting

Start the LAM daemon (lamd) on all nodes:

    lamboot -v -ssi boot rsh lamboot.nodes 
(To shutdown use lamhalt.)

13.6. Testing --- The Examples

Start the daemon on all the machines. Then run an example or two:

    mpirun N /home/simonh/lam-7.0/examples/alltoall/alltoall

13.7. Formal Testing

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.

13.8. Issues Raised

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.

...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_gbtc/_reml_grp/index.reml
On: 16/9/2003 at 13:25:38
Options: reml2 -i noindex -l long -o html -p multiple