#         Portable Batch System (PBS) Software License
# 
# Copyright (c) 1999, MRJ Technology Solutions.
# All rights reserved.
# 
# Acknowledgment: The Portable Batch System Software was originally developed
# as a joint project between the Numerical Aerospace Simulation (NAS) Systems
# Division of NASA Ames Research Center and the National Energy Research
# Supercomputer Center (NERSC) of Lawrence Livermore National Laboratory.
# 
# Redistribution of the Portable Batch System Software and use in source
# and binary forms, with or without modification, are permitted provided
# that the following conditions are met:
# 
# - Redistributions of source code must retain the above copyright and
#   acknowledgment notices, this list of conditions and the following
#   disclaimer.
# 
# - Redistributions in binary form must reproduce the above copyright and 
#   acknowledgment notices, this list of conditions and the following
#   disclaimer in the documentation and/or other materials provided with the
#   distribution.
# 
# - All advertising materials mentioning features or use of this software must
#   display the following acknowledgment:
# 
#   This product includes software developed by NASA Ames Research Center,
#   Lawrence Livermore National Laboratory, and MRJ Technology Solutions.
# 
#         DISCLAIMER OF WARRANTY
# 
# THIS SOFTWARE IS PROVIDED BY MRJ TECHNOLOGY SOLUTIONS ("MRJ") "AS IS" WITHOUT 
# WARRANTY OF ANY KIND, AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
# FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT ARE EXPRESSLY DISCLAIMED.
# 
# IN NO EVENT, UNLESS REQUIRED BY APPLICABLE LAW, SHALL MRJ, NASA, NOR
# THE U.S. GOVERNMENT BE LIABLE FOR ANY DIRECT DAMAGES WHATSOEVER,
# NOR ANY INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 
# This license will be governed by the laws of the Commonwealth of Virginia,
# without reference to its choice of law rules.
#
#  Constant configuration file for Multitask Scheduler
#
#  jjones@nas.nasa.gov    --   Mon Feb 10 09:00:08 PST 1997
#

#  Queues to automatically try to schedule jobs from
#  in priority order
#
SCHEDULE_QUEUES		special,mtask,batch

#  Identify any routing queues and their route destinations
#
ROUTER			pending:debug,batch,mtask

#  Identify the production complex and any limits
#
COMPLEX_production	batch,mtask
#production_JOBS		0
#production_MEMORY	0
#production_CPU		43200
production_ROUTER	pending

#  Identify the debug complex and its limits
#
COMPLEX_debug		debug
#debug_JOBS		1
#debug_MEMORY		0
#debug_CPU		0
production_ROUTER	pending

#  High Swap-in Rate
#
HIGH_SWAPRATE		1000

#  Maximum Load Average
#
MAX_LOADAVG		8

#  Minimum Load Average
#
MIN_LOADAVG		2

#  Nominal Load Average
#
NOM_LOADAVG		6

#  High System Time %
#
HIGH_SYSTIME		2

#  Maximum number of jobs to run
#
MAX_JOBS		8

#  Minimum number of jobs to keep running
#
MIN_JOBS		1

#  Limit how many large jobs can run simultaneously
#  LARGE_MEM is the cutoff threshold in MegaWords
#  and LARGE_CNT is how many jobs greater than
#  LARGE_MEM can run simultaneously. However, there
#  are only permitted (LARGE_CNT - 1) non mt large
#  jobs. The run limit on the mt queue will control
#  how many large mt jobs max can run.  LARGE_ALLOC
#  is the amount of BATCH_MEM that can be allocated
#  to processing large memory jobs.
#
LARGE_MEM		400mb
LARGE_CNT		3
LARGE_ALLOC		1200mb

LARGE_MEM_PRIME		400mb
LARGE_CNT_PRIME		3
LARGE_ALLOC_PRIME	1200mb

LARGE_MEM_NONPRIME	400mb
LARGE_CNT_NONPRIME	3
LARGE_ALLOC_NONPRIME	1200mb

#  What is a long running job in seconds and how
#  many of them we should run simultaneously
#
LONG_TIME		28800
LONG_CNT		5

#  How much memory should all the batch jobs together
#  be allowed to use in MegaWords.
#
BATCH_MEM		1800mb

#  Starvation timeout before taking action, in seconds
#
#STARVATION_TIMEOUT	14400

STARVATION_ORDER	debug
STARVATION_ORDER	special
STARVATION_ORDER	batch,mtask

#  Time limit for the high priority short batch queue in seconds
#
SHORT_LIMIT		1800

#  Check for Prime/Non-Prime
#
PNP			1

#  Check for Allocation Enforcement
#
ENFORCE_ALLOC		0

#  Check for Dedicated/PM Time Enforcement
#
ENFORCE_DEDTIME		0

#  Directory containing accounting YTD and allocation files
#
SCHED_ACCT_DIR		/usr/spool/pbs_home/pbs_acctdir

#  Command to use to check for upcoming dedicated/PM time
#
DED_TIME_COMMAND	/usr/local/bin/pbsdedtime

#  System/Cluster Name
#
SYSTEM_NAME		davinci
SYSTEM_NAME_CAPS	DAVINCI


#  The PBS server host to contact 
#
SERVER_HOST		davinci.nas.nasa.gov

#  The host to contact for resource and scheduling information
#
SCHED_HOST		davinci-05

#  How long to sleep for between scheduling cycles (in seconds)
#
SCHED_ITERATION		90
