wiki:Documentation/UserGuide/ChangeQueue

Version 1 (modified by mmcgrath, 10 years ago) (diff)

--

I've often found that when I'm running on Obelix, I want to change the default queue used by libIGCM. For example, if I'm running short test jobs, or larger parallel runs, I don't want to be submitting to the queue 'medium'. There is a very simple way to do this on libIGCM 2.1.1.

The file libIGCM/AA_job is the template for the Job_* files created by libIGCM. In there, you can find the following header information.

#-Q- lxiv8 ######################
#-Q- lxiv8 ## OBELIX      LSCE ##
#-Q- lxiv8 ######################
#-Q- lxiv8 #PBS -N ::Jobname::
#-Q- lxiv8 #PBS -m a
#-Q- lxiv8 #PBS -j oe
#-Q- lxiv8 #PBS -q medium
#-Q- lxiv8 #PBS -o Script_Output_::Jobname::.000001
#-Q- lxiv8 #PBS -S /bin/ksh
#-Q- lxiv8 #PBS -v BATCH_NUM_PROC_TOT=::JobNumProcTot::
#-Q- lxiv8 #PBS -l nodes=1:ppn=::JobNumProcTot::

In order to change the queue to the short queue or the medium parallel queue (the two I use most often), you need to change the line

#-Q- lxiv8 #PBS -q medium

to

#-Q- lxiv8 #PBS -q short

or

#-Q- lxiv8 #PBS -q mediump

NOTE: If you are using older versions of libIGCM, which you probably shouldn't be, you also need to change the "meduim" in following line in libIGCM:libIGCM_sys/libIGCM_sys_obelix.ksh

  /usr/local/bin/qsub -q medium -o ${SUBMIT_DIR}/${Script_Output} -N ${config_UserChoices_JobName}.${CumulPeriod} < $1

This will ensure that all jobs submitted after the first job are in your desired queue.