User Tools

Site Tools


computing:batch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
computing:batch [2018/09/01 01:56] – [Splitting jobs] iwncomputing:batch [2018/09/10 12:01] – [Debugging] iwn
Line 86: Line 86:
   * ''E'' means in error state.   * ''E'' means in error state.
  
-More details on a job can be found with ''qstat -j <//jobid//>''.+More details on a job can be found with ''qstat -j <//jobid//>''. If your jobs are named, you can also use ''qstat -j <//jobname//>'' which might even contain a wildcard '*'.
  ==== Change order of jobs ====  ==== Change order of jobs ====
  
-Change the submission order of the jobs waiting in the queue with ''qalter -js <//jobshare//> <//jobid//>''. The default job share is ''0'' and any integer value (e.g. ''100'') will give the specified job a higher priority. The higher the value, the higher the priority.+Change the order of submission of the jobs waiting in the queue with ''qalter -js <//jobshare//> <//jobid//>''. The default job share is ''0'' and any integer value (e.g. ''100'') will give the specified job a higher priority. The higher the value, the higher the priority.
  
  
Line 106: Line 106:
  ===== Debugging =====  ===== Debugging =====
  
-The T3 TWiki has a page with information on [[https://wiki.chipp.ch/twiki/bin/view/CmsTier3/HowToDebugJobs|debugging jobs interactively]].+ ==== Debugging jobs interactively ====
  
 +The T3 TWiki has a page with information on [[https://wiki.chipp.ch/twiki/bin/view/CmsTier3/HowToDebugJobs|debugging jobs interactively]] with the ''qlogin'' command:
 +<code bash>
 +qlogin -q debug.q -l hostname=t3wn22 -l h_vmem=400M
 +</code>
  ==== Redirecting standard output and error streams ===  ==== Redirecting standard output and error streams ===
 If you want to isolate and save the standard output and the standard error streams (//stdout// and //stderr//) of your main script that would normally prompt in the Terminal window, you can redirect it as usual with ''>>'' and ''2>>'': If you want to isolate and save the standard output and the standard error streams (//stdout// and //stderr//) of your main script that would normally prompt in the Terminal window, you can redirect it as usual with ''>>'' and ''2>>'':
computing/batch.txt · Last modified: 2018/09/11 09:51 by iwn