How to Submit Custom Jobs to the Cluster

From Center for Cognitive Neuroscience
Jump to navigation Jump to search

In order to quickly submit any job the cluster, create a script named q.sh that contains the following:

qsub <<CMD
#!/bin/bash
#$ -cwd
#$ -j y
#$ -S /bin/bash
#$ -V
#$ -l highp,h_data=1024M
$@
CMD

Then at the hoffman command line, just type:

> q.sh <your_command>

This script uses qsub to submit your command to the cluster.