Hey all,
Here I am with another problem :)
I'm trying tp speed up the qc by running multiple processes in parallel (using python's multiprocessing). The thing is, it fails when I'm running mriqc from python in parallel, but when I'm executing the generated command via terminal, it works.
Here some more information:
I'm running a singularity image (v0.16.1) on a limnux machine. Some of the errors I get are:
FileNotFoundError: [Errno 2] No such file or directory: '/users/rubendorfel/work/mriqc_wf/anatMRIQC/ComputeIQMs/_in_file_..data..sub-f1081..ses-1..anat..sub-f1081_ses-1_run-1_T1w.nii/metadata/_0x76900ad800180ae11eefae989e0b8241_unfinished.json' -> '/users/rubendorfel/work/mriqc_wf/anatMRIQC/ComputeIQMs/_in_file_..data..sub-f1081..ses-1..anat..sub-f1081_ses-1_run-1_T1w.nii/metadata/_0x76900ad800180ae11eefae989e0b8241.json'
This is the command I'm calling:
singularity run --cleanenv --bind <path_to_data>/bids:/data --bind
<path_to_data>/ mriqc:/out
<path_to_sif>/mriqc-0.16.1.sif /data /out participant --participant_label <sub_id> --no-sub
If I run it within the parallel processing, it fails, but If I run it separately in a terminal, everything works ... I'm kinda puzzled right now.