PBS+Torque+Maui使用篇

更新时间:2024-04-13 11:01:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

PBS部分: qsub qstat qdel qmove qorder qdel canceljob

changeparam

checkjob

checknode

diagnose

mbal

mclient

mdiag mjobctl mnodectl mprof

mschedctl mstat

releasehold releaseres resetstats runjob schedctl

sethold setqos setres setspri showbf

showconfig showgrid showhold showq showres showstart showstate showstats Torque部分: chk_tree

hostn

nqs2pbs

pbs-config

pbsdsh

pbsnodes

pbs_tclsh

pbs_track

printjob

printserverdb

printtracking

qalter

qchkpt

qdel

qdisable

qenable

qhold

qmgr

qmove

qmsg

qnodes

qorder

qrerun

qrls qrun qselect qsig qstart qstat

qstop qsub qterm tracejob Maui部分

# maui.cfg 3.2.6p19

#

#define SERVERHOST,this specifies where maui will run #

SCHEDCFG[0] SERVER=node8:42559 MODE=NORMAL # primary admin must be first in list ADMIN1 root #

# Resource Manager Definition #

RMCFG[0] TYPE=PBS HOST=node8 # Allocation Manager Definition AMCFG[bank] TYPE=NONE

# full parameter docs at

http://supercluster.org/mauidocs/a.fparameters.html

# use the 'schedctl -l' command to display current configuration #

# Set Torque server polling interval. If you have short queues or/and jobs it

# is worth to set a short interval. (10 seconds) #

RMPOLLINTERVAL 00:00:30 SERVERPORT 42559 SERVERMODE NORMAL

# Admin: http://supercluster.org/mauidocs/a.esecurity.html #

# a max. 10 MByte log file in a logical location #

LOGFILE /var/log/maui.log LOGFILEMAXSIZE 10000000 LOGLEVEL 3

# Job Priority:

http://supercluster.org/mauidocs/5.1jobprioritization.html QUEUETIMEWEIGHT 1

# Throttling Policies:

http://supercluster.org/mauidocs/6.2throttlingpolicies.html # NONE SPECIFIED

# Add by dolphin ======================================= #NODEACCESSPOLICY SINGLEUSER JOBNODEMATCHPOLICY EXACTNODE NODEACCESSPOLICY SHARED

#NODECFG[DEFAULT] PRIORITYF='-JOBCOUNT' ENABLEMUITINODEJOBS TRUE ENABLEMULTIREQJOBS TRUE

# ended ================================================

#

# Set the delay to 1 minute before Maui tries to run a job again, # in case it failed to run the first time. # The default value is 1 hour. #

DEFERTIME 00:01:00

#

# Set preempt policy to suspend if possible #

PREEMPTPOLICY SUSPEND

RESERVATIONPOLICY CURRENTHIGHEST

#

# Backfill: http://supercluster.org/mauidocs/8.2backfill.html #

BACKFILLPOLICY FIRSTFIT

#

# Node Allocation:

http://supercluster.org/mauidocs/5.2nodeallocation.html #

#NODEALLOCATIONPOLICY MINRESOURCE NODEALLOCATIONPOLICY FIRSTAVAILABLE #NODEALLOCATIONPOLICY PRIORITY #NODEALLOCATIONPOLICY MINRESOURCE

#

# Fair share policy

# FairShare: http://supercluster.org/mauidocs/6.3fairshare.html #

FSPOLICY DEDICATEDPS FSINTERVAL 24:00:00 FSQOSWEIGHT 2

#

# In order to configure premption activate the QOSWEIGHT,

# to do this set the variable QOSWEIGHT to a number greater than 1. #

QOSWEIGHT 1

QOSCFG[preemptor] QFLAGS=PREEMPTOR #

QOSCFG[preemptee] QFLAGS=PREEMPTEE #

# Once you have defined which queues are preemptors and which are preemptees # you the use the CLASSCFG to define priorities. As with the QOSCFG options you

# need to turn on the CLASSCFG options by setting the CLASSWEIGHT #

CLASSWEIGHT 1

CLASSCFG[high] QDEF=preemptor PRIORITY=11000

CLASSCFG[middle] QDEF=preemptee PRIORITY=9000 CLASSCFG[low] QDEF=preemptee PRIORITY=6000 #

CONSUMEDWEIGHT 3 CREDWEIGHT 1 GROUPWEIGHT 1 USERWEIGHT 1 SRCFGWEIGHT 2

# QOS: http://supercluster.org/mauidocs/7.3qos.html

# QOSCFG[hi] PRIORITY=100 XFTARGET=100 FLAGS=PREEMPTOR:IGNMAXJOB # QOSCFG[low] PRIORITY=-1000 FLAGS=PREEMPTEE

#

# Standing Reservations:

http://supercluster.org/mauidocs/7.1.3standingreservations.html #

# Creds: http://supercluster.org/mauidocs/6.1fairnessoverview.html USERCFG[DEFAULT] MAXJOB=4 MAXNODE=1 MAXPROC=8 USERCFG[root] MAXJOB=100 MAXNODE=100 MAXPROC=400

USERCFG[administrator] MAXJOB=4 MAXNODE=4 MAXPROC=32

# 这里指定默认的每个帐户最大可以运行2个job,每个job所申请的节点总数不能超#

# 过3个。而nano帐户在另外做限制,可以用16个节点,最大可以运行64个作业。

本文来源:https://www.bwwdw.com/article/vdsp.html

Top