YH-T-Template: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
Here is an example of a shell script, sub.sh, to run on at the batch queue:  
Here is an example of a shell script, sub.sh, to run on at the batch queue:  
<pre class="gscript">
<pre class="gscript">
#PBS -S /bin/bash
#!/bin/bash
#PBS -N j_<!-- NAME BEGIN -->trinity<!-- NAME END -->
#SBATCH --job-name=j_<!-- NAME BEGIN -->trinity<!-- NAME END -->      
#PBS -q batch
#SBATCH --partition=batch            
#PBS -l nodes=1:ppn=1:AMD
#SBATCH --mail-type=AIL         
#PBS -l walltime=480:00:00
#SBATCH --mail-user=username@uga.edu 
#PBS -l mem=10gb
#SBATCH --ntasks=1                  
#SBATCH --mem=10gb                   
#SBATCH --time=08:00:00              
#SBATCH --output=<!-- NAME BEGIN -->trinity<!-- NAME END -->.%j.out
   
cd $SLURM_SUBMIT_DIR


cd $PBS_O_WORKDIR
cd $PBS_O_WORKDIR
Line 40: Line 45:
Here is an example of job submission command:
Here is an example of job submission command:
<pre  class="gcommand">
<pre  class="gcommand">
qsub  ./sub.sh  
sbatch ./sub.sh  
</pre>
</pre>



Revision as of 12:54, 6 August 2018

Category

Bioinformatics 

Program On

Teaching

Version

2.0.6

Author / Distributor

Trinity 

Description

"" More details are at Trinity

Running Program

Please refer to Running Jobs on Teaching, Run X window Jobs and Run interactive Jobs for generic details about running jobs at Teaching.

The last version of this application is at trinity

Here is an example of a shell script, sub.sh, to run on at the batch queue:

#!/bin/bash
#SBATCH --job-name=j_<!-- NAME BEGIN -->trinity<!-- NAME END -->        
#SBATCH --partition=batch             
#SBATCH --mail-type=AIL          
#SBATCH --mail-user=username@uga.edu  
#SBATCH --ntasks=1                    
#SBATCH --mem=10gb                     
#SBATCH --time=08:00:00               
#SBATCH --output=<!-- NAME BEGIN -->trinity<!-- NAME END -->.%j.out
    
cd $SLURM_SUBMIT_DIR

cd $PBS_O_WORKDIR
<!-- TEST_COMMAND BEGIN --><!-- TEST_COMMAND END --> [options]   

Here is an example of job submission command:

sbatch ./sub.sh 

Documentation

<!-- TEST_COMMAND_HELP BEGIN --><!-- TEST_COMMAND_HELP END -->

Back to Top

Installation

Source code is obtained from Trinity

System

64-bit Linux