Changes between Version 3 and Version 4 of Documentation/UserGuide/ChangeQueue


Ignore:
Timestamp:
2020-03-19T09:31:21+01:00 (4 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/ChangeQueue

    v3 v4  
    66I'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. 
    77 
    8 The file libIGCM/AA_job is the template for the Job_* files created by libIGCM.  In there, you can find the following header information. 
    9  
     8The file libIGCM/AA_job is the template for the Job_* files created by libIGCM.  In there, you can find header information for the different predefined machines at IPSL (irene, jeanzay, obelix, ciclad/climserv). For example for obelix, find the following header information: 
    109{{{ 
    1110#-Q- lxiv8 ###################### 
     
    4039}}} 
    4140 
    42 NOTE: If you are using older versions of libIGCM, which you probably shouldn't be, you also need to change the "medium" in following line in libIGCM:libIGCM_sys/libIGCM_sys_obelix.ksh 
     41You can now create the main job using ins_job command as usual. This will ensure that all computing jobs submitted after the first job are in your desired queue.  
    4342 
    44 {{{ 
    45   /usr/local/bin/qsub -q medium -o ${SUBMIT_DIR}/${Script_Output} -N ${config_UserChoices_JobName}.${CumulPeriod} < $1 
    46 }}} 
    4743 
    48 This will ensure that all jobs submitted after the first job are in your desired queue. 
     44If you want to change as well the post-processing jobs, this can also be done in the same way in corresponding libIGCM/AA_* file. For example, change the file libIGCM/AA_create_ts if you want to change the default queue in the create_ts.job. After changing the post-treatement AA_* files, you need to delete the corresponding *.job files (for example libIGCM/create_ts.job) and relaunch ins_job to create them again.