Maui: Difference between revisions

From CBLFS
Jump to navigationJump to search
Too many dot dots
m Bootscript
Line 91: Line 91:
== Configuring ==
== Configuring ==


Create a bootscript for Maui.
Install the maui init script included in the [[bootscripts]] package.


  cat > /etc/rc.d/init.d/maui << "EOF"
  make install-maui
#!/bin/sh
# Begin $rc_base/init.d/maui
#
# Based on sysklogd script from LFS-3.1 and earlier.
# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
#
# Date: 2007-10-23
. /etc/sysconfig/rc
. $rc_functions
# Read in the command arguments
case "$1" in
    start)
        boot_mesg "Starting Maui Batch Scheduler..."
        loadproc /usr/sbin/maui
        ;;
    stop)
        boot_mesg "Stopping Maui Batch Scheduler..."
        killproc maui
        ;;
    restart)
        $0 stop
        $0 start
        ;;
    status)
        statusproc /usr/sbin/maui
        ;;
    *)
        echo "Usage: $0 {start|stop|restart|status}"
        exit 1
esac
exit 0
# End $rc_base/init.d/maui
EOF


Link the bootscript into the appropriate run levels.
ln -svf ../init.d/maui /etc/rc.d/rc0.d/K15maui &&
ln -svf ../init.d/maui /etc/rc.d/rc1.d/K15maui &&
ln -svf ../init.d/maui /etc/rc.d/rc2.d/K15maui &&
ln -svf ../init.d/maui /etc/rc.d/rc3.d/S50maui &&
ln -svf ../init.d/maui /etc/rc.d/rc4.d/S50maui &&
ln -svf ../init.d/maui /etc/rc.d/rc5.d/S50maui &&
ln -svf ../init.d/maui /etc/rc.d/rc6.d/K15maui
== Contents ==
== Contents ==



Revision as of 20:37, 29 November 2007

Download Source: http://www.clusterresources.com/cri/maui.jsp (You will have to register to gain access)
Download Source: http://cross-lfs.org/~arowland/tarballs/m/maui-3.2.6p19.tar.gz (You don't have to register, but the source may outdated.)

Introduction to Maui

Maui Cluster Scheduler is a job scheduler for clusters and supercomputers.

Project Homepage: http://www.clusterresources.com/

Dependencies

  • Torque or other resource/allocation manager (see below)

Optional

Configuration Information

--with-machine=NAME: System name (defaults to uppercased hostname).
--with-pbs[=DIR]: Use the PBS Resource Manager (Torque is a PBS manager).

Maui can be built against Quadrics RMS, SGE, LSF, Wiki, Bamboo, SSS, Warehouse, QBank, and Gold resource/allocation managers.

Non-Multilib

Compile the package:

./configure --prefix=/usr --with-spooldir=/var/spool/maui --with-pbs=/usr &&
make

Install the package:

make install &&
mkdir -pv /var/spool/maui &&
touch /var/spool/maui/maui.ck

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --with-spooldir=/var/spool/maui --with-pbs=/usr &&
make

Install the package:

make install &&
mkdir -pv /var/spool/maui &&
touch /var/spool/maui/maui.ck

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \ 
--with-spooldir=/var/spool/maui --with-pbs=/usr &&
make

Install the package:

make install &&
mkdir -pv /var/spool/maui &&
touch /var/spool/maui/maui.ck

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \ 
--with-spooldir=/var/spool/maui --with-pbs=/usr &&
make

Install the package:

make install &&
mkdir -pv /var/spool/maui &&
touch /var/spool/maui/maui.ck

Configuring

Install the maui init script included in the bootscripts package.

make install-maui

Contents

Installed Directories: None
Installed Programs: maui
Installed Libraries: libmoad.a, libmcom.a

Short Descriptions

Retrieved from "?title=Maui&oldid=12167"