While processing a large dataset, I discovered that some subjects’ data was unexpectedly interrupted during the pre_freesurfer, freesurfer, and post_freesurfer processing stages. Here are the error logs:
1/ The hco_pre_freesurfer one is because of some permission issues:
line 484: /opt/HCP/HCPpipelines/PreFreeSurfer/scripts/AnatomicalAverage.sh: Permission denied
Could be a bug with the particular version you are using that was probably fixed as the used version is quite old.
2/ hcp_freesurfer says terminated, this is usually if the process hits an allocation walltime or if it runs out of memory. Did you try allocating more resources.
3/ hcp_post_freesurfer could be some kind of a data issue as there are some matrix multiplication incompatibilities:
terminate called after throwing an instance of 'std::logic_error'
what(): matrix multiplication: incompatible matrix dimensions: 0x0 and 4x1
Any reason you are using 0.99.2, this is quite an old version and it could be that most bugs issues were resolved by now. Both us and HCP folks are quite strict when it comes to backwards compatibility. The structural pipeline is completely backwards compatible between the latest version and 0.99.2 so you could try processing the problematic sessions with the latest QuNex version. Also, allocate enogh resources as in some, more problematic cases, the HCP structural pipeline might need more time and memory.
Always thanks for your kindly help. For hcp_freesurfer step, I have tried to run only one subject at a time, but they still stuck at the same place(However, other subjects can be processed sucessfully). Anyway, I will try to use the latest version to see whether the problems will be solved.
Could not open matrix file /mnt/hdd1/yumingz/washingtonu/script/error/sessions/FCS_149_A/hcp/FCS_149_A/T1w/FCS_149_A/mri/transforms/T2wtoT1w.mat
terminate called after throwing an instance of 'std::logic_error'
what(): matrix multiplication: incompatible matrix dimensions: 0x0 and 4x1
/opt/fsl/fsl/share/fsl/bin/convertwarp: line 2: 846577 Aborted
Here is my previous done log in freesurfer step and full error log of post freesurfer:
I used 0.99 version to process my washingtonu data(more than 100 subjects and each subject have 2 or 3 timepoints to scan). However, nearly half of them were failed in freesurfer step with the error I posted here before. Then I extracted all the participants whose processing failed and used the latest version of Qunex to process them, most of them passed the freesurfer step successfully but failed at post freesurfer step(only 5 of them can be processed).
Is this data something you could share? I would need a single sessions that does not work. The problem is that I am unable to reproduce this on my end and thus cannot help you.
I was unable to reproduce this. The session you sent me was processed succesfully through the HCP stuctural pipeline. See attached logs for the configuration I used.