forked from fiuneuro/cis-processing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_lsf_job.sub
More file actions
executable file
·32 lines (24 loc) · 836 Bytes
/
example_lsf_job.sub
File metadata and controls
executable file
·32 lines (24 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
#---Number of cores
#BSUB -n 12
#BSUB -R "span[ptile=12]"
#---Job's name in LSF system
#BSUB -J bids
#---Error file
#BSUB -eo bids_err
#---Output file
#BSUB -oo bids_out
#---LSF Queue name
#BSUB -q PQ_normal
##########################################################
# Set up environmental variables.
##########################################################
export NPROCS=`echo $LSB_HOSTS | wc -w`
export OMP_NUM_THREADS=$NPROCS
. $MODULESHOME/../global/profile.modules
module load singularity
##########################################################
##########################################################
python cis_proc.py -d [/path/to/tarfile] -w [/scratch/path/to/working/directory/] \
-b [/path/to/bids/dataset/] --config [/path/to/config/file] --sub [SUBJECTID] \
--ses [SESSION] --n_procs $NPROCS