User Tools

Site Tools


mpiblast

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
mpiblast [2017/09/12 22:40]
wlfarris
mpiblast [2017/10/10 18:07] (current)
jokinsey Changed PBS script to run in /scratch
Line 81: Line 81:
 #PBS -j oe #PBS -j oe
 #PBS -m abe #PBS -m abe
-#PBS -M YourUserName@uark.edu+#PBS -M jokinsey@uark.edu
 #PBS -o MPIBLAST.$PBS_JOBID #PBS -o MPIBLAST.$PBS_JOBID
 #PBS -l nodes=1:​ppn=12 #PBS -l nodes=1:​ppn=12
 #PBS -l walltime=02:​00:​00 #PBS -l walltime=02:​00:​00
 +
  
 cd "​$PBS_O_WORKDIR"​ cd "​$PBS_O_WORKDIR"​
 +cp input /​scratch/​$PBS_JOBID
 +cd /​scratch/​$PBS_JOBID
  
-mpirun -np 12 mpiblast -p blastn -d mito.nt -i /​home/​YourUserName/​testing/​input -o /​home/​YourUserName/​testing/​output+mpirun -np 12 mpiblast -p blastn -d mito.nt -i input -o $HOME/​testing/​output
 </​code>​ </​code>​
  
-Notice ​the line ''​cd "​$PBS_O_WORKDIR"​'' ​this is saying ​we want to start running ​the job from the current ​directory.+In the ''​PBS'' ​script first we copy our input file to the directory ​we will be working in ''/​scratch/​$PBS_JOBID''​Then we go into that directory to run the computation and send the output to ''​$HOME/​testing/​output''​
  
 Then submit the job. Then submit the job.
  
 <​code>​ <​code>​
-razor-l1:​jokinsey:​~/​SCHED_PLACE$ qsub /​home/​YourUserName/​testing/​mpiBlastTest.pbs ​+razor-l3:​jokinsey:​~/​testing$ qsub mpiBlastTest.pbs ​
 </​code>​ </​code>​
  
mpiblast.txt · Last modified: 2017/10/10 18:07 by jokinsey