These files can be used to build and install SLURM on a stand-alone Linux
computer. All of the configuration files and scripts are written for this work
to be performed in the directory "/tmp/slurm". Create the directory "tmp/slurm"
and copy files from the CD into that directory.

Three different system types are avavilable for your use on this CD:
1. A single node Linux node on which the CPUs can be indepedently scheduled
2. An emulated Linux cluster with four nodes
3. An emulated IBM Bluegene/Q system (96-cabinet, 1.6 million core system)

Here are step-by-step instructions to build and install.
1.  Build, install, and configure MUNGE (See MUNGE documentation for details).
    MUNGE is available here: http://code.google.com/p/munge/
    MUNGE is also available as a Debian package.

2.  Change directory to "/tmp/slurm":
    cd /tmp/slurm

3.  Uncompress the SLURM tar-ball (Note SLURM version number may vary):
    bunzip2 slurm-2.3.2.tar.bz2

4.  Unpackage the files from the tar-ball (Note SLURM version number may vary):
    tar -xf slurm-2.3.2.tar

5.  Change directory to one of the three build directories (in this case, we
    build a fake Linux cluster):
    cd /tmp/slurm/build_fake_cluster

6.  Execute the configure script:
    ./configure

7.  Build the SLURM code ("-j" performs the build in parallel on all of your
    computer's processors, ">m.o" sends output to the file "m.o", error message
    will appear on your screen):
    make -j >m.o

8.  Assuming the build was successful, install the code:
    make -j install >m.o

9.  Change directory to the matching install directory (in this case, for a fake
    Linux cluster):
    cd /tmp/slurm/install_fake_cluster/etc

10. Edit the configuration file at slurm.conf.
    Change "HOSTNAME" to the output of "hostname -s" on your computer and
    change "USER" to your user name as output by "id -un"
    gedit slurm.conf (use your favorite editor)

11. Start the SLURM daemons in new windows:
    xterm & (create a new window and in that new window):
      cd /tmp/slurm/install_fake_cluster/sbin
      ./slurmctld -Dcv
    xterm & (create another new window and in that new window):
      cd /tmp/slurm/install_fake_cluster/sbin
      ./slurmd -Dcv

12. Change directory to where the SLURM commands are located:
    cd /tmp/slurm/install_fake_cluster/bin

13. Include files in this directory in your search path (command depends upon
    shell being used):
    export PATH=.:$PATH

14. Try running some commands
    sinfo
    srun -N4 hostname
    etc.
