Using batch system at BINP/GCF
From Charm-Tau Detector
		(Difference between revisions)
		
		
A.M.Suharev  (Talk | contribs)  (Created page with "== Batch system usage simplified ==  The BINP/GCF batch system is Sun Grid Engine.  To submit a job, do:  # After login set up your working environment (setupSCTAU, asetup, so...")  | 
			A.M.Suharev  (Talk | contribs)   | 
			||
| Line 25: | Line 25: | ||
For details please refer to <tt>man qsub</tt>, <tt>man qstat</tt>.  | For details please refer to <tt>man qsub</tt>, <tt>man qstat</tt>.  | ||
| + | |||
| + | [[Category:Software]]  | ||
Latest revision as of 21:17, 2 December 2019
[edit] Batch system usage simplified
The BINP/GCF batch system is Sun Grid Engine.
To submit a job, do:
- After login set up your working environment (setupSCTAU, asetup, source build/x86..)
 - Change to the job working directory
 - Submit the job using
 
qsub -cwd -V -b y -shell n progam_name program_parameters
For instance,
qsub -cwd -V -b y -shell n ctaurun.py test_calor_clusters.py
Where
- qsub - submit a job
 - -cwd - work in the current directory, also put job' stdout and stderr there (the files will be program_name.oNUMBER and program_name.eNUBMER)
 - -V - transmit environment variables (they were set up at the step 1) into the job
 - -b y -shell n - run program_name as an executable file, do not spawn an extra shell
 
To check job status, issue
qstat
For details please refer to man qsub, man qstat.