#!/bin/bash #BSUB -J My_array[1-25] #job name AND job array #BSUB -n 1 #number of cores #BSUB -W 00:10 #walltime limit: hh:mm ###BSUB -q queuename #specify queue is optional #BSUB -o Output_%J_%I.out #output - %J is the job-id %I is the job-array index #BSUB -e Error_%J_%I.err #error - %J is the job-id %I is the job-array index # Program_name_and_options source ./echo_hostname.sh $LSB_JOBINDEX