How to Submit Custom Jobs to the Cluster: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
(Undo revision 2713 by Aenalb (talk))
 
m (3 revisions)
 
(No difference)

Latest revision as of 03:43, 16 January 2014

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.