@@ -32,7 +32,7 @@ ls -d /data/bids/sub-* | xargs -n1 basename | sed 's/sub-//' > participants.txt
3232
3333PARTICIPANT=$( sed -n " ${SLURM_ARRAY_TASK_ID} p" participants.txt)
3434
35- rbc /data/bids /data/output all \
35+ rbc all /data/bids -o /data/output \
3636 --runner singularity \
3737 --participant-label " $PARTICIPANT "
3838```
@@ -60,7 +60,7 @@ If you have a multi-core machine without a scheduler:
6060
6161``` bash
6262cat participants.txt | parallel -j 4 \
63- rbc /data/bids /data/output all \
63+ rbc all /data/bids -o /data/output \
6464 --runner singularity \
6565 --participant-label {}
6666```
@@ -79,7 +79,7 @@ roughly 8-16 GB per subject).
7979
8080PARTICIPANT=$( sed -n " ${PBS_ARRAY_INDEX} p" participants.txt)
8181
82- rbc /data/bids /data/output all \
82+ rbc all /data/bids -o /data/output \
8383 --runner singularity \
8484 --participant-label " $PARTICIPANT "
8585```
@@ -92,7 +92,7 @@ clusters provide fast local scratch storage on each compute node. Use
9292` --tmp-dir ` to point intermediates there:
9393
9494``` bash
95- rbc /data/bids /data/output all \
95+ rbc all /data/bids -o /data/output \
9696 --runner singularity \
9797 --tmp-dir /lscratch/$SLURM_JOB_ID \
9898 --participant-label " $PARTICIPANT "
@@ -125,8 +125,8 @@ Scratch is cleaned up when the job ends, so only final outputs (written to
125125- ** Singularity on HPC:** Most clusters don't allow Docker. The examples above
126126 use ` --runner singularity ` for this reason. Use ` --runner docker ` if your
127127 cluster supports it.
128- - ** Shared filesystem:** Make sure ` input_dir ` and ` output_dir ` are on a
129- filesystem accessible to all compute nodes (e.g., Lustre, GPFS, NFS).
128+ - ** Shared filesystem:** Make sure input directories and the output directory
129+ are on a filesystem accessible to all compute nodes (e.g., Lustre, GPFS, NFS).
130130- ** Local scratch:** Use ` --tmp-dir ` to place intermediate files on fast
131131 node-local storage. This can significantly reduce I/O wait times.
132132- ** Sessions:** RBC processes all sessions for a subject sequentially within a
0 commit comments