Maui

From CBLFS
Revision as of 04:47, 6 November 2007 by Weibullguy (talk | contribs) (Added page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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

Recommended

  • 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

Create a bootscript for Maui.

cat > /etc/rc.d/init.d/maui << "EOF"
#!/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 -sf ../../init.d/maui /etc/rc.d/rc0.d/K15maui &&
ln -sf ../../init.d/maui /etc/rc.d/rc1.d/K15maui &&
ln -sf ../../init.d/maui /etc/rc.d/rc2.d/K15maui &&
ln -sf ../../init.d/maui /etc/rc.d/rc3.d/S50maui &&
ln -sf ../../init.d/maui /etc/rc.d/rc4.d/S50maui &&
ln -sf ../../init.d/maui /etc/rc.d/rc5.d/S50maui &&
ln -sf ../../init.d/maui /etc/rc.d/rc6.d/K15maui

Contents

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

Short Descriptions