Changes between Initial Version and Version 1 of Documentation/UserGuide/ChangeQueue


Ignore:
Timestamp:
2013-11-21T09:34:43+01:00 (11 years ago)
Author:
mmcgrath
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/ChangeQueue

    v1 v1  
     1I'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. 
     2 
     3The file libIGCM/AA_job is the template for the Job_* files created by libIGCM.  In there, you can find the following header information. 
     4 
     5{{{ 
     6#-Q- lxiv8 ###################### 
     7#-Q- lxiv8 ## OBELIX      LSCE ## 
     8#-Q- lxiv8 ###################### 
     9#-Q- lxiv8 #PBS -N ::Jobname:: 
     10#-Q- lxiv8 #PBS -m a 
     11#-Q- lxiv8 #PBS -j oe 
     12#-Q- lxiv8 #PBS -q medium 
     13#-Q- lxiv8 #PBS -o Script_Output_::Jobname::.000001 
     14#-Q- lxiv8 #PBS -S /bin/ksh 
     15#-Q- lxiv8 #PBS -v BATCH_NUM_PROC_TOT=::JobNumProcTot:: 
     16#-Q- lxiv8 #PBS -l nodes=1:ppn=::JobNumProcTot:: 
     17}}} 
     18 
     19In 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  
     20 
     21{{{ 
     22#-Q- lxiv8 #PBS -q medium 
     23}}} 
     24 
     25to  
     26 
     27{{{ 
     28#-Q- lxiv8 #PBS -q short 
     29}}} 
     30 
     31or 
     32 
     33{{{ 
     34#-Q- lxiv8 #PBS -q mediump 
     35}}} 
     36 
     37NOTE: 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 
     38 
     39{{{ 
     40  /usr/local/bin/qsub -q medium -o ${SUBMIT_DIR}/${Script_Output} -N ${config_UserChoices_JobName}.${CumulPeriod} < $1 
     41}}} 
     42 
     43This will ensure that all jobs submitted after the first job are in your desired queue.