using_perun
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| using_perun [2017/07/24 11:13] – cgeb2001 | using_perun [2021/09/08 13:29] (current) – 134.190.232.139 | ||
|---|---|---|---|
| Line 86: | Line 86: | ||
| - | **#!/bin/sh** | + | **#!/bin/bash** |
| - | at the very top. This tells the UNIX system what type of shell to use (this one is the bourne | + | at the very top. This tells the UNIX system what type of shell to use (this one is the Bourne-Again |
| The next two lines should be | The next two lines should be | ||
| - | **#$ -S /bin/sh** | + | **#$ -S /bin/bash** |
| Line 139: | Line 139: | ||
| **qsub -q 144G-batch name_of_script** (nodes with 144 GB RAM, 24 slots per node (1)) | **qsub -q 144G-batch name_of_script** (nodes with 144 GB RAM, 24 slots per node (1)) | ||
| **qsub -q 16G-batch name_of_script** (nodes with 16 GB RAM, 8 slots per node (12)) | **qsub -q 16G-batch name_of_script** (nodes with 16 GB RAM, 8 slots per node (12)) | ||
| - | **qsub -q 256G0batch | + | **qsub -q 256G-batch |
| Line 154: | Line 154: | ||
| This will list all the jobs currently being run on perun as well as who is logged in. To just see your jobs | This will list all the jobs currently being run on perun as well as who is logged in. To just see your jobs | ||
| + | you would normally do qstat -u username but for some reason that doesn' | ||
| **qstat | grep username** | **qstat | grep username** | ||
| + | |||
| + | or | ||
| + | |||
| + | **watch qstat** (control c to exit). | ||
| + | |||
| + | |||
| Line 174: | Line 181: | ||
| If you do ls in the directory where you submitted the script myscript.x to the queue you will see that there is a file called something like this - myscript.x.e798764. | If you do ls in the directory where you submitted the script myscript.x to the queue you will see that there is a file called something like this - myscript.x.e798764. | ||
| - | You can have multiple perun sessions/ | + | You can have multiple perun sessions/ |
| - | + | ||
| - | You can change the job's hard queue after submission (without killing it) by: | + | |
| **qalter -q [node you want, eg 256G-batch] [job ID number]** | **qalter -q [node you want, eg 256G-batch] [job ID number]** | ||
| + | The command above can change the job's hard queue after submission (without killing it). | ||
| Line 192: | Line 197: | ||
| Finding the path of an installed program | Finding the path of an installed program | ||
| - | Most programs are installed in common, standard places on UNIX systems. On perun many of the programs/ | + | Most programs are installed in common, standard places on UNIX systems. On perun many of the programs/ |
| Line 241: | Line 246: | ||
| eg blastn -help | eg blastn -help | ||
| 4. If all else fails you can try and read the program code (if it is in perl or python as opposed to C or C++) and try and figure out what the authors want. | 4. If all else fails you can try and read the program code (if it is in perl or python as opposed to C or C++) and try and figure out what the authors want. | ||
| - | |||
using_perun.1500905615.txt.gz · Last modified: by cgeb2001
