uchicago-bio / 2016-Autumn-Forum

1 stars 0 forks source link

Running Blast on RCC (Updated) #30

Closed tabinks closed 7 years ago

tabinks commented 7 years ago

See #29.

tabinks commented 7 years ago

Log in to RCC

ssh <cnetid>@midway.rcc.uchicago.edu

Download Files

wget http://uchicago.bio/sessions/session4/protein1.fasta
wget https://raw.githubusercontent.com/uchicago-bio/RCC-Utilities/master/single-node-blast.sbatch

Run the Script

From the command line:

sbatch single-node-blast.sbatch <some-unique-text-to-identify-this-job>

Adjust the number of CPUs per Task

This task is running on a single node, but we will vary the number of cpus that are assigned to each task. Do runs with 1,2,4,8,16 cpus per task. The Sandy Bridge chips (sandyb) are the default chips our allocation has. It has 16cores and 32G of memory. If you need more memory (you may get a warning from SLURM), you should investigate the the bigmem partition and add more memory per cpu.

#SBATCH --nodes=1    # This is the number of nodes we are requesting for the job
#SBATCH --tasks=       # The number of tasks this job will have
#SBATCH --ntasks-per-node=1  # The number of tasks that will run on each node
#SBATCH --cpus-per-task=16    # Number of cpus per task
#SBATCH --partition=sandyb     # The chip type you are requesting
#SBATCH --mem-per-cpu=2000  # Some jobs will require more memory 
tabinks commented 7 years ago

If you downloaded the Jupiter Notebook, please note that I have added the instructions to match above, but the questions are the same.