diff --git a/spool/common/cluster_name b/spool/common/cluster_name new file mode 100644 index 0000000..48d1ef5 --- /dev/null +++ b/spool/common/cluster_name @@ -0,0 +1 @@ +geophysik diff --git a/spool/common/configuration b/spool/common/configuration new file mode 100644 index 0000000..0286b28 --- /dev/null +++ b/spool/common/configuration @@ -0,0 +1,56 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +conf_name global +conf_version 43 +execd_spool_dir /data/gridengine/spool +mailer /usr/bin/mail +xterm /usr/bin/xterm +load_sensor /data/gridengine/flex-grid/site/qloadsensor +prolog NONE +epilog NONE +shell_start_mode posix_compliant +login_shells sh,bash,ksh,csh,tcsh +min_uid 1000 +min_gid 1000 +user_lists none +xuser_lists none +projects none +xprojects none +enforce_project false +enforce_user auto +load_report_time 00:00:40 +max_unheard 00:05:00 +reschedule_unknown 00:00:00 +loglevel log_warning +administrator_mail kasper.fischer@ruhr-uni-bochum.de +set_token_cmd none +pag_cmd none +token_extend_time none +shepherd_cmd none +qmaster_params none +execd_params ENABLE_BINDING=true NOTIFY_KILL=SIGTERM ENABLE_ADDGRP_KILL=true H_MEMORYLOCKED=infinity +reporting_params accounting=true reporting=false flush_time=00:00:15 joblog=false sharelog=00:00:00 +finished_jobs 100 +gid_range 20000-20999 +qlogin_command /data/gridengine/local/scripts/qlogin_wrapper +qlogin_daemon /usr/sbin/sshd -i +rlogin_command /usr/bin/ssh -XAtq +rlogin_daemon /usr/sbin/sshd -i +rsh_command /usr/bin/ssh -XAtq +rsh_daemon /usr/sbin/sshd -i +max_aj_instances 2000 +max_aj_tasks 75000 +max_u_jobs 0 +max_jobs 0 +max_advance_reservations 20 +auto_user_oticket 100 +auto_user_fshare 100 +auto_user_default_project none +auto_user_delete_time infinity +delegated_file_staging false +reprioritize 0 +jsv_url none +jsv_allowed_mod ac,h,i,e,o,j,M,N,p,w + diff --git a/spool/common/qtask b/spool/common/qtask new file mode 100644 index 0000000..2115152 --- /dev/null +++ b/spool/common/qtask @@ -0,0 +1,66 @@ +# +#___INFO__MARK_BEGIN__ +########################################################################## +# +# The Contents of this file are made available subject to the terms of +# the Sun Industry Standards Source License Version 1.2 +# +# Sun Microsystems Inc., March, 2001 +# +# +# Sun Industry Standards Source License Version 1.2 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.2 (the "License"); You may not use this file +# except in compliance with the License. You may obtain a copy of the +# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2001 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +########################################################################## +#___INFO__MARK_END__ + +# +# This file contains cell wide defaults which commands are +# to be queued from within a qtcsh session. +# +# See qtask(5) for a detailed description of the file format. +# +# +# +# Sample #1 redirects certain file io intensive commands +# to the fileserver machine. +# +#cat -l file_srv=true -cwd +#grep -l file_srv=true -cwd +#egrep -l file_srv=true -cwd +# +# +# +# Sample #2 redirects certain GUI applications to one of +# the machines being configured as application +# server. The prefixed exclamation mark prevents +# overriding of the default redirection for the +# netscape command. +# +#!netscape -l appl_srv=true -cwd -v DISPLAY +#soffice -l appl_srv=true -cwd -v DISPLAY +# +abaqus -v PATH -v SGE\* -l cae=1 -cwd -now y -N abaqus +matlab -v PATH -v SGE\* -l matlab=1 -cwd -now y -N matlab +pilot -v PATH -v SGE\* -cwd -now y -N pilot +#comsol -l multiphysics=1 -cwd +#femlab -l multiphysics=1 -cwd +#multiphysics -l multiphysics=1 -cwd + diff --git a/spool/common/sched_configuration b/spool/common/sched_configuration new file mode 100644 index 0000000..cb3c735 --- /dev/null +++ b/spool/common/sched_configuration @@ -0,0 +1,40 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +algorithm default +schedule_interval 0:0:05 +maxujobs 0 +queue_sort_method 1 +job_load_adjustments np_load_avg=0.75 +load_adjustment_decay_time 00:20:00 +load_formula np_load_avg +schedd_job_info true +flush_submit_sec 0 +flush_finish_sec 0 +params none +reprioritize_interval 0:0:0 +halftime 168 +usage_weight_list cpu=1.000000 mem=0.000000 io=0.000000 +compensation_factor 5.000000 +weight_user 0.250000 +weight_project 0.250000 +weight_department 0.250000 +weight_job 0.250000 +weight_tickets_functional 10000 +weight_tickets_share 10000 +weight_tickets_override 400 +share_override_tickets TRUE +share_functional_shares TRUE +max_functional_jobs_to_schedule 200 +report_pjob_tickets TRUE +max_pending_tasks_per_job 50 +halflife_decay_list none +policy_hierarchy OFS +weight_ticket 0.010000 +weight_waiting_time 0.000000 +weight_deadline 3600000.000000 +weight_urgency 0.100000 +weight_priority 10.000000 +max_reservation 20 +default_duration 259200 diff --git a/spool/common/settings.csh b/spool/common/settings.csh new file mode 100644 index 0000000..64ae357 --- /dev/null +++ b/spool/common/settings.csh @@ -0,0 +1,44 @@ +setenv SGE_ROOT /var/lib/gridengine + +if ( -x $SGE_ROOT/util/arch ) then +setenv SGE_ARCH `$SGE_ROOT/util/arch` +set DEFAULTMANPATH = `$SGE_ROOT/util/arch -m` +set MANTYPE = `$SGE_ROOT/util/arch -mt` + +setenv SGE_CELL default +setenv SGE_CLUSTER_NAME geophysik +unsetenv SGE_QMASTER_PORT +unsetenv SGE_EXECD_PORT +setenv DRMAA_LIBRARY_PATH /var/lib/gridengine/lib//libdrmaa.so + +# library path setting required only for architectures where RUNPATH is not supported +if ( -d $SGE_ROOT/$MANTYPE ) then + if ( $?MANPATH == 1 ) then + setenv MANPATH $SGE_ROOT/${MANTYPE}:$MANPATH + else + setenv MANPATH $SGE_ROOT/${MANTYPE}:$DEFAULTMANPATH + endif +endif + +set path = ( $SGE_ROOT/bin $SGE_ROOT/bin/$SGE_ARCH $path ) +if ( -d $SGE_ROOT/lib/$SGE_ARCH ) then + switch ($SGE_ARCH) +case "sol*": +case "lx*": +case "hp11-64": + breaksw + case "*": + set shlib_path_name = `$SGE_ROOT/util/arch -lib` + if ( `eval echo '$?'$shlib_path_name` ) then + set old_value = `eval echo '$'$shlib_path_name` + setenv $shlib_path_name "$SGE_ROOT/lib/$SGE_ARCH":"$old_value" + else + setenv $shlib_path_name $SGE_ROOT/lib/$SGE_ARCH + endif + unset shlib_path_name old_value + endsw +endif +unset DEFAULTMANPATH MANTYPE +else +unsetenv SGE_ROOT +endif diff --git a/spool/common/settings.sh b/spool/common/settings.sh new file mode 100644 index 0000000..03d0373 --- /dev/null +++ b/spool/common/settings.sh @@ -0,0 +1,43 @@ +SGE_ROOT=/opt/SGE; export SGE_ROOT + +if [ -x $SGE_ROOT/util/arch ]; then +SGE_ARCH=`$SGE_ROOT/util/arch`; export SGE_ARCH +DEFAULTMANPATH=`$SGE_ROOT/util/arch -m` +MANTYPE=`$SGE_ROOT/util/arch -mt` +DRMAA_LIBRARY_PATH=/opt/SGE/lib//libdrmaa.so + +SGE_CELL=default; export SGE_CELL +SGE_CLUSTER_NAME=geophysik; export SGE_CLUSTER_NAME +unset SGE_QMASTER_PORT +unset SGE_EXECD_PORT + +if [ -d "$SGE_ROOT/$MANTYPE" ]; then + if [ "$MANPATH" = "" ]; then + MANPATH=$DEFAULTMANPATH + fi + MANPATH=$SGE_ROOT/$MANTYPE:$MANPATH; export MANPATH +fi + +PATH=$SGE_ROOT/bin:$SGE_ROOT/bin/$SGE_ARCH:$PATH; export PATH +# library path setting required only for architectures where RUNPATH is not supported +if [ -d $SGE_ROOT/lib/$SGE_ARCH ]; then + case $SGE_ARCH in +sol*|lx*|hp11-64) + ;; + *) + shlib_path_name=`$SGE_ROOT/util/arch -lib` + old_value=`eval echo '$'$shlib_path_name` + if [ x$old_value = x ]; then + eval $shlib_path_name=$SGE_ROOT/lib/$SGE_ARCH + else + eval $shlib_path_name=$SGE_ROOT/lib/$SGE_ARCH:$old_value + fi + export $shlib_path_name + unset shlib_path_name old_value + ;; + esac +fi +unset DEFAULTMANPATH MANTYPE +else +unset SGE_ROOT +fi diff --git a/spool/common/sge.module b/spool/common/sge.module new file mode 100644 index 0000000..ebc19c2 --- /dev/null +++ b/spool/common/sge.module @@ -0,0 +1,19 @@ +#%Module1.0 -*-tcl-*- + +proc ModulesHelp { } { + puts stderr "\tSets up the Grid Engine batch system" +} + +module-whatis "Grid Engine batch system" + +set sge_root "/opt/SGE" +set sge_cell "default" +set sge_arch "lx-amd64" + +setenv SGE_ROOT "$sge_root" +setenv SGE_CELL "$sge_cell" +setenv SGE_CLUSTER_NAME "geophysik" +setenv DRMAA_LIBRARY_PATH "$sge_root/lib/$sge_arch/libdrmaa.so" +prepend-path PATH "$sge_root/bin/$sge_arch" +prepend-path PATH "$sge_root/bin" +prepend-path MANPATH "$sge_root/man" diff --git a/spool/common/sge_aliases b/spool/common/sge_aliases new file mode 100644 index 0000000..e1b3cd4 --- /dev/null +++ b/spool/common/sge_aliases @@ -0,0 +1,40 @@ +#___INFO__MARK_BEGIN__ +########################################################################## +# +# The Contents of this file are made available subject to the terms of +# the Sun Industry Standards Source License Version 1.2 +# +# Sun Microsystems Inc., March, 2001 +# +# +# Sun Industry Standards Source License Version 1.2 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.2 (the "License"); You may not use this file +# except in compliance with the License. You may obtain a copy of the +# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2001 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +########################################################################## +#___INFO__MARK_END__ +# +# Template Grid Engine path aliasing configuration file +# +# The following entry aliases physical address as generated by automounter +# (with a leading /tmp_mnt) to the logical path (w/o leading /tmp_mnt). +# +# subm_dir subm_host exec_host path_replacement +/tmp_mnt/ * * / +/private/var/automount/ * * / diff --git a/spool/common/sge_request b/spool/common/sge_request new file mode 100644 index 0000000..6e23592 --- /dev/null +++ b/spool/common/sge_request @@ -0,0 +1,68 @@ +# +# +# This file contains cell wide default submit options which are +# automatically applied to all job submission requests. Users can get rid of +# these defaults by using the -clear option. +# +# See sge_request(5) for a detailed description of the file format. +# +#___INFO__MARK_BEGIN__ +########################################################################## +# +# The Contents of this file are made available subject to the terms of +# the Sun Industry Standards Source License Version 1.2 +# +# Sun Microsystems Inc., March, 2001 +# +# +# Sun Industry Standards Source License Version 1.2 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.2 (the "License"); You may not use this file +# except in compliance with the License. You may obtain a copy of the +# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2001 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +########################################################################## +#___INFO__MARK_END__ + +# +# Sample #1 prevents job submissions of jobs which can +# never be scheduled. +# +# -w e +# + +# +# Sample #2 causes the jobs standard error stream to be merged +# into the standard outout stream. +# +# -j y +# + +# +# Sample #3 assigns a low default submit priority. For higher +# prior jobs the priority can be increased at jobs submission +# time by uing "-p ". The value of +# may not exeed 0 because priorities above +# this value can only be set by managers. +# +# Please notice that in GRD submission priorities have a +# different meaning. +# +-p -100 +# +-l mem=3G,h_vmem=3G,h_stack=8M,scf=200M +# -jsv /opt/SGE/local/jsv/maintenance.jsv diff --git a/spool/common/sgeexecd b/spool/common/sgeexecd new file mode 100755 index 0000000..11659ba --- /dev/null +++ b/spool/common/sgeexecd @@ -0,0 +1,464 @@ +#!/bin/sh +# +# +# SGE startup script +# +#___INFO__MARK_BEGIN__ +########################################################################## +# +# The Contents of this file are made available subject to the terms of +# the Sun Industry Standards Source License Version 1.2 +# +# Sun Microsystems Inc., March, 2001 +# +# +# Sun Industry Standards Source License Version 1.2 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.2 (the "License"); You may not use this file +# except in compliance with the License. You may obtain a copy of the +# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2001 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +########################################################################## +#___INFO__MARK_END__ + +# +# This script can be called with the following arguments: +# +# start start execution daemon +# stop Terminates the execution daemon +# and the shepherd. This only works if the execution daemon +# spool directory is in the default location. +# softstop do not kill the shepherd process +# restart equivalent to softstop followed by start +# status check if execd running +# +# Unix commands which may be used in this script: +# cat cut tr ls grep awk sed basename +# +# This script requires the script $SGE_ROOT/util/arch +# Customization can be placed in /etc/default/sgeexecd or +# /etc/sysconfig/sgeexecd (according to OS conventions), which is sourced +# after other setup. + +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +#--------------------------------------------------------------------------- +# The following lines provide the necessary info for adding a startup script +# according to the Linux Standard Base Specification (LSB) which can +# be found at: +# +# http://www.linuxfoundation.org/spec/booksets/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html +# +### BEGIN INIT INFO +# Provides: SGEEXEC +# Required-Start: $network $remote_fs +# Required-Stop: $network $remote_fs +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Description: start Grid Engine execd +### END INIT INFO +# chkconfig: 35 96 2 +#--------------------------------------------------------------------------- + +SGE_ROOT=/opt/SGE; export SGE_ROOT +SGE_CELL=default; export SGE_CELL +unset SGE_QMASTER_PORT +unset SGE_EXECD_PORT + +count=0 +while [ ! -d "$SGE_ROOT" -a $count -le 120 ]; do + count=`expr $count + 1` + sleep 1 +done + +ARCH=`$SGE_ROOT/util/arch` +# library path setting required only for architectures where RUNPATH is not supported +[ -d $SGE_ROOT/lib/$ARCH ] && +case $ARCH in +sol*|lx*) + ;; +*) + shlib_path_name=`$SGE_ROOT/util/arch -lib` + old_value=`eval echo '$'$shlib_path_name` + if [ x$old_value = x ]; then + eval $shlib_path_name=$SGE_ROOT/lib/$ARCH + else + eval $shlib_path_name=$old_value:$SGE_ROOT/lib/$ARCH + fi + export $shlib_path_name + ;; +esac + +[ -f /etc/default/sgeexecd ] && . /etc/default/sgeexecd +[ -f /etc/sysconfig/sgeexecd ] && . /etc/sysconfig/sgeexecd + +#--------------------------------------------------------------------------- +# DetectSMFService - sets service to a mask matching the name +# $1 ... name +# +DetectSMFService() +{ + name=$1 + service="" + + if [ "$noSMF" = true ]; then + return + fi + #Otherwise we try is it's available of the system + if [ -f /lib/svc/share/smf_include.sh ]; then + . /lib/svc/share/smf_include.sh + smf_present + if [ $? -ne 0 ]; then + return + fi + else + return + fi + + #Check we have cluster_name file + if [ ! -r "$SGE_ROOT/$SGE_CELL/common/cluster_name" ]; then + echo "Error: could not find $SGE_ROOT/$SGE_CELL/common/cluster_name!" + exit $SMF_EXIT_ERR_CONFIG + fi + #Cluster name must be unique + SGE_CLUSTER_NAME=`cat $SGE_ROOT/$SGE_CELL/common/cluster_name 2>/dev/null` + + service="svc:/application/sge/$name:$SGE_CLUSTER_NAME" + + #Check if service exists + /usr/bin/svcs $service > /dev/null 2>&1 + if [ $? -ne 0 ]; then + #No such service found in the system + service="" + fi +} + + +#--------------------------------------------------------------------------- +# ShutdownSMF +# +ShutdownSMF() +{ + if [ -z "$service" ]; then + #We don't have any such SMF service we use normal Shutdown + return + fi + pid=`/usr/bin/svcs -l -p $service | grep "/sge_execd$" | grep -v "^grep" | awk '{print $2}'` + if [ -n "$pid" ]; then + usingSMF="true" + /usr/sbin/svcadm disable -st $service + fi +} + + +#--------------------------------------------------------------------------- +# Shutdown +# Send SIGTERM (default) or signal $3 to process name $1 with pid in file $2 +# +Shutdown() +{ + name=$1 + pidfile=$2 + signal="-TERM" + + if [ $# = 3 ]; then + signal="-$3" + fi + if [ -f $pidfile ]; then + pid=`cat $pidfile` + $utilbin_dir/checkprog $pid $name > /dev/null + if [ "$?" = 0 ]; then + kill $signal $pid + return $? + fi + fi +} + + +#--------------------------------------------------------------------------- +# GetPathToBinaries +# echo the name of the bin_dir on this system +# The check is fulfilled if we can access the qstat binary +# echo "none" if we can't determine the binary path +GetPathToBinaries() +{ + cfgname=$SGE_ROOT/$SGE_CELL/common/bootstrap + + base=none + + if [ -f $cfgname ]; then + base=`grep binary_path $cfgname | awk '{ print $2 }'` + if [ -f $base/qstat ]; then + : + elif [ -f $SGE_ROOT/util/arch ]; then + arch=`$SGE_ROOT/util/arch` + if [ -f $base/$arch/qstat ]; then + base=$base/$arch + fi + fi + fi + + echo $base +} + + +#--------------------------------------------------------------------------- +# GetAdminUser +# echo the name of the admin user on this system +# echo "root" if admin user retrieval fails +GetAdminUser() +{ + cfgname=$SGE_ROOT/$SGE_CELL/common/bootstrap + user=none + + if [ -f $cfgname ]; then + user=`grep admin_user $cfgname | awk '{ print $2 }'` + fi + + if [ `echo $user|tr "[A-Z]" "[a-z]"` = "none" ]; then + user=root + fi + echo $user +} + +#--------------------------------------------------------------------------- +# GetPathToUtilbin +# echo the path to the binaries in utilbin +# The check is fulfilled if we can access the "gethostname" binary +# echo "none" if we can't determine the binary path +# +GetPathToUtilbin() +{ + base=none + + if [ -f $SGE_ROOT/util/arch ]; then + utilbindir=$SGE_ROOT/utilbin + + arch=`$SGE_ROOT/util/arch` + if [ -f $utilbindir/$arch/gethostname ]; then + base=$utilbindir/$arch + fi + fi + + echo $base +} + + +#--------------------------------------------------------------------------- +# GetExecdSpoolDir +# get the execution daemon spooling dir from configuration +GetExecdSpoolDir() +{ + EXECD_SPOOL_DIR=`$bin_dir/qconf -sconf $UQHOST 2>/dev/null | + grep execd_spool_dir | awk '{ print $2 }'` + if [ "$EXECD_SPOOL_DIR" = "" ]; then + EXECD_SPOOL_DIR=`$bin_dir/qconf -sconf | grep execd_spool_dir | awk '{ print $2 }'` + fi + echo "$EXECD_SPOOL_DIR" +} + +#--------------------------------------------------------------------------- +usage() +{ + echo "Grid Engine start/stop script. Valid parameters are:" + echo "" + echo " (no parameters): start execution daemon if applicable" + echo " \"start\" ditto." + echo " \"stop\" shutdown local Grid Engine processes and jobs" + echo " \"softstop\" shutdown local Grid Engine processes (no jobs)" + echo " \"restart\" restart local Grid Engine processes (keeping jobs)" + echo " \"status\" check whether execd runnig" + echo " \"-nosmf\" force no SMF" + echo "" + echo "Only one of \"start\", \"stop\", \"restart\", or \"softstop\" is allowed." + echo + echo "Default argument is \"start\" for all components." + echo "Default for \"stop\" is shutting down all components." + echo + exit 1 +} + + +#--------------------------------------------------------------------------- +# MAIN Procedure +# + +if [ "$#" -gt 2 -o "$1" = "-h" -o "$1" = "help" ]; then + usage +fi + +startup=true +execd=true +softstop=false +stop=false +noSMF=false +status=false + +for i in $*; do + if [ "$i" = start ]; then + startup=true + elif [ "$i" = stop ]; then + stop=true + startup=false + elif [ "$i" = softstop ]; then + softstop=true + startup=false + elif [ "$i" = -nosmf ]; then + noSMF=true + elif [ "$i" = restart ]; then + startup=true + softstop=true + elif [ "$i" = status ]; then + startup=false + status=true + else + usage + fi +done + +bin_dir=`GetPathToBinaries` +if [ "$bin_dir" = "none" ]; then + echo "can't determine path to Grid Engine binaries" + exit 5 # LSB compliant exit status - program is not installed +fi + +utilbin_dir=`GetPathToUtilbin` +if [ "$utilbin_dir" = "none" ]; then + echo "can't determine path to Grid Engine utility binaries" + exit 5 # LSB compliant exit status - program is not installed +fi + +# HOST is the aliased name (SGE name) +# UQHOST is the local host name (unqualified name) +HOST=`$utilbin_dir/gethostname -aname` +UQHOST=`$utilbin_dir/gethostname -name | cut -f1 -d.` + +execd_run_dir=`GetExecdSpoolDir`/$UQHOST + +DetectSMFService execd + +if [ $stop = true -o $softstop = true ]; then + # Shutdown execution daemon + if [ $execd = true ]; then + execd_spool_dir=$execd_run_dir + + usingSMF=false + echo " Shutting down Grid Engine execution daemon" + #We try to use SMF + ShutdownSMF + #Otherwise we use normal shutdown + if [ "$usingSMF" != true ]; then + # Send SIGTERM to execd + Shutdown sge_execd $execd_run_dir/execd.pid + ret=$? + if [ -f /var/lock/subsys/sgeexecd ]; then + uid=`$utilbin_dir/uidgid -uid` + if [ "$uid" = "0" -a "$ret" = "0" ]; then + rm -f /var/lock/subsys/sgeexecd >/dev/null 2>&1 + else + echo "Can't shut down execd!" + exit 1 + fi + fi + fi + # execution daemon is started on this host! + if [ "$SGE_EXECD_PORT" = "" ]; then + ping_port=`$utilbin_dir/getservbyname -number sge_execd` + else + ping_port=$SGE_EXECD_PORT + fi + # Wait while daemon is up + retries=0 + while [ $retries -le 61 ]; do + $bin_dir/qping -info "$HOST" "$ping_port" execd 1 > /dev/null 2>&1 + if [ $? -ne 0 ]; then + break + else + sleep 1 + retries=`expr $retries + 1` + fi + done + if [ $retries -eq 61 ]; then + echo "Execd did not stop in 61 seconds!" + exit 1 + fi + if [ $softstop = false ]; then + # Send SIGTERM to all shepherds (send SIGTSTP which is converted to SIGTERM by shepherd) + for jobid in `ls $execd_spool_dir/active_jobs 2>/dev/null`; do + echo " Shutting down Grid Engine shepherd of job $jobid" + Shutdown sge_shepherd $execd_spool_dir/active_jobs/$jobid/pid TSTP + done + fi + fi +fi + +if [ "$startup" = true ]; then + # Ensure the shepherd will run, e.g. not missing hwloc dynamic lib + if ! $bin_dir/sge_shepherd -help >/dev/null 2>&1; then + echo "sge_shepherd won't run -- dynamic library missing?" + exit 5 + fi + + #We want to use smf + if [ \( -z "$SMF_FMRI" -o "$SMF_FMRI" != "$service" \) -a -n "$service" ]; then + svcadm enable -st $service + exit $? + fi + # execution daemon is started on this host! + if [ "$SGE_EXECD_PORT" = "" ]; then + ping_port=`$utilbin_dir/getservbyname -number sge_execd` + else + ping_port=$SGE_EXECD_PORT + fi + echo " Starting Grid Engine execution daemon" + exec 1>/dev/null 2>&1 + $bin_dir/sge_execd + [ $? -eq 0 -a -d /var/lock/subsys ] && touch /var/lock/subsys/sgeexecd + + #Don't exit until daemon is up + retries=0 + while [ $retries -le 61 ]; do + $bin_dir/qping -info "$HOST" "$ping_port" execd 1 > /dev/null 2>&1 + if [ $? -eq 0 ]; then + break + else + sleep 1 + retries=`expr $retries + 1` + fi + done + if [ $retries -eq 61 ]; then + echo "Execd did not start in 61 seconds!" + exit 1 + fi + exit 0 +fi + +if [ "$status" = true ]; then + if [ -f $pidfile ]; then + pid=`cat $pidfile` + if $utilbin_dir/checkprog $pid $name > /dev/null; then + echo "execd (pid $pid) is running..." + exit 0 + else + echo "execd (pid $pid) is not running..." + exit 1 + fi + else + echo "execd is not running..." + exit 1 + fi +fi diff --git a/spool/common/sgemaster b/spool/common/sgemaster new file mode 100755 index 0000000..18ba427 --- /dev/null +++ b/spool/common/sgemaster @@ -0,0 +1,821 @@ +#!/bin/sh +# +# +# SGE startup script +# +#___INFO__MARK_BEGIN__ +########################################################################## +# +# The Contents of this file are made available subject to the terms of +# the Sun Industry Standards Source License Version 1.2 +# +# Sun Microsystems Inc., March, 2001 +# +# +# Sun Industry Standards Source License Version 1.2 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.2 (the "License"); You may not use this file +# except in compliance with the License. You may obtain a copy of the +# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2001 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +########################################################################## +#___INFO__MARK_END__ + +# +# This script can be called with the following arguments: +# +# start start qmaster or shadowd +# stop Terminates qmaster if we are on the master machine. +# restart equivalent to stop followed by start +# status check if daemon(s) running (obeys -qmaster, -qmaster) +# -qmaster only act on qmaster +# -shadowd start act on shadwod if found applicable +# -migrate shuts down qmaster if it is running +# on another host and start the daemons on this host +# +# If the file "primary_qmaster" in the $SGE_ROOT/$SGE_CELL/common +# exists and it contains the hostname of the current machine and qmaster +# is running on another host it will be shut down and started on this host +# +# Unix commands which may be used in this script: +# cat cut tr ls grep awk sed basename +# +# This script requires the script $SGE_ROOT/util/arch +# Customization can be placed in /etc/default/sgemaster or +# /etc/sysconfig/sgemaster (according to OS conventions) , which is sourced +# after other setup. + +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +#--------------------------------------------------------------------------- +# The following lines provide the necessary info for adding a startup script +# according to the Linux Standard Base Specification (LSB) which can +# be found at: +# +# http://www.linuxfoundation.org/spec/booksets/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html +# +### BEGIN INIT INFO +# Provides: SGEMASTER +# Required-Start: $network $remote_fs +# Required-Stop: $network $remote_fs +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Description: start Grid Engine qmaster, shadowd +### END INIT INFO +# chkconfig: 35 95 3 +#--------------------------------------------------------------------------- + +SGE_ROOT=/opt/SGE; export SGE_ROOT +SGE_CELL=default; export SGE_CELL +unset SGE_QMASTER_PORT +unset SGE_EXECD_PORT + +ARCH=`$SGE_ROOT/util/arch` + +# library path setting required only for architectures where RUNPATH is not supported +[ -d $SGE_ROOT/lib/$ARCH ] && +case $ARCH in +sol*|lx*) + ;; +*) + shlib_path_name=`$SGE_ROOT/util/arch -lib` + old_value=`eval echo '$'$shlib_path_name` + if [ x$old_value = x ]; then + eval $shlib_path_name=$SGE_ROOT/lib/$ARCH + else + eval $shlib_path_name=$old_value:$SGE_ROOT/lib/$ARCH + fi + export $shlib_path_name + ;; +esac + +#Include SMF if available +NO_SMF=1 +if [ -f /lib/svc/share/smf_include.sh ]; then + . /lib/svc/share/smf_include.sh + smf_present + NO_SMF=$? +fi + +[ -f /etc/default/sgemaster ] && . /etc/default/sgemaster +[ -f /etc/sysconfig/sgemaster ] && . /etc/sysconfig/sgemaster + +#--------------------------------------------------------------------------- +# Shutdown +# Send SIGTERM to process name $1 with pid in file $2 +# +Shutdown() +{ + name=$1 + pidfile=$2 + if [ -f $pidfile ]; then + pid=`cat $pidfile` + maxretries=20 + i=0 + while [ $i -lt $maxretries ]; do + $utilbin_dir/checkprog $pid $name > /dev/null + if [ "$?" = 0 ]; then + #We keep killing Qmaster so that child processes get killed + kill $pid + else + return 0 + fi + sleep 2 + i=`expr $i + 1` + + done + kill -9 $pid + return $? + fi +} + + +#--------------------------------------------------------------------------- +# QmasterSpoolDir +# Return qmasters spool directory +# +QmasterSpoolDir() +{ + qma_spool_dir=`grep qmaster_spool_dir \ + $SGE_ROOT/$SGE_CELL/common/bootstrap | \ + awk '{ print $2 }'` + echo $qma_spool_dir +} + +HostCompare() +{ + host1=$1 + host2=$2 + + ignore_fqdn=true + if [ -f $SGE_ROOT/$SGE_CELL/common/bootstrap ]; then + ignore_fqdn_txt=`grep ignore_fqdn $SGE_ROOT/$SGE_CELL/common/bootstrap | awk '{print $2}'` + case "$ignore_fqdn_txt" in + [fF][aA][lL][sS][eE]) + ignore_fqdn=false + ;; + esac + fi + + if [ "$ignore_fqdn" = true ]; then + host1=`echo $host1 | cut -f 1 -d .` + host2=`echo $host2 | cut -f 1 -d .` + fi + + #translate hostname to lower, because hostname are case insensitive + host1=`echo $host1 | tr "[A-Z]" "[a-z]"` + host2=`echo $host2 | tr "[A-Z]" "[a-z]"` + + if [ "$host1" = "$host2" ]; then + echo 0 + else + echo 1 + fi +} + + +#--------------------------------------------------------------------------- +# CheckIfQmasterHost +# If our hostname given in $1 is the same as in the "act_qmaster" file +# echo "true" else echo "false" +# +CheckIfQmasterHost() +{ + host=$1 + act_qmaster=`cat $SGE_ROOT/$SGE_CELL/common/act_qmaster` + + if [ `HostCompare $host $act_qmaster` -eq 0 ]; then + echo true + else + echo false + fi +} + +#--------------------------------------------------------------------------- +# CheckIfPrimaryQmasterHost +# Check if our hostname given in $1 is the same as in the +# "primary_qmaster" file +# echo true if there is our hostname else echo false +# +CheckIfPrimaryQmasterHost() +{ + host=$1 + + fname=$SGE_ROOT/$SGE_CELL/common/primary_qmaster + + if [ -f $fname ]; then + primary_qmaster=`cat $fname` + if [ `HostCompare $host $primary_qmaster` -eq 0 ]; then + echo true + else + echo false + fi + else + echo false + fi +} + + +#--------------------------------------------------------------------------- +# CheckIfShadowMasterHost +# Check if our hostname given in $1 is contained in the +# "shadow_masters" file +# echo true if there is our hostname else echo false +# +CheckIfShadowMasterHost() +{ + host=$1 + + fname=$SGE_ROOT/$SGE_CELL/common/shadow_masters + + if [ -f $fname ]; then + grep -i "^${host}$" $fname 2>&1 > /dev/null + if [ $? = 0 ]; then + shadow_host="true" + else + shadow_host="false" + fi + else + shadow_host="false" + fi +} + +#--------------------------------------------------------------------------- +# GetPathToBinaries +# echo the name of the bin_dir on this system +# The check is fulfilled if we can access the qstat binary +# echo "none" if we can't determine the binary path +GetPathToBinaries() +{ + cfgname=$SGE_ROOT/$SGE_CELL/common/bootstrap + + base=none + + if [ -f $cfgname ]; then + base=`grep binary_path $cfgname | awk '{ print $2 }'` + if [ -f $base/qstat ]; then + : + elif [ -f $SGE_ROOT/util/arch ]; then + arch=`$SGE_ROOT/util/arch` + if [ -f $base/$arch/qstat ]; then + base=$base/$arch + fi + fi + fi + + echo $base +} + + +#--------------------------------------------------------------------------- +# GetAdminUser +# echo the name of the admin user on this system +# echo "root" if admin user retrieval fails +GetAdminUser() +{ + cfgname=$SGE_ROOT/$SGE_CELL/common/bootstrap + user=none + + if [ -f $cfgname ]; then + user=`grep admin_user $cfgname | awk '{ print $2 }'` + fi + + if [ `echo $user|tr "[A-Z]" "[a-z]"` = "none" ]; then + user=root + fi + echo $user +} + +#--------------------------------------------------------------------------- +# GetPathToUtilbin +# echo the path to the binaries in utilbin +# The check is fulfilled if we can access the "gethostname" binary +# echo "none" if we can't determine the binary path +# +GetPathToUtilbin() +{ + base=none + + if [ -f $SGE_ROOT/util/arch ]; then + utilbindir=$SGE_ROOT/utilbin + + arch=`$SGE_ROOT/util/arch` + if [ -f $utilbindir/$arch/gethostname ]; then + base=$utilbindir/$arch + fi + fi + + echo $base +} + +#--------------------------------------------------------------------------- +# CheckRunningQmaster +# checks, if sge_qmaster is running +# In error case the sge_qmaster didn't start, silently +# +CheckRunningQmaster() +{ + masterhost=`cat $SGE_ROOT/$SGE_CELL/common/act_qmaster` + + if [ "$SGE_QMASTER_PORT" = "" ]; then + ping_port=`$utilbin_dir/getservbyname -number sge_qmaster` + else + ping_port=$SGE_QMASTER_PORT + fi + + start=`$SGE_ROOT/utilbin/$ARCH/now 2>/dev/null` + + running=false + retries=0 + qping_timeout=false + + # qping may have a long timeout in case of network or hostname resolution + # related problems. + # ensure that the test for a running qmaster does not take too long + # by limiting the total time and numbers the connection test is repeated + # we also require that the qmaster created a PID file before returning + + while [ $retries -le 30 ]; do + $bin_dir/qping -info $masterhost $ping_port qmaster 1 > /dev/null 2>&1 + if [ $? -eq 0 ]; then + running=true + break + else + now=`$SGE_ROOT/utilbin/$ARCH/now 2>/dev/null` + if [ "$now" -lt "$start" ]; then + start=$now + fi + elapsed=`expr $now - $start` + if [ $elapsed -gt 60 ]; then + if [ $retries -eq 0 ]; then + qping_timeout=true + fi + break + fi + sleep 2 + masterhost=`cat $SGE_ROOT/$SGE_CELL/common/act_qmaster` + retries=`expr $retries + 1` + fi + done + + if [ $running = "true" ]; then + if [ `CheckIfQmasterHost $HOST` = false ]; then + echo "sge_qmaster is running on another host (${masterhost})" + return 1 + else + return 0 + fi + else + echo + echo "sge_qmaster start problem" + if [ $qping_timeout = true ]; then + echo "Possibly a network or hostname configuration problem (got timeout)." + fi + echo + return 1 + fi +} + +#--------------------------------------------------------------------------- +# DetectSMFService - sets service to a mask matching the name +# $1 ... name +# +DetectSMFService() +{ + name=$1 + service="" + + if [ "$noSMF" = true -o $NO_SMF -ne 0 ]; then + return + fi + + #Check we have cluster_name file + if [ ! -r "$SGE_ROOT/$SGE_CELL/common/cluster_name" ]; then + echo "Error: could not find $SGE_ROOT/$SGE_CELL/common/cluster_name!" + exit $SMF_EXIT_ERR_CONFIG + fi + #Cluster name must be unique + SGE_CLUSTER_NAME=`cat $SGE_ROOT/$SGE_CELL/common/cluster_name 2>/dev/null` + + service="svc:/application/sge/$name:$SGE_CLUSTER_NAME" + + #Check if service exists + /usr/bin/svcs $service > /dev/null 2>&1 + if [ $? -ne 0 ]; then + #No such service found in the system + service="" + fi +} + + +#--------------------------------------------------------------------------- +usage() +{ + echo "Grid Engine start/stop script. Valid parameters are:" + echo "" + echo " (no parameters): start qmaster and shadow daemon if applicable" + echo " \"start\" ditto." + echo " \"stop\" shut down qmaster and shadow daemon if applicable" + echo " \"restart\" restart (stop and start) daemons" + echo " \"status\" check whether daemon(s) running" + echo " \"-qmaster\" only act on qmaster (if applicable)" + echo " \"-shadowd\" only act on shadowd (if applicable)" + echo " \"-migrate\" shutdown qmaster if it's running on another" + echo " host and restart it on this host" + echo " Migration only works if this host is an admin host" + echo " \"-nosmf\" force no SMF" + echo "" + echo "Only one of \"start\", \"stop\", or \"restart\" is allowed." + echo "Only one of the parameters beginning with \"-\" is allowed. Does not " + echo "apply to -nosmf." + echo + echo "Default argument is \"start\" for all components." + echo "Default for \"stop\" is shutting down all components." + echo + exit 1 +} + + +#--------------------------------------------------------------------------- +# MAIN Procedure +# + +if [ "$#" -gt 3 -o "$1" = "-h" -o "$1" = "help" ]; then + usage +fi + +startup=true +qmaster=true +shadowd=true +qstd=false +migrate_qmaster=false +noSMF=false +stop=false +status=false + +for i in $*; do + if [ "$i" = start ]; then + startup=true + elif [ "$i" = stop ]; then + startup=false + stop=true + elif [ "$i" = restart ]; then + stop=true + startup=true + elif [ "$i" = status ]; then + startup=false + status=true + elif [ "$i" = -qmaster ]; then + qmaster=true + shadowd=false + elif [ "$i" = -shadowd ]; then + qmaster=false + shadowd=true + elif [ "$i" = -migrate ]; then + migrate_qmaster=true + qmaster=true + shadowd=false + elif [ "$i" = -nosmf ]; then + noSMF=true + else + usage + fi +done + +bin_dir=`GetPathToBinaries` +if [ "$bin_dir" = "none" ]; then + echo "can't determine path to Grid Engine binaries" + exit 5 # LSB compliant exit status - program is not installed +fi + +utilbin_dir=`GetPathToUtilbin` +if [ "$utilbin_dir" = "none" ]; then + echo "can't determine path to Grid Engine utility binaries" + exit 5 # LSB compliant exit status - program is not installed +fi + +qmaster_spool_dir=`QmasterSpoolDir` +qma_run_dir=$qmaster_spool_dir + +HOST=`$utilbin_dir/gethostname -aname` +UQHOST=`$utilbin_dir/gethostname -aname | cut -f1 -d.` +CheckIfShadowMasterHost $HOST + +if [ "$stop" = true ]; then + if [ $shadowd = true -a $shadow_host = true ]; then + echo " Shutting down Grid Engine shadowd" + DetectSMFService shadowd + if [ \( -z "$SMF_FMRI" -o "$SMF_FMRI" != "$service" \) -a -n "$service" ]; then + svcadm disable -st $service + else + # Send SIGTERM to shadowd + if [ -f $qma_run_dir/shadowd_$UQHOST.pid ]; then + Shutdown sge_shadowd $qma_run_dir/shadowd_$UQHOST.pid + elif [ -f $qma_run_dir/shadowd_$HOST.pid ]; then + Shutdown sge_shadowd $qma_run_dir/shadowd_$HOST.pid + fi + fi + fi + + if [ $qmaster = true ]; then + if [ `CheckIfQmasterHost $HOST` = true ]; then + echo " Shutting down Grid Engine qmaster" + DetectSMFService qmaster + if [ \( -z "$SMF_FMRI" -o "$SMF_FMRI" != "$service" \) -a -n "$service" ]; then + svcadm disable -st $service + exit $? + else + # Send SIGTERM to qmaster + Shutdown sge_qmaster $qma_run_dir/qmaster.pid + ret=$? + if [ -f /var/lock/subsys/sgemaster ]; then + uid=`$utilbin_dir/uidgid -uid` + if [ "$uid" = "0" -a "$ret" = "0" ]; then + rm -f /var/lock/subsys/sgemaster >/dev/null 2>&1 + else + echo "Can't shut down qmaster!" + exit 1 + fi + fi + fi + fi + fi +fi + +if [ "$startup" = true ]; then + + # qmaster_host=true if qmaster was running on this host the last time + # this host is an execution host + + qmaster_host=`CheckIfQmasterHost $HOST` + primary_qmaster_host=`CheckIfPrimaryQmasterHost $HOST` + + if [ $qmaster = true -a $qmaster_host = true -a $migrate_qmaster = true ]; then + echo " qmaster running on this host. Will not migrate qmaster." + exit 1 + fi + + if [ $qmaster = true -a $qmaster_host = false -a \ + \( $primary_qmaster_host = true -o $migrate_qmaster = true \) ]; then + actual_qmaster_host=`cat $SGE_ROOT/$SGE_CELL/common/act_qmaster` + echo " Shutting down Grid Engine qmaster on host \"$actual_qmaster_host\" ..." + qconf_output=`$bin_dir/qconf -ks 2>&1 | grep "denied"` + if [ "$qconf_output" != "" ]; then + echo " denied: host \"$HOST\" is not an admin host." + exit 1 + fi + $bin_dir/qconf -km > /dev/null 2>&1 + + qping_count=0 + qping_retries=10 + qping_exit_state=0 + if [ "$SGE_QMASTER_PORT" = "" ]; then + ping_port=`$utilbin_dir/getservbyname -number sge_qmaster` + else + ping_port=$SGE_QMASTER_PORT + fi + while [ $qping_count -lt $qping_retries ]; do + $bin_dir/qping -info $actual_qmaster_host $ping_port qmaster 1 > /dev/null 2>&1 + qping_exit_state=$? + if [ $qping_exit_state -ne 0 ]; then + break + fi + sleep 3 + qping_count=`expr $qping_count + 1` + done + + if [ $qping_exit_state -eq 0 ]; then + # qmaster is still running + echo " qmaster on host $actual_qmaster_host still alive. Cannot migrate qmaster." + exit 1 + fi + + lock_file_read_retries=10 + lock_file_read_count=0 + lock_file_found=0 + while [ $lock_file_read_count -lt $lock_file_read_retries ]; do + if [ -f $qmaster_spool_dir/lock ]; then + lock_file_found=1 + break + fi + sleep 3 + lock_file_read_count=`expr $lock_file_read_count + 1` + done + + if [ $lock_file_found -eq 0 ]; then + # old qmaster did not write lock file + echo " old qmaster did not write lock file. Cannot migrate qmaster." + echo " Please verify that qmaster on host $actual_qmaster_host is down" + echo " and make sure that the lock file in qmaster spool directory is" + echo " read-able." + exit 1 + fi + + qmaster_host=true + #If we use SMF, we need to notify the SMF service + DetectSMFService qmaster + if [ -n "$service" ]; then + svccfg -s $service setenv MIGRATE_SMF_STEP true + if [ $? -ne 0 ]; then + echo "Migration failed!" + echo "It seems you do not have permission to modify the $service SMF service." + exit 1 + else + svcadm refresh $service + fi + fi + fi + + exit_val=0 + + #Need to check if this is a SMF migration + DetectSMFService qmaster + if [ -n "$SMF_FMRI" -a "$SMF_FMRI" = "$service" -a "$MIGRATE_SMF_STEP" = true ]; then + qmaster_host=true + fi + + if [ $qmaster = true -a $qmaster_host = false ]; then + echo + echo "sge_qmaster didn't start!" + echo "This is not a qmaster host!" + echo "Check your ${SGE_ROOT}/${SGE_CELL}/common/act_qmaster file!" + echo + if [ $shadowd = false -o ! -f $SGE_ROOT/$SGE_CELL/common/shadow_masters ]; then + exit 1 + fi + elif [ $qmaster = true ]; then + already_running=false + #Check if pid file exists + if [ -s "$qma_run_dir/qmaster.pid" ]; then + daemon_pid=`cat "$qma_run_dir/qmaster.pid"` + $utilbin_dir/checkprog $daemon_pid sge_qmaster > /dev/null + if [ $? -eq 0 ]; then + already_running=true + fi + fi + # We can't detect pid file race, but we'll catch it most of the time + if [ "$already_running" = "true" ]; then + echo + echo "sge_qmaster with PID $daemon_pid is already running" + echo + else + #We want to use smf + if [ \( -z "$SMF_FMRI" -o "$SMF_FMRI" != "$service" \) -a -n "$service" ]; then + echo " Starting Grid Engine qmaster" + svcadm enable -st $service + exit_val=$? + #For -migrate with SMF qmaster_host is not yet set for SMF start (2nd) + elif [ $qmaster_host = true -o \( -n "$SMF_FMRI" -a "$SMF_FMRI" = "$service" \) ]; then + echo " Starting Grid Engine qmaster" + $bin_dir/sge_qmaster + [ $? -eq 0 -a -d /var/lock/subsys ] && touch /var/lock/subsys/sgemaster >/dev/null 2>&1 + CheckRunningQmaster + exit_val=$? + if [ $exit_val -eq 0 -a -n "$SMF_FMRI" -a "$SMF_FMRI" = "$service" -a "$MIGRATE_SMF_STEP" = true ]; then + svccfg -s $service unsetenv MIGRATE_SMF_STEP + if [ $? -ne 0 ]; then + echo "Warning: SMF migration cleanup step failed!" + echo "It seems you do not have permission to modify the $service SMF service." + echo + echo "Run following commands manually as root or appropriate user:" + echo "svccfg -s $service unsetenv MIGRATE_SMF_STEP" + echo "svcadm refresh $service" + else + svcadm refresh $service + fi + fi + fi + if [ $exit_val -ne 0 ]; then + echo "sge_qmaster didn't start!" + fi + fi + fi + + if [ $shadowd = true -a $shadow_host = false ]; then + #Display the message only if we have installed any shadowds + if [ -f $SGE_ROOT/$SGE_CELL/common/shadow_masters ]; then + echo + echo "sge_shadowd didn't start!" + echo "This is not a shadow master host!" + echo "Check your ${SGE_ROOT}/${SGE_CELL}/common/shadow_masters file!" + echo + elif [ $qmaster = false ]; then + #Shadow masters file does not exist and we try to start only shadowd + echo + echo "sge_shadowd didn't start!" + echo "File ${SGE_ROOT}/${SGE_CELL}/common/shadow_masters does not exist!" + echo "No shadowd installed?" + echo + fi + if [ $qmaster_host = false -o $qmaster = false ]; then + exit 1 + fi + elif [ $shadowd = true ]; then + start_shadowd=true + UQpidfile=$qma_run_dir/shadowd_$UQHOST.pid + pidfile=$qma_run_dir/shadowd_$HOST.pid + + if [ -f $pidfile ]; then + pid=`cat $pidfile` + $utilbin_dir/checkprog $pid sge_shadowd > /dev/null + if [ "$?" = 0 ]; then + start_shadowd=false + fi + fi + + if [ -f $UQpidfile ]; then + pid=`cat $UQpidfile` + $utilbin_dir/checkprog $pid sge_shadowd > /dev/null + if [ "$?" = 0 ]; then + start_shadowd=false + fi + fi + + if [ $start_shadowd = true ]; then + DetectSMFService shadowd + echo " Starting Grid Engine shadowd" + #We want to use smf + if [ \( -z "$SMF_FMRI" -o "$SMF_FMRI" != "$service" \) -a -n "$service" ]; then + svcadm enable -st $service + res=$? + else + $bin_dir/sge_shadowd + res=$? + fi + if [ $res -ne 0 ]; then + echo " sge_shadowd didn't start correctly!" + exit $res + fi + else + echo " found running sge_shadowd - not starting" + fi + fi + + if [ $exit_val -ne 0 ]; then + exit $exit_val + fi +fi + +master_not=0 +shadow_not=0 +if [ "$status" = true ]; then + if [ "$qmaster" = true ]; then + if [ -s "$qma_run_dir/qmaster.pid" ]; then + pid=`cat "$qma_run_dir/qmaster.pid"` + if $utilbin_dir/checkprog $pid sge_qmaster > /dev/null; then + echo "qmaster (pid $pid) is running..." + else + echo "qmaster (pid $pid) is not running..." + master_not=1 + fi + else + echo "qmaster is not running..." + master_not=1 + fi + fi + if [ "$shadowd" = true ]; then + UQpidfile=$qma_run_dir/shadowd_$UQHOST.pid + pidfile=$qma_run_dir/shadowd_$HOST.pid + pid=`` + shadow_running=0 + if [ -s "$UQpidfile" ]; then + pid=`cat $UQpidfile` + if $utilbin_dir/checkprog $pid sge_shadowd > /dev/null; then + shadow_running=1 + fi + fi + if [ -s "$pidfile" ]; then + pid=`cat $pidfile` + if $utilbin_dir/checkprog $pid sge_shadowd > /dev/null; then + shadow_running=1 + fi + fi + if [ -s "$pidfile" ] || [ -s "$UQpidfile" ]; then + if [ $shadow_running = 1 ]; then + echo "shadowd (pid $pid) is running..." + else + echo "shadowd (pid $pid) is not running..." + shadow_not=1 + fi + else + echo "shadowd (pid $pid) is not running..." + shadow_not=1 + fi + fi + # fixme: check LSB values + [ $master_not$shadow_not -gt 0 ] && exit 1 || exit 0 +fi diff --git a/spool/qmaster/admin_hosts/gaia b/spool/qmaster/admin_hosts/gaia new file mode 100644 index 0000000..83a6c9b --- /dev/null +++ b/spool/qmaster/admin_hosts/gaia @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname gaia diff --git a/spool/qmaster/admin_hosts/gridengine b/spool/qmaster/admin_hosts/gridengine new file mode 100644 index 0000000..8f0bcc4 --- /dev/null +++ b/spool/qmaster/admin_hosts/gridengine @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname gridengine diff --git a/spool/qmaster/admin_hosts/minos01 b/spool/qmaster/admin_hosts/minos01 new file mode 100644 index 0000000..805651b --- /dev/null +++ b/spool/qmaster/admin_hosts/minos01 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos01 diff --git a/spool/qmaster/admin_hosts/minos02 b/spool/qmaster/admin_hosts/minos02 new file mode 100644 index 0000000..2e3385e --- /dev/null +++ b/spool/qmaster/admin_hosts/minos02 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos02 diff --git a/spool/qmaster/admin_hosts/minos11 b/spool/qmaster/admin_hosts/minos11 new file mode 100644 index 0000000..4490c79 --- /dev/null +++ b/spool/qmaster/admin_hosts/minos11 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos11 diff --git a/spool/qmaster/admin_hosts/minos12 b/spool/qmaster/admin_hosts/minos12 new file mode 100644 index 0000000..304d019 --- /dev/null +++ b/spool/qmaster/admin_hosts/minos12 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos12 diff --git a/spool/qmaster/admin_hosts/minos13 b/spool/qmaster/admin_hosts/minos13 new file mode 100644 index 0000000..7d5749d --- /dev/null +++ b/spool/qmaster/admin_hosts/minos13 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos13 diff --git a/spool/qmaster/admin_hosts/minos14 b/spool/qmaster/admin_hosts/minos14 new file mode 100644 index 0000000..9af487c --- /dev/null +++ b/spool/qmaster/admin_hosts/minos14 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos14 diff --git a/spool/qmaster/admin_hosts/minos15 b/spool/qmaster/admin_hosts/minos15 new file mode 100644 index 0000000..e84fe1a --- /dev/null +++ b/spool/qmaster/admin_hosts/minos15 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos15 diff --git a/spool/qmaster/admin_hosts/minos16 b/spool/qmaster/admin_hosts/minos16 new file mode 100644 index 0000000..bb23268 --- /dev/null +++ b/spool/qmaster/admin_hosts/minos16 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos16 diff --git a/spool/qmaster/admin_hosts/minos27 b/spool/qmaster/admin_hosts/minos27 new file mode 100644 index 0000000..38bd4cd --- /dev/null +++ b/spool/qmaster/admin_hosts/minos27 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos27 diff --git a/spool/qmaster/centry/abaqus b/spool/qmaster/centry/abaqus new file mode 100644 index 0000000..e720887 --- /dev/null +++ b/spool/qmaster/centry/abaqus @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name abaqus +shortcut abq +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/arch b/spool/qmaster/centry/arch new file mode 100644 index 0000000..8a20928 --- /dev/null +++ b/spool/qmaster/centry/arch @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name arch +shortcut a +type RESTRING +relop == +requestable YES +consumable NO +default NONE +urgency 0 diff --git a/spool/qmaster/centry/cae b/spool/qmaster/centry/cae new file mode 100644 index 0000000..888e874 --- /dev/null +++ b/spool/qmaster/centry/cae @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name cae +shortcut cae +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 10000 diff --git a/spool/qmaster/centry/calendar b/spool/qmaster/centry/calendar new file mode 100644 index 0000000..1000282 --- /dev/null +++ b/spool/qmaster/centry/calendar @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name calendar +shortcut c +type RESTRING +relop == +requestable YES +consumable NO +default NONE +urgency 0 diff --git a/spool/qmaster/centry/comsol b/spool/qmaster/centry/comsol new file mode 100644 index 0000000..7d16f07 --- /dev/null +++ b/spool/qmaster/centry/comsol @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name comsol +shortcut comsol +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/cpu b/spool/qmaster/centry/cpu new file mode 100644 index 0000000..7a51b07 --- /dev/null +++ b/spool/qmaster/centry/cpu @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name cpu +shortcut cpu +type DOUBLE +relop >= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/display_win_gui b/spool/qmaster/centry/display_win_gui new file mode 100644 index 0000000..5078a0b --- /dev/null +++ b/spool/qmaster/centry/display_win_gui @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name display_win_gui +shortcut dwg +type BOOL +relop == +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/exclusive b/spool/qmaster/centry/exclusive new file mode 100644 index 0000000..f89b421 --- /dev/null +++ b/spool/qmaster/centry/exclusive @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name exclusive +shortcut excl +type BOOL +relop EXCL +requestable YES +consumable JOB +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/gpu b/spool/qmaster/centry/gpu new file mode 100644 index 0000000..1261792 --- /dev/null +++ b/spool/qmaster/centry/gpu @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name gpu +shortcut gpu +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 100000 diff --git a/spool/qmaster/centry/h_core b/spool/qmaster/centry/h_core new file mode 100644 index 0000000..768b488 --- /dev/null +++ b/spool/qmaster/centry/h_core @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name h_core +shortcut h_core +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/h_cpu b/spool/qmaster/centry/h_cpu new file mode 100644 index 0000000..1ac418d --- /dev/null +++ b/spool/qmaster/centry/h_cpu @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name h_cpu +shortcut h_cpu +type TIME +relop <= +requestable YES +consumable NO +default 0:0:0 +urgency 0 diff --git a/spool/qmaster/centry/h_data b/spool/qmaster/centry/h_data new file mode 100644 index 0000000..77b4c8f --- /dev/null +++ b/spool/qmaster/centry/h_data @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name h_data +shortcut h_data +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/h_fsize b/spool/qmaster/centry/h_fsize new file mode 100644 index 0000000..d7be0cd --- /dev/null +++ b/spool/qmaster/centry/h_fsize @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name h_fsize +shortcut h_fsize +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/h_rss b/spool/qmaster/centry/h_rss new file mode 100644 index 0000000..9812f37 --- /dev/null +++ b/spool/qmaster/centry/h_rss @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name h_rss +shortcut h_rss +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/h_rt b/spool/qmaster/centry/h_rt new file mode 100644 index 0000000..447ff1b --- /dev/null +++ b/spool/qmaster/centry/h_rt @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name h_rt +shortcut h_rt +type TIME +relop <= +requestable YES +consumable NO +default 0:0:0 +urgency 0 diff --git a/spool/qmaster/centry/h_stack b/spool/qmaster/centry/h_stack new file mode 100644 index 0000000..b891970 --- /dev/null +++ b/spool/qmaster/centry/h_stack @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name h_stack +shortcut h_stack +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/h_vmem b/spool/qmaster/centry/h_vmem new file mode 100644 index 0000000..12b7edc --- /dev/null +++ b/spool/qmaster/centry/h_vmem @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name h_vmem +shortcut h_vmem +type MEMORY +relop <= +requestable YES +consumable YES +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/hostname b/spool/qmaster/centry/hostname new file mode 100644 index 0000000..16b19c8 --- /dev/null +++ b/spool/qmaster/centry/hostname @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name hostname +shortcut h +type HOST +relop == +requestable YES +consumable NO +default NONE +urgency -10 diff --git a/spool/qmaster/centry/hyper b/spool/qmaster/centry/hyper new file mode 100644 index 0000000..14ab50d --- /dev/null +++ b/spool/qmaster/centry/hyper @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name hyper +shortcut hyper +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 0 diff --git a/spool/qmaster/centry/identification_toolbox b/spool/qmaster/centry/identification_toolbox new file mode 100644 index 0000000..2e81fdc --- /dev/null +++ b/spool/qmaster/centry/identification_toolbox @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name identification_toolbox +shortcut ident_tbx +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 100 diff --git a/spool/qmaster/centry/ifort b/spool/qmaster/centry/ifort new file mode 100644 index 0000000..67b8f95 --- /dev/null +++ b/spool/qmaster/centry/ifort @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name ifort +shortcut ifort +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/iidle b/spool/qmaster/centry/iidle new file mode 100644 index 0000000..8238cdd --- /dev/null +++ b/spool/qmaster/centry/iidle @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name iidle +shortcut iidle +type INT +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/infiniband b/spool/qmaster/centry/infiniband new file mode 100644 index 0000000..fc3c11d --- /dev/null +++ b/spool/qmaster/centry/infiniband @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name infiniband +shortcut ib +type BOOL +relop == +requestable YES +consumable NO +default 0 +urgency 20000 diff --git a/spool/qmaster/centry/load_avg b/spool/qmaster/centry/load_avg new file mode 100644 index 0000000..86a3052 --- /dev/null +++ b/spool/qmaster/centry/load_avg @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name load_avg +shortcut la +type DOUBLE +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/load_long b/spool/qmaster/centry/load_long new file mode 100644 index 0000000..685ef56 --- /dev/null +++ b/spool/qmaster/centry/load_long @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name load_long +shortcut ll +type DOUBLE +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/load_medium b/spool/qmaster/centry/load_medium new file mode 100644 index 0000000..87cc5df --- /dev/null +++ b/spool/qmaster/centry/load_medium @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name load_medium +shortcut lm +type DOUBLE +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/load_short b/spool/qmaster/centry/load_short new file mode 100644 index 0000000..f552e27 --- /dev/null +++ b/spool/qmaster/centry/load_short @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name load_short +shortcut ls +type DOUBLE +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/low b/spool/qmaster/centry/low new file mode 100644 index 0000000..36f2592 --- /dev/null +++ b/spool/qmaster/centry/low @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name low +shortcut lo +type BOOL +relop == +requestable FORCED +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/m_core b/spool/qmaster/centry/m_core new file mode 100644 index 0000000..099fb3b --- /dev/null +++ b/spool/qmaster/centry/m_core @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name m_core +shortcut core +type INT +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/m_socket b/spool/qmaster/centry/m_socket new file mode 100644 index 0000000..4dbc1fd --- /dev/null +++ b/spool/qmaster/centry/m_socket @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name m_socket +shortcut socket +type INT +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/m_thread b/spool/qmaster/centry/m_thread new file mode 100644 index 0000000..502abb3 --- /dev/null +++ b/spool/qmaster/centry/m_thread @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name m_thread +shortcut thread +type INT +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/m_topology b/spool/qmaster/centry/m_topology new file mode 100644 index 0000000..34842bc --- /dev/null +++ b/spool/qmaster/centry/m_topology @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name m_topology +shortcut topo +type RESTRING +relop == +requestable YES +consumable NO +default NONE +urgency 0 diff --git a/spool/qmaster/centry/m_topology_inuse b/spool/qmaster/centry/m_topology_inuse new file mode 100644 index 0000000..06b3501 --- /dev/null +++ b/spool/qmaster/centry/m_topology_inuse @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name m_topology_inuse +shortcut utopo +type RESTRING +relop == +requestable YES +consumable NO +default NONE +urgency 0 diff --git a/spool/qmaster/centry/matlab b/spool/qmaster/centry/matlab new file mode 100644 index 0000000..d0fe3fc --- /dev/null +++ b/spool/qmaster/centry/matlab @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name matlab +shortcut matlab +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/mcc b/spool/qmaster/centry/mcc new file mode 100644 index 0000000..dba9aec --- /dev/null +++ b/spool/qmaster/centry/mcc @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name mcc +shortcut mcc +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/mem_free b/spool/qmaster/centry/mem_free new file mode 100644 index 0000000..9ae44a4 --- /dev/null +++ b/spool/qmaster/centry/mem_free @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name mem_free +shortcut mf +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/mem_total b/spool/qmaster/centry/mem_total new file mode 100644 index 0000000..5f4f42c --- /dev/null +++ b/spool/qmaster/centry/mem_total @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name mem_total +shortcut mt +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/mem_used b/spool/qmaster/centry/mem_used new file mode 100644 index 0000000..3f149a3 --- /dev/null +++ b/spool/qmaster/centry/mem_used @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name mem_used +shortcut mu +type MEMORY +relop >= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/memory b/spool/qmaster/centry/memory new file mode 100644 index 0000000..b1f7e90 --- /dev/null +++ b/spool/qmaster/centry/memory @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name memory +shortcut mem +type MEMORY +relop <= +requestable YES +consumable YES +default 512M +urgency 10000 diff --git a/spool/qmaster/centry/min_cpu_interval b/spool/qmaster/centry/min_cpu_interval new file mode 100644 index 0000000..b41b31a --- /dev/null +++ b/spool/qmaster/centry/min_cpu_interval @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name min_cpu_interval +shortcut mci +type TIME +relop <= +requestable NO +consumable NO +default 0:0:0 +urgency 0 diff --git a/spool/qmaster/centry/mips b/spool/qmaster/centry/mips new file mode 100644 index 0000000..2e0c8eb --- /dev/null +++ b/spool/qmaster/centry/mips @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name mips +shortcut mips +type INT +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/np_load_avg b/spool/qmaster/centry/np_load_avg new file mode 100644 index 0000000..5fc218d --- /dev/null +++ b/spool/qmaster/centry/np_load_avg @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name np_load_avg +shortcut nla +type DOUBLE +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/np_load_long b/spool/qmaster/centry/np_load_long new file mode 100644 index 0000000..95321c1 --- /dev/null +++ b/spool/qmaster/centry/np_load_long @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name np_load_long +shortcut nll +type DOUBLE +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/np_load_medium b/spool/qmaster/centry/np_load_medium new file mode 100644 index 0000000..0a7f30c --- /dev/null +++ b/spool/qmaster/centry/np_load_medium @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name np_load_medium +shortcut nlm +type DOUBLE +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/np_load_short b/spool/qmaster/centry/np_load_short new file mode 100644 index 0000000..859f6f2 --- /dev/null +++ b/spool/qmaster/centry/np_load_short @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name np_load_short +shortcut nls +type DOUBLE +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/num_proc b/spool/qmaster/centry/num_proc new file mode 100644 index 0000000..9d7b818 --- /dev/null +++ b/spool/qmaster/centry/num_proc @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name num_proc +shortcut p +type INT +relop == +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/optimization_toolbox b/spool/qmaster/centry/optimization_toolbox new file mode 100644 index 0000000..b4f1a3b --- /dev/null +++ b/spool/qmaster/centry/optimization_toolbox @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name optimization_toolbox +shortcut opt_tbx +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 100 diff --git a/spool/qmaster/centry/os b/spool/qmaster/centry/os new file mode 100644 index 0000000..c18dc05 --- /dev/null +++ b/spool/qmaster/centry/os @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name os +shortcut os +type RESTRING +relop == +requestable YES +consumable NO +default NONE +urgency 100 diff --git a/spool/qmaster/centry/parallel_toolbox b/spool/qmaster/centry/parallel_toolbox new file mode 100644 index 0000000..65acc87 --- /dev/null +++ b/spool/qmaster/centry/parallel_toolbox @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name parallel_toolbox +shortcut par_tbx +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 100 diff --git a/spool/qmaster/centry/qname b/spool/qmaster/centry/qname new file mode 100644 index 0000000..c35d271 --- /dev/null +++ b/spool/qmaster/centry/qname @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name qname +shortcut q +type RESTRING +relop == +requestable YES +consumable NO +default NONE +urgency 0 diff --git a/spool/qmaster/centry/rerun b/spool/qmaster/centry/rerun new file mode 100644 index 0000000..cd7737c --- /dev/null +++ b/spool/qmaster/centry/rerun @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name rerun +shortcut re +type BOOL +relop == +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/s_core b/spool/qmaster/centry/s_core new file mode 100644 index 0000000..613cad0 --- /dev/null +++ b/spool/qmaster/centry/s_core @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name s_core +shortcut s_core +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/s_cpu b/spool/qmaster/centry/s_cpu new file mode 100644 index 0000000..b8e95d1 --- /dev/null +++ b/spool/qmaster/centry/s_cpu @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name s_cpu +shortcut s_cpu +type TIME +relop <= +requestable YES +consumable NO +default 0:0:0 +urgency 0 diff --git a/spool/qmaster/centry/s_data b/spool/qmaster/centry/s_data new file mode 100644 index 0000000..91eaa77 --- /dev/null +++ b/spool/qmaster/centry/s_data @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name s_data +shortcut s_data +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/s_fsize b/spool/qmaster/centry/s_fsize new file mode 100644 index 0000000..a336802 --- /dev/null +++ b/spool/qmaster/centry/s_fsize @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name s_fsize +shortcut s_fsize +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/s_rss b/spool/qmaster/centry/s_rss new file mode 100644 index 0000000..29a7b2a --- /dev/null +++ b/spool/qmaster/centry/s_rss @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name s_rss +shortcut s_rss +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/s_rt b/spool/qmaster/centry/s_rt new file mode 100644 index 0000000..718ce0a --- /dev/null +++ b/spool/qmaster/centry/s_rt @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name s_rt +shortcut s_rt +type TIME +relop <= +requestable YES +consumable NO +default 0:0:0 +urgency 0 diff --git a/spool/qmaster/centry/s_stack b/spool/qmaster/centry/s_stack new file mode 100644 index 0000000..e42c7d9 --- /dev/null +++ b/spool/qmaster/centry/s_stack @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name s_stack +shortcut s_stack +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/s_vmem b/spool/qmaster/centry/s_vmem new file mode 100644 index 0000000..9e49fd5 --- /dev/null +++ b/spool/qmaster/centry/s_vmem @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name s_vmem +shortcut s_vmem +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/scratch_free b/spool/qmaster/centry/scratch_free new file mode 100644 index 0000000..d7d58cd --- /dev/null +++ b/spool/qmaster/centry/scratch_free @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name scratch_free +shortcut scf +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/scratch_total b/spool/qmaster/centry/scratch_total new file mode 100644 index 0000000..730d464 --- /dev/null +++ b/spool/qmaster/centry/scratch_total @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name scratch_total +shortcut sct +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/scratch_used b/spool/qmaster/centry/scratch_used new file mode 100644 index 0000000..43984ae --- /dev/null +++ b/spool/qmaster/centry/scratch_used @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name scratch_used +shortcut scu +type MEMORY +relop >= +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/seq_no b/spool/qmaster/centry/seq_no new file mode 100644 index 0000000..0319e90 --- /dev/null +++ b/spool/qmaster/centry/seq_no @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name seq_no +shortcut seq +type INT +relop == +requestable NO +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/signal_toolbox b/spool/qmaster/centry/signal_toolbox new file mode 100644 index 0000000..e50c038 --- /dev/null +++ b/spool/qmaster/centry/signal_toolbox @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name signal_toolbox +shortcut sig_tbx +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 100 diff --git a/spool/qmaster/centry/slots b/spool/qmaster/centry/slots new file mode 100644 index 0000000..a9eb4a6 --- /dev/null +++ b/spool/qmaster/centry/slots @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name slots +shortcut s +type INT +relop <= +requestable YES +consumable YES +default 1 +urgency 500000 diff --git a/spool/qmaster/centry/swap_free b/spool/qmaster/centry/swap_free new file mode 100644 index 0000000..4843d9b --- /dev/null +++ b/spool/qmaster/centry/swap_free @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name swap_free +shortcut sf +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/swap_rate b/spool/qmaster/centry/swap_rate new file mode 100644 index 0000000..7b195a8 --- /dev/null +++ b/spool/qmaster/centry/swap_rate @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name swap_rate +shortcut sr +type MEMORY +relop >= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/swap_rsvd b/spool/qmaster/centry/swap_rsvd new file mode 100644 index 0000000..44eff2b --- /dev/null +++ b/spool/qmaster/centry/swap_rsvd @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name swap_rsvd +shortcut srsv +type MEMORY +relop >= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/swap_total b/spool/qmaster/centry/swap_total new file mode 100644 index 0000000..fd14c07 --- /dev/null +++ b/spool/qmaster/centry/swap_total @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name swap_total +shortcut st +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/swap_used b/spool/qmaster/centry/swap_used new file mode 100644 index 0000000..db53067 --- /dev/null +++ b/spool/qmaster/centry/swap_used @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name swap_used +shortcut su +type MEMORY +relop >= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/symbolic_toolbox b/spool/qmaster/centry/symbolic_toolbox new file mode 100644 index 0000000..92e2960 --- /dev/null +++ b/spool/qmaster/centry/symbolic_toolbox @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name symbolic_toolbox +shortcut symb_tbx +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 100 diff --git a/spool/qmaster/centry/tmpdir b/spool/qmaster/centry/tmpdir new file mode 100644 index 0000000..3f68c54 --- /dev/null +++ b/spool/qmaster/centry/tmpdir @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name tmpdir +shortcut tmp +type RESTRING +relop == +requestable NO +consumable NO +default NONE +urgency 0 diff --git a/spool/qmaster/centry/trelis b/spool/qmaster/centry/trelis new file mode 100644 index 0000000..d771bcd --- /dev/null +++ b/spool/qmaster/centry/trelis @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name trelis +shortcut trelis +type INT +relop <= +requestable YES +consumable JOB +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/virtual_free b/spool/qmaster/centry/virtual_free new file mode 100644 index 0000000..c848042 --- /dev/null +++ b/spool/qmaster/centry/virtual_free @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name virtual_free +shortcut vf +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 1000 diff --git a/spool/qmaster/centry/virtual_total b/spool/qmaster/centry/virtual_total new file mode 100644 index 0000000..0e832a0 --- /dev/null +++ b/spool/qmaster/centry/virtual_total @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name virtual_total +shortcut vt +type MEMORY +relop <= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/centry/virtual_used b/spool/qmaster/centry/virtual_used new file mode 100644 index 0000000..2620a66 --- /dev/null +++ b/spool/qmaster/centry/virtual_used @@ -0,0 +1,12 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name virtual_used +shortcut vu +type MEMORY +relop >= +requestable YES +consumable NO +default 0 +urgency 0 diff --git a/spool/qmaster/cqueues/low.q b/spool/qmaster/cqueues/low.q new file mode 100644 index 0000000..0ca094e --- /dev/null +++ b/spool/qmaster/cqueues/low.q @@ -0,0 +1,54 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostlist @allhosts +seq_no 199,[@core_48=160],[@core_80=170],[minos15.geophysik.ruhr-uni-bochum.de=180],[gaia.geophysik.ruhr-uni-bochum.de=181] +load_thresholds np_load_avg=1.05 +suspend_thresholds np_load_avg=1.1 +nsuspend 1 +suspend_interval 00:05:00 +priority 10 +min_cpu_interval 00:05:00 +processors 1,[@core_48=48],[@core_80=80],[minos15.geophysik.ruhr-uni-bochum.de=128] +qtype BATCH +ckpt_list NONE +pe_list mpi mpi-fu mpi-pe mpi-rr smp +rerun TRUE +slots 1,[@core_80=80],[@core_48=48],[minos15.geophysik.ruhr-uni-bochum.de=128] +tmpdir /scratch,[minos15.geophysik.ruhr-uni-bochum.de=/tmp] +shell /bin/bash,[minos15.geophysik.ruhr-uni-bochum.de=/usr/bin/bash] +prolog root@/data/gridengine/local/bin/prolog +epilog root@/data/gridengine/local/bin/epilog +shell_start_mode posix_compliant +starter_method NONE +suspend_method /data/gridengine/local/bin/suspend.sh $job_pid $job_id $job_owner +resume_method NONE +terminate_method /data/gridengine/local/bin/term.sh $job_pid $job_id $job_owner 90 +notify 00:00:60 +owner_list NONE +user_lists NONE +xuser_lists NONE +subordinate_list NONE +complex_values low=1 +projects NONE +xprojects NONE +calendar NONE +initial_state default +s_rt INFINITY +h_rt INFINITY +s_cpu INFINITY +h_cpu INFINITY +s_fsize INFINITY +h_fsize INFINITY +s_data INFINITY +h_data INFINITY +s_stack INFINITY +h_stack INFINITY +s_core INFINITY +h_core 0 +s_rss INFINITY +h_rss INFINITY +s_vmem INFINITY +h_vmem 3G,[@mem_96G=94G],[@mem_256G=250G],[minos15.geophysik.ruhr-uni-bochum.de=500G],[gaia.geophysik.ruhr-uni-bochum.de=1000G] diff --git a/spool/qmaster/cqueues/normal.q b/spool/qmaster/cqueues/normal.q new file mode 100644 index 0000000..8e9538d --- /dev/null +++ b/spool/qmaster/cqueues/normal.q @@ -0,0 +1,54 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostlist @allhosts +seq_no 99,[@core_80=110],[minos15.geophysik.ruhr-uni-bochum.de=120],[gaia.geophysik.ruhr-uni-bochum.de=121] +load_thresholds np_load_avg=1.25 +suspend_thresholds NONE +nsuspend 1 +suspend_interval 00:05:00 +priority 0 +min_cpu_interval 00:05:00 +processors 1,[@core_48=48],[@core_80=80],[minos15.geophysik.ruhr-uni-bochum.de=128] +qtype BATCH INTERACTIVE +ckpt_list NONE +pe_list mpi smp +rerun FALSE +slots 4 +tmpdir /scratch +shell /bin/bash,[minos15.geophysik.ruhr-uni-bochum.de=/usr/bin/bash] +prolog root@/data/gridengine/local/bin/prolog +epilog root@/data/gridengine/local/bin/epilog +shell_start_mode posix_compliant +starter_method NONE +suspend_method /data/gridengine/local/bin/suspend.sh $job_pid $job_id $job_owner +resume_method NONE +terminate_method /data/gridengine/local/bin/term.sh $job_pid $job_id $job_owner 90 +notify 00:00:60 +owner_list NONE +user_lists NONE +xuser_lists NONE +subordinate_list NONE +complex_values NONE +projects NONE +xprojects NONE +calendar NONE +initial_state default +s_rt INFINITY +h_rt 36000 +s_cpu INFINITY +h_cpu INFINITY +s_fsize INFINITY +h_fsize INFINITY +s_data INFINITY +h_data INFINITY +s_stack INFINITY +h_stack INFINITY +s_core INFINITY +h_core 0 +s_rss INFINITY +h_rss INFINITY +s_vmem INFINITY +h_vmem 3G,[@mem_96G=94G],[@mem_256G=250G],[minos15.geophysik.ruhr-uni-bochum.de=500G],[gaia.geophysik.ruhr-uni-bochum.de=1000G] diff --git a/spool/qmaster/exec_hosts/gaia.geophysik.ruhr-uni-bochum.de b/spool/qmaster/exec_hosts/gaia.geophysik.ruhr-uni-bochum.de new file mode 100644 index 0000000..44bbe98 --- /dev/null +++ b/spool/qmaster/exec_hosts/gaia.geophysik.ruhr-uni-bochum.de @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname gaia.geophysik.ruhr-uni-bochum.de +load_scaling NONE +complex_values memory=1000G,h_vmem=1000G,exclusive=TRUE,infiniband=TRUE,gpu=2,scratch_free=500G +load_values arch=lx-amd64,num_proc=48,mem_total=1019453.914062M,swap_total=244139.996094M,virtual_total=1263593.910156M,m_topology=SCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTT,m_socket=1,m_core=24,m_thread=48 +processors 48 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/global b/spool/qmaster/exec_hosts/global new file mode 100644 index 0000000..21dfbee --- /dev/null +++ b/spool/qmaster/exec_hosts/global @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname global +load_scaling NONE +complex_values trelis=4,abaqus=0,cae=0,matlab=100,mcc=100,comsol=1 +load_values NONE +processors 0 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/minos11.geophysik.ruhr-uni-bochum.de b/spool/qmaster/exec_hosts/minos11.geophysik.ruhr-uni-bochum.de new file mode 100644 index 0000000..9e5938f --- /dev/null +++ b/spool/qmaster/exec_hosts/minos11.geophysik.ruhr-uni-bochum.de @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos11.geophysik.ruhr-uni-bochum.de +load_scaling NONE +complex_values memory=251.8G,h_vmem=251.8G,exclusive=TRUE,infiniband=TRUE +load_values arch=lx-amd64,num_proc=80,mem_total=257805.191406M,swap_total=244139.996094M,virtual_total=501945.187500M,m_topology=SCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTSCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTT,m_socket=2,m_core=40,m_thread=80,load_avg=0.000000,load_short=0.000000,load_medium=0.000000,load_long=0.000000,mem_free=252843.167969M,swap_free=243985.746094M,virtual_free=496828.914062M,mem_used=4962.023438M,swap_used=154.250000M,virtual_used=5116.273438M,cpu=1.100000,m_topology_inuse=SCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTSCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTT,os=Debian_11_bullseye,scratch_total=3600278948K,scratch_used=261731144K,scratch_free=3338547804K,mips=4401.92,iidle=0,np_load_avg=0.000000,np_load_short=0.000000,np_load_medium=0.000000,np_load_long=0.000000 +processors 80 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/minos12.geophysik.ruhr-uni-bochum.de b/spool/qmaster/exec_hosts/minos12.geophysik.ruhr-uni-bochum.de new file mode 100644 index 0000000..c5006db --- /dev/null +++ b/spool/qmaster/exec_hosts/minos12.geophysik.ruhr-uni-bochum.de @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos12.geophysik.ruhr-uni-bochum.de +load_scaling NONE +complex_values memory=251.8G,h_vmem=251.8G,exclusive=TRUE,infiniband=TRUE +load_values arch=lx-amd64,num_proc=80,mem_total=257813.363281M,swap_total=244140.996094M,virtual_total=501954.359375M,m_topology=SCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTSCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTT,m_socket=2,m_core=40,m_thread=80 +processors 80 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/minos13.geophysik.ruhr-uni-bochum.de b/spool/qmaster/exec_hosts/minos13.geophysik.ruhr-uni-bochum.de new file mode 100644 index 0000000..72a0c63 --- /dev/null +++ b/spool/qmaster/exec_hosts/minos13.geophysik.ruhr-uni-bochum.de @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos13.geophysik.ruhr-uni-bochum.de +load_scaling NONE +complex_values memory=251.8G,h_vmem=251.8G,exclusive=TRUE,infiniband=TRUE +load_values arch=lx-amd64,num_proc=80,mem_total=257837.222656M,swap_total=244139.996094M,virtual_total=501977.218750M,m_topology=SCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTSCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTT,m_socket=2,m_core=40,m_thread=80 +processors 80 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/minos14.geophysik.ruhr-uni-bochum.de b/spool/qmaster/exec_hosts/minos14.geophysik.ruhr-uni-bochum.de new file mode 100644 index 0000000..58d8d95 --- /dev/null +++ b/spool/qmaster/exec_hosts/minos14.geophysik.ruhr-uni-bochum.de @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos14.geophysik.ruhr-uni-bochum.de +load_scaling NONE +complex_values memory=251.8G,h_vmem=251.8G,exclusive=TRUE,infiniband=TRUE +load_values arch=lx-amd64,num_proc=80,mem_total=257837.218750M,swap_total=244139.996094M,virtual_total=501977.214844M,m_topology=SCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTSCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTT,m_socket=2,m_core=40,m_thread=80 +processors 80 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/minos15.geophysik.ruhr-uni-bochum.de b/spool/qmaster/exec_hosts/minos15.geophysik.ruhr-uni-bochum.de new file mode 100644 index 0000000..4cd9196 --- /dev/null +++ b/spool/qmaster/exec_hosts/minos15.geophysik.ruhr-uni-bochum.de @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos15.geophysik.ruhr-uni-bochum.de +load_scaling NONE +complex_values memory=500G,h_vmem=500G,exclusive=TRUE,infiniband=TRUE,gpu=4,scratch_free=15T +load_values arch=lx-amd64,num_proc=128,mem_total=515620.550781M,swap_total=953671.996094M,virtual_total=1469292.546875M,m_topology=SCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTTCTT,m_socket=1,m_core=64,m_thread=128 +processors 128 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/minos26.geophysik.ruhr-uni-bochum.de b/spool/qmaster/exec_hosts/minos26.geophysik.ruhr-uni-bochum.de new file mode 100644 index 0000000..58ae3ad --- /dev/null +++ b/spool/qmaster/exec_hosts/minos26.geophysik.ruhr-uni-bochum.de @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos26.geophysik.ruhr-uni-bochum.de +load_scaling NONE +complex_values memory=94.6G,h_vmem=94.6G,exclusive=TRUE +load_values arch=lx-amd64,num_proc=48,mem_total=96638.382812M,swap_total=30515.996094M,virtual_total=127154.378906M,m_topology=SCCCCCCCCCCCCSCCCCCCCCCCCCSCCCCCCCCCCCCSCCCCCCCCCCCC,m_socket=4,m_core=48,m_thread=48 +processors 48 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/minos27 b/spool/qmaster/exec_hosts/minos27 new file mode 100644 index 0000000..3da92a4 --- /dev/null +++ b/spool/qmaster/exec_hosts/minos27 @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos27 +load_scaling NONE +complex_values memory=94.6G,h_vmem=94.6G,exclusive=TRUE +load_values arch=lx-amd64,num_proc=48,mem_total=96638.382812M,swap_total=28607.996094M,virtual_total=125246.378906M,m_topology=SCCCCCCCCCCCCSCCCCCCCCCCCCSCCCCCCCCCCCCSCCCCCCCCCCCC,m_socket=4,m_core=48,m_thread=48 +processors 48 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/exec_hosts/template b/spool/qmaster/exec_hosts/template new file mode 100644 index 0000000..b59458d --- /dev/null +++ b/spool/qmaster/exec_hosts/template @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname template +load_scaling NONE +complex_values NONE +load_values NONE +processors 0 +reschedule_unknown_list NONE +user_lists NONE +xuser_lists NONE +projects NONE +xprojects NONE +usage_scaling NONE +report_variables NONE diff --git a/spool/qmaster/hostgroups/@allhosts b/spool/qmaster/hostgroups/@allhosts new file mode 100644 index 0000000..049832e --- /dev/null +++ b/spool/qmaster/hostgroups/@allhosts @@ -0,0 +1,6 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +group_name @allhosts +hostlist minos11 minos12 minos13 minos14 minos15 minos26 minos27 gaia diff --git a/spool/qmaster/hostgroups/@core_48 b/spool/qmaster/hostgroups/@core_48 new file mode 100644 index 0000000..6c2d4f2 --- /dev/null +++ b/spool/qmaster/hostgroups/@core_48 @@ -0,0 +1,6 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +group_name @core_48 +hostlist gaia minos26 minos27 diff --git a/spool/qmaster/hostgroups/@core_80 b/spool/qmaster/hostgroups/@core_80 new file mode 100644 index 0000000..fe7bbb2 --- /dev/null +++ b/spool/qmaster/hostgroups/@core_80 @@ -0,0 +1,6 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +group_name @core_80 +hostlist minos11 minos12 minos13 minos14 diff --git a/spool/qmaster/hostgroups/@mem_256G b/spool/qmaster/hostgroups/@mem_256G new file mode 100644 index 0000000..4a66f1d --- /dev/null +++ b/spool/qmaster/hostgroups/@mem_256G @@ -0,0 +1,6 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +group_name @mem_256G +hostlist minos11 minos12 minos13 minos14 diff --git a/spool/qmaster/hostgroups/@mem_96G b/spool/qmaster/hostgroups/@mem_96G new file mode 100644 index 0000000..8a1b784 --- /dev/null +++ b/spool/qmaster/hostgroups/@mem_96G @@ -0,0 +1,6 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +group_name @mem_96G +hostlist minos26 minos27 diff --git a/spool/qmaster/managers b/spool/qmaster/managers new file mode 100644 index 0000000..33304c9 --- /dev/null +++ b/spool/qmaster/managers @@ -0,0 +1,7 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +root +sgeadmin +kasper diff --git a/spool/qmaster/operators b/spool/qmaster/operators new file mode 100644 index 0000000..9b4b9c3 --- /dev/null +++ b/spool/qmaster/operators @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +sgeadmin diff --git a/spool/qmaster/pe/mpi b/spool/qmaster/pe/mpi new file mode 100644 index 0000000..8000cd3 --- /dev/null +++ b/spool/qmaster/pe/mpi @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +pe_name mpi +slots 99999 +user_lists NONE +xuser_lists NONE +start_proc_args root@/data/gridengine/local/bin/pe_prolog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +stop_proc_args root@/data/gridengine/local/bin/pe_epilog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +allocation_rule $fill_up +control_slaves TRUE +job_is_first_task TRUE +urgency_slots min +accounting_summary FALSE +qsort_args NONE diff --git a/spool/qmaster/pe/mpi-fu b/spool/qmaster/pe/mpi-fu new file mode 100644 index 0000000..e03d324 --- /dev/null +++ b/spool/qmaster/pe/mpi-fu @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +pe_name mpi-fu +slots 99999 +user_lists NONE +xuser_lists NONE +start_proc_args root@/data/gridengine/local/bin/pe_prolog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +stop_proc_args root@/data/gridengine/local/bin/pe_epilog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +allocation_rule $fill_up +control_slaves TRUE +job_is_first_task TRUE +urgency_slots min +accounting_summary FALSE +qsort_args NONE diff --git a/spool/qmaster/pe/mpi-pe b/spool/qmaster/pe/mpi-pe new file mode 100644 index 0000000..7bd0ae8 --- /dev/null +++ b/spool/qmaster/pe/mpi-pe @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +pe_name mpi-pe +slots 99999 +user_lists NONE +xuser_lists NONE +start_proc_args root@/data/gridengine/local/bin/pe_prolog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +stop_proc_args root@/data/gridengine/local/bin/pe_epilog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +allocation_rule $pe_slots +control_slaves TRUE +job_is_first_task TRUE +urgency_slots min +accounting_summary FALSE +qsort_args NONE diff --git a/spool/qmaster/pe/mpi-rr b/spool/qmaster/pe/mpi-rr new file mode 100644 index 0000000..ad05222 --- /dev/null +++ b/spool/qmaster/pe/mpi-rr @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +pe_name mpi-rr +slots 99999 +user_lists NONE +xuser_lists NONE +start_proc_args root@/data/gridengine/local/bin/pe_prolog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +stop_proc_args root@/data/gridengine/local/bin/pe_epilog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +allocation_rule $round_robin +control_slaves TRUE +job_is_first_task TRUE +urgency_slots min +accounting_summary FALSE +qsort_args NONE diff --git a/spool/qmaster/pe/smp b/spool/qmaster/pe/smp new file mode 100644 index 0000000..9763d2b --- /dev/null +++ b/spool/qmaster/pe/smp @@ -0,0 +1,16 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +pe_name smp +slots 999 +user_lists NONE +xuser_lists NONE +start_proc_args root@/data/gridengine/local/bin/pe_prolog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +stop_proc_args root@/data/gridengine/local/bin/pe_epilog $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr +allocation_rule $pe_slots +control_slaves TRUE +job_is_first_task TRUE +urgency_slots min +accounting_summary TRUE +qsort_args NONE diff --git a/spool/qmaster/qinstances/low.q/gaia b/spool/qmaster/qinstances/low.q/gaia new file mode 100644 index 0000000..2cbbf80 --- /dev/null +++ b/spool/qmaster/qinstances/low.q/gaia @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostname gaia +state 0 +pending_signal 0 +pending_signal_del 0 +version 15 diff --git a/spool/qmaster/qinstances/low.q/minos11 b/spool/qmaster/qinstances/low.q/minos11 new file mode 100644 index 0000000..dbe7fa3 --- /dev/null +++ b/spool/qmaster/qinstances/low.q/minos11 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostname minos11 +state 0 +pending_signal 0 +pending_signal_del 0 +version 67 diff --git a/spool/qmaster/qinstances/low.q/minos12 b/spool/qmaster/qinstances/low.q/minos12 new file mode 100644 index 0000000..016f714 --- /dev/null +++ b/spool/qmaster/qinstances/low.q/minos12 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostname minos12 +state 0 +pending_signal 0 +pending_signal_del 0 +version 84 diff --git a/spool/qmaster/qinstances/low.q/minos13 b/spool/qmaster/qinstances/low.q/minos13 new file mode 100644 index 0000000..5231c86 --- /dev/null +++ b/spool/qmaster/qinstances/low.q/minos13 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostname minos13 +state 0 +pending_signal 0 +pending_signal_del 0 +version 56 diff --git a/spool/qmaster/qinstances/low.q/minos14 b/spool/qmaster/qinstances/low.q/minos14 new file mode 100644 index 0000000..ce923ae --- /dev/null +++ b/spool/qmaster/qinstances/low.q/minos14 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostname minos14 +state 0 +pending_signal 0 +pending_signal_del 0 +version 51 diff --git a/spool/qmaster/qinstances/low.q/minos15 b/spool/qmaster/qinstances/low.q/minos15 new file mode 100644 index 0000000..bc713d5 --- /dev/null +++ b/spool/qmaster/qinstances/low.q/minos15 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostname minos15 +state 0 +pending_signal 0 +pending_signal_del 0 +version 53 diff --git a/spool/qmaster/qinstances/low.q/minos26 b/spool/qmaster/qinstances/low.q/minos26 new file mode 100644 index 0000000..55d0ad9 --- /dev/null +++ b/spool/qmaster/qinstances/low.q/minos26 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostname minos26 +state 1028 +pending_signal 0 +pending_signal_del 0 +version 54 diff --git a/spool/qmaster/qinstances/low.q/minos27 b/spool/qmaster/qinstances/low.q/minos27 new file mode 100644 index 0000000..98b7037 --- /dev/null +++ b/spool/qmaster/qinstances/low.q/minos27 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname low.q +hostname minos27 +state 0 +pending_signal 0 +pending_signal_del 0 +version 53 diff --git a/spool/qmaster/qinstances/normal.q/gaia b/spool/qmaster/qinstances/normal.q/gaia new file mode 100644 index 0000000..7e92461 --- /dev/null +++ b/spool/qmaster/qinstances/normal.q/gaia @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostname gaia +state 0 +pending_signal 0 +pending_signal_del 0 +version 17 diff --git a/spool/qmaster/qinstances/normal.q/minos11 b/spool/qmaster/qinstances/normal.q/minos11 new file mode 100644 index 0000000..cb57add --- /dev/null +++ b/spool/qmaster/qinstances/normal.q/minos11 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostname minos11 +state 0 +pending_signal 0 +pending_signal_del 0 +version 66 diff --git a/spool/qmaster/qinstances/normal.q/minos12 b/spool/qmaster/qinstances/normal.q/minos12 new file mode 100644 index 0000000..acd055f --- /dev/null +++ b/spool/qmaster/qinstances/normal.q/minos12 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostname minos12 +state 0 +pending_signal 0 +pending_signal_del 0 +version 94 diff --git a/spool/qmaster/qinstances/normal.q/minos13 b/spool/qmaster/qinstances/normal.q/minos13 new file mode 100644 index 0000000..e31ba2d --- /dev/null +++ b/spool/qmaster/qinstances/normal.q/minos13 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostname minos13 +state 0 +pending_signal 0 +pending_signal_del 0 +version 60 diff --git a/spool/qmaster/qinstances/normal.q/minos14 b/spool/qmaster/qinstances/normal.q/minos14 new file mode 100644 index 0000000..a10fc98 --- /dev/null +++ b/spool/qmaster/qinstances/normal.q/minos14 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostname minos14 +state 0 +pending_signal 0 +pending_signal_del 0 +version 61 diff --git a/spool/qmaster/qinstances/normal.q/minos15 b/spool/qmaster/qinstances/normal.q/minos15 new file mode 100644 index 0000000..b19bd95 --- /dev/null +++ b/spool/qmaster/qinstances/normal.q/minos15 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostname minos15 +state 0 +pending_signal 0 +pending_signal_del 0 +version 98 diff --git a/spool/qmaster/qinstances/normal.q/minos26 b/spool/qmaster/qinstances/normal.q/minos26 new file mode 100644 index 0000000..fc2810b --- /dev/null +++ b/spool/qmaster/qinstances/normal.q/minos26 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostname minos26 +state 1028 +pending_signal 0 +pending_signal_del 0 +version 64 diff --git a/spool/qmaster/qinstances/normal.q/minos27 b/spool/qmaster/qinstances/normal.q/minos27 new file mode 100644 index 0000000..b5d7f61 --- /dev/null +++ b/spool/qmaster/qinstances/normal.q/minos27 @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +qname normal.q +hostname minos27 +state 0 +pending_signal 0 +pending_signal_del 0 +version 55 diff --git a/spool/qmaster/resource_quotas/gpu_limit b/spool/qmaster/resource_quotas/gpu_limit new file mode 100644 index 0000000..ba93285 --- /dev/null +++ b/spool/qmaster/resource_quotas/gpu_limit @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# + name gpu_limit + description Deny none gpu users on GPU hosts + enabled TRUE + limit users {!@gpu_users} hosts {minos15,gaia} to slots=0,gpu=0 + diff --git a/spool/qmaster/resource_quotas/oversubscription b/spool/qmaster/resource_quotas/oversubscription new file mode 100644 index 0000000..279d811 --- /dev/null +++ b/spool/qmaster/resource_quotas/oversubscription @@ -0,0 +1,10 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# + name oversubscription + description "do not allow oversubscription for parallel jobs (except PE smp)" + enabled TRUE + limit users {*} pes {smp} queues {*} hosts {*} to slots=$m_thread + limit users {*} pes {*} queues {*} hosts {*} to slots=$m_core + diff --git a/spool/qmaster/resource_quotas/rebecca b/spool/qmaster/resource_quotas/rebecca new file mode 100644 index 0000000..049c0e9 --- /dev/null +++ b/spool/qmaster/resource_quotas/rebecca @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# + name rebecca + description limt use of host gaia for users not in group rebecca + enabled TRUE + limit users !@rebecca hosts {gaia} to slots=24 + diff --git a/spool/qmaster/resource_quotas/user_limit b/spool/qmaster/resource_quotas/user_limit new file mode 100644 index 0000000..dcc1e02 --- /dev/null +++ b/spool/qmaster/resource_quotas/user_limit @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# + name user_limit + description Limit none power users on hosts minos11-minos14 + enabled TRUE + limit users {!@power_users} queues low.q hosts {minos11,minos12,minos13,minos14} to slots=20 + diff --git a/spool/qmaster/resource_quotas/wolfgang b/spool/qmaster/resource_quotas/wolfgang new file mode 100644 index 0000000..984c6c8 --- /dev/null +++ b/spool/qmaster/resource_quotas/wolfgang @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# + name wolfgang + description limt use of host minos15 for users not in group wolfgang + enabled TRUE + limit users !@wolfgang hosts {minos15} to slots=32 + diff --git a/spool/qmaster/submit_hosts/gaia b/spool/qmaster/submit_hosts/gaia new file mode 100644 index 0000000..83a6c9b --- /dev/null +++ b/spool/qmaster/submit_hosts/gaia @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname gaia diff --git a/spool/qmaster/submit_hosts/gridengine b/spool/qmaster/submit_hosts/gridengine new file mode 100644 index 0000000..8f0bcc4 --- /dev/null +++ b/spool/qmaster/submit_hosts/gridengine @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname gridengine diff --git a/spool/qmaster/submit_hosts/minos01 b/spool/qmaster/submit_hosts/minos01 new file mode 100644 index 0000000..805651b --- /dev/null +++ b/spool/qmaster/submit_hosts/minos01 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos01 diff --git a/spool/qmaster/submit_hosts/minos02 b/spool/qmaster/submit_hosts/minos02 new file mode 100644 index 0000000..2e3385e --- /dev/null +++ b/spool/qmaster/submit_hosts/minos02 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos02 diff --git a/spool/qmaster/submit_hosts/minos11 b/spool/qmaster/submit_hosts/minos11 new file mode 100644 index 0000000..4490c79 --- /dev/null +++ b/spool/qmaster/submit_hosts/minos11 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos11 diff --git a/spool/qmaster/submit_hosts/minos12 b/spool/qmaster/submit_hosts/minos12 new file mode 100644 index 0000000..304d019 --- /dev/null +++ b/spool/qmaster/submit_hosts/minos12 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos12 diff --git a/spool/qmaster/submit_hosts/minos13 b/spool/qmaster/submit_hosts/minos13 new file mode 100644 index 0000000..7d5749d --- /dev/null +++ b/spool/qmaster/submit_hosts/minos13 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos13 diff --git a/spool/qmaster/submit_hosts/minos14 b/spool/qmaster/submit_hosts/minos14 new file mode 100644 index 0000000..9af487c --- /dev/null +++ b/spool/qmaster/submit_hosts/minos14 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos14 diff --git a/spool/qmaster/submit_hosts/minos15 b/spool/qmaster/submit_hosts/minos15 new file mode 100644 index 0000000..e84fe1a --- /dev/null +++ b/spool/qmaster/submit_hosts/minos15 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos15 diff --git a/spool/qmaster/submit_hosts/minos26 b/spool/qmaster/submit_hosts/minos26 new file mode 100644 index 0000000..85fb143 --- /dev/null +++ b/spool/qmaster/submit_hosts/minos26 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos26 diff --git a/spool/qmaster/submit_hosts/minos27 b/spool/qmaster/submit_hosts/minos27 new file mode 100644 index 0000000..38bd4cd --- /dev/null +++ b/spool/qmaster/submit_hosts/minos27 @@ -0,0 +1,5 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +hostname minos27 diff --git a/spool/qmaster/usersets/arusers b/spool/qmaster/usersets/arusers new file mode 100644 index 0000000..768112b --- /dev/null +++ b/spool/qmaster/usersets/arusers @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name arusers +type ACL +fshare 0 +oticket 0 +entries NONE diff --git a/spool/qmaster/usersets/deadlineusers b/spool/qmaster/usersets/deadlineusers new file mode 100644 index 0000000..f6a3285 --- /dev/null +++ b/spool/qmaster/usersets/deadlineusers @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name deadlineusers +type ACL +fshare 0 +oticket 0 +entries @wolfgang,@rebecca diff --git a/spool/qmaster/usersets/defaultdepartment b/spool/qmaster/usersets/defaultdepartment new file mode 100644 index 0000000..44616e8 --- /dev/null +++ b/spool/qmaster/usersets/defaultdepartment @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name defaultdepartment +type DEPT +fshare 0 +oticket 0 +entries NONE diff --git a/spool/qmaster/usersets/gpu_users b/spool/qmaster/usersets/gpu_users new file mode 100644 index 0000000..8730711 --- /dev/null +++ b/spool/qmaster/usersets/gpu_users @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name gpu_users +type ACL +fshare 0 +oticket 0 +entries alessandro,annem,david,gian,janis,jian,kaan,jon,kasper,larsh,marcel,manuel,marco,martina,meggy,sebastianc,wolle diff --git a/spool/qmaster/usersets/power_users b/spool/qmaster/usersets/power_users new file mode 100644 index 0000000..1af5400 --- /dev/null +++ b/spool/qmaster/usersets/power_users @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name power_users +type ACL +fshare 0 +oticket 0 +entries alessandro,annem,david,gian,haozhe,janis,jon,kaan,kasper,manuel,marcel,marco,martina,sebastianc,wolle diff --git a/spool/qmaster/usersets/rebecca b/spool/qmaster/usersets/rebecca new file mode 100644 index 0000000..a5a6fde --- /dev/null +++ b/spool/qmaster/usersets/rebecca @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name rebecca +type ACL +fshare 0 +oticket 0 +entries alessandro,anna,danield,david,gian,haozeh,jian,larsh,marco,sebastianc diff --git a/spool/qmaster/usersets/wolfgang b/spool/qmaster/usersets/wolfgang new file mode 100644 index 0000000..8a4fcd9 --- /dev/null +++ b/spool/qmaster/usersets/wolfgang @@ -0,0 +1,9 @@ +# Version: 8.1.9 +# +# DO NOT MODIFY THIS FILE MANUALLY! +# +name wolfgang +type ACL +fshare 0 +oticket 0 +entries annem,kaan,kasper,janis,manuel,martina,marcel,wolle