Currently, trying to run multiple fmriprep subjects in parallel leads to errors. The solution is to make sure the first job runs a bit before all the other jobs. One potential way to do this is simply to add sleep 1m &&
before every job except for the first:
[submit job: ] fmriprep data/bids_root/ out/ participant --participant_label 01 -w work/
[submit job: ] sleep 1m && fmriprep data/bids_root/ out/ participant --participant_label 02 -w work/
[submit job: ] sleep 1m && fmriprep data/bids_root/ out/ participant --participant_label 03 -w work/
[submit job: ] sleep 1m && fmriprep data/bids_root/ out/ participant --participant_label 04 -w work/
Note that [submit job: ]
should be replaced with whatever command you use to submit a job. This solution assumes you already know more generally how to run tasks in parallel on your system.