User Tools

Site Tools


torque_tutorial

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
torque_tutorial [2015/09/11 11:44] – [Sample Batch Script] jestuber_gmail.comtorque_tutorial [2022/07/21 06:59] (current) – external edit 127.0.0.1
Line 11: Line 11:
   #PBS -l mppwidth=48   #PBS -l mppwidth=48
   #PBS -l walltime=00:10:00   #PBS -l walltime=00:10:00
 +  #PBS -N jobname
      
   cd $PBS_O_WORKDIR   cd $PBS_O_WORKDIR
   aprun -n 48 ./my_executable   aprun -n 48 ./my_executable
  
 +additional options:
 http://www.nersc.gov/users/computational-systems/hopper/running-jobs/batch-jobs/ http://www.nersc.gov/users/computational-systems/hopper/running-jobs/batch-jobs/
  
Line 24: Line 26:
 ===== Check the Progress of a Job ===== ===== Check the Progress of a Job =====
  
 +  $ qstat -u username
 +
 +===== Tips for getting your job through the queue faster  =====
 +  * Use the debug queue for test jobs
 +  * Reduce walltime to only what your job needs
 +  * Run shorter jobs (great for codes that can 'restart' like NIMROD)
 +  * Run jobs during off peak hours (nighttime, weekends)
 +  * Run jobs just before scheduled maintenance
  
torque_tutorial.1441993473.txt.gz · Last modified: 2022/07/21 06:59 (external edit)