Hi everybody! My labmate and I are first time fMRIPrep users and we’re working with macOS Monterey:M2, 24 GB, Docker: 4.12.0, fMRIprep: 20.2.7. The problem is that it takes 76 hours for fMRIPrep to do preprocessing for one subject! Is there anything that we can do to make this step any shorter?
You can add more CPUS (depending on your machine). You also have a ton of output spaces and extra steps. Do you really need each one of those? Also, subsequent runs should be quicker since FreeSurfer outputs can be reused. It is also not clear from your question how much data there are per participant.
Thank you for your reply Steven. We tried doing preprocessing of the same participant with the same code and it takes 8 hours on another Mac with Intel 2,8 GHz Quad-Core i7 but it takes 76 hours on the Mac with M2 chip. How is that possible? We are already using 8 (highest) CPUs on Docker.
What do you mean by “how much data per participant”? I also attached the related file for one subject (fMRIprep4 image):
Were you reusing FreeSurfer outputs? And as I said in the last answer, you have a lot of extra processing steps (e.g. lots of output spaces, cifti, AROMA, syn-sdc). I do not know why M2 would take that much longer, but it could be because the apps that fMRIPrep uses are not optimized for Mac silicon yet.
If you are worried about time, you can try processing your data on Brainlife.io. It’s free, and you can process large amounts of data simultaneously on the cloud.
Hi Steven! I apologize for the lack of reply. Thank you very much for the suggestion! I’ve tried using Brainlife for the preprocessing part of my resting-state fMRI data but I encountered a strange problem. I downloaded the fMRI-prep output files but most of the files can’t be unzipped. I even transfer them to Windows and it says the zipped file is broken. There was no error message in the analysis. What could be the source of the problem here?
Macbook’s using Archive Utility and I also tried to unzip them with the Unarchiver but I am not sure about the source of the problem. Six of my tar files expanded with no problem but 36 of them didn’t. Is there any other program that works better with .tar files?