FreeSurfer 7.4.1: error with matlab compiler runtime, when trying to do thalamic segmentation (to ultimately use TRACULA) #392
-
Dear all, I am experimenting with using FreeSurfer (version 7.4.1) on the local neurodesk app, using one locally saved MR image (which I imported into the local neurodesk app using the drag and drop method). I successfully ran: export SUBJECTS_DIR=/home/jovyan/Desktop My ultimate goal is to run TRACULA on this image. As the next step in the TRACULA processing pipeline, I then tried to run: segmentThalamicNuclei.sh testbrain This failed immediately. I got an error that said: The hippoacmpal/amygdala and brainstem modules require the (free) Matlab runtime. You will need to download the Matlab Compiler Runtime (MCR) for Matlab 2019b. To do so, please run the following command (you might need root permissions): fs_install_mcr R2019b. In response to that, I ran the suggested line: fs_installer_mcr R2019b This ran for a while, and I then got an error that said: Exiting with status 0. End - successful. Finished. mv: inter-device move failed: '/tmp/tmp.8q9mEpXWMe/install-target/v97' to '/opt/freesurfer-7.4.1/MCRv97'; unable to remove target: Read-only file system' It seems like I might have a root permissions issue? Hoping to get around any sort of root permissions issue, I ran: sudo fs_installer_mcr R2019b This failed, as the command was not found. And now, I'm a bit stuck! I did some googling and looked through these messageboards, but couldn't find anything to help me solve this issue. So, I am hoping someone might be able to help me. I need to run this thalamic segmentation to try to run TRACULA (which is my ultimate goal). How do I get around these (seemingly) root permissions/read only permissions issues, install this mcr thing, or otherwise successfully run segmentThalamicNuclei.sh? Any assistance or guidance you might be able to provide would be so greatly appreciated. If there is any more information I can provide, please let me know. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Dear @emilyharriott, We will add this MCR version and release a new version of the freesurfer container. I let you know when you can test :) Thank you |
Beta Was this translation helpful? Give feedback.
Dear @emilyharriott,
Yes, the problem is that this MCR version is not installed inside the freesurfer container. To enable reproducible workflows it is not possible for you to install things in addition. Once this MCR version is installed, segmentThalamicNuclei should work nicely.
Once the new container is released, you shouldn't need to do anything - I will replace the same container version, because it's only the addition of the matlab runtime environment. Let's see if this works :)
Thank you
Steffen