[an error occurred while processing this directive]
For more information check out the LAM man page (man LAM).
Also look into the documentation directory:
/u2/bsiever/lam61/doc
1. Make sure that your default shell initialization script is setup as world readable. This may mean that you need to set the acl on your root directory OR create a public directory and create a link from your shell initialization script in your root directory to a file in the public directory.
2. Now modify your shell initialization script so that it sets the Lam environment variables.
You'll need to set the Following Values:
Example:
1. Set your directory world readable:
fs setacl ~ system:anyuser r
2. Set the environment variables in your .usercshrc (If you're running csh):
source /u2/bsiever/lam/lamcshrc
This file sets the LAMHOME variable as well as the PATH, MANPATH, and LD_LIBRARY_PATH.
Start Lam on all the nodes listed in the Default bhost.def file
lamboot -v
(The -v will indicate which nodes it has been successfully started on.
For more info. check the lamboot manpage)
See the Makefiles provided in the test directory:
/u2/bsiever/lam/test
Check the mpirun homepage. (man -s 1 mpirun)
Also be sure to issue the mpirun that is part of the lam distribution rather than the
mpirun provided by the native mpilibrary.
Example:
mpirun n0-7 -c2c -O /u2/bsiever/lam/test/sieve/siever -- 1000000 25 1
n0-7: Run the program on nodes 0-7
-c2c : Direct Communication Optimization
-O : Data conversion optimization
/u2/bsiever/lam/test/sieve/siever : The Program to run
1000000 25 1 : The command line arguments
For More information check the xmpi man page.
When all test have been run, shutdown all the Lam servers with:
wipe -v
At the prompt enter the name of the host file. If you booted with
the default host file use "bhost.def".
(The -v will indicate which nodes have been successfully terminated.
For more info. check the wipe manpage)