Hoffman2:Job Array

From Center for Cognitive Neuroscience
Revision as of 21:09, 19 December 2019 by Hwang (talk | contribs)
Jump to navigation Jump to search

Back to Hoffman2 Batch Mode

Job Array or Array jobs make it possible to process different subjects/files using the same script on multiple Hoffman2 working nodes at the same time.

Here, we use the this template code to show how it can be done Submit job


#!/bin/bash
#$ -cwd
# error = Merged with joblog
#$ -o joblog.$JOB_ID
#$ -j y
#$ -pe shared 2
#$ -l h_rt=8:00:00,h_data=4G
# Email address to notify
#$ -M $USER@mail
# Notify when
#$ -m bea
#$ -t 1-100:1