最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

PBS+Torque+Maui使用篇

来源:动视网 责编:小OO 时间:2025-09-29 23:37:26
文档

PBS+Torque+Maui使用篇

PBS部分:qsubqstatqdelqmoveqorderqdelcanceljobchangeparamcheckjobchecknodediagnosembalmclientmdiagmjobctlmnodectlmprofmschedctlmstatreleaseholdreleaseresresetstatsrunjobschedctlsetholdsetqossetressetsprishowbfshowconfigshowgridshowholdshowqshowresshows
推荐度:
导读PBS部分:qsubqstatqdelqmoveqorderqdelcanceljobchangeparamcheckjobchecknodediagnosembalmclientmdiagmjobctlmnodectlmprofmschedctlmstatreleaseholdreleaseresresetstatsrunjobschedctlsetholdsetqossetressetsprishowbfshowconfigshowgridshowholdshowqshowresshows
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个节点,最大可以运行个作业。

文档

PBS+Torque+Maui使用篇

PBS部分:qsubqstatqdelqmoveqorderqdelcanceljobchangeparamcheckjobchecknodediagnosembalmclientmdiagmjobctlmnodectlmprofmschedctlmstatreleaseholdreleaseresresetstatsrunjobschedctlsetholdsetqossetressetsprishowbfshowconfigshowgridshowholdshowqshowresshows
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top