External Email - Use Caution
Dear FreeSurfer Team,
I have been trying to use the parallel command (following FreeSurfer tutorial) to run multiple subjects (Windows os running Ubuntu VM).
I only have 2 cores, so I have it set to 2 jobs instead of 8 as in the tutorial. When I use the code from the tutorial, there is an error with the .nii, and I assume it is because my files are .nii.gz.
developer@developer-VirtualBox:~/FreeSurfer/Cannabis_Reduced$ ls *.nii | parallel --jobs 3 recon-all -s {.} -i {} -all -qcache
ls: cannot access '*.nii': No such file or directory
So I changed the code to .gz with everything else the same, and FreeSurfer does nothing (it stalls/freezes). Is this just because my computer cannot handle the job? Is there anything else I can do to run parallel? If not, I can always just run 1 subject at a time, but I want to check and see if there is another way to get this to work.
Thank you for your time!
Joanna