-
Hi Now when I try to use recon-all it tries to write into the module filesystem but finds it is read only. That makes sense, normally for FS one sets a variable pointing to where the output should go: So I set it, but it looks like the variable is not handed to the sandbox recon-all is in? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Dear @mschira, Yes, that looks like a bug. The environment variables should be passed inside the container, but if this error comes up then this didn't happen. I have a look and see if I can reproduce the problem. Thank you |
Beta Was this translation helpful? Give feedback.
-
Sounds good. Ideally, I would probably suggest that the variable I have been using freesurfer a bit on CVL@Massive and the first I do is right after loading the module is
While talking about CVL, I checked a few things which I feel may help you.
I could change into that folder, it does contain a bunch of 'subjects' that are part of the basic freesurfer installation. On the other hand for Neurodesktop on Nectar cloud:
That is the same for all other freesurfer modules on Neurodesktop. |
Beta Was this translation helpful? Give feedback.
-
Dear @mschira, I had a look at this problem and identified the issue. The problem is caused by an update in singularity and singularity changed how they handle environment variables. In singularity versions older than 3.6 external variables overwrite internal variables. In newer versions this is not the case anymore and it has to be explicilty set. A workaround for you for now is the following: |
Beta Was this translation helpful? Give feedback.
Dear @mschira,
I had a look at this problem and identified the issue. The problem is caused by an update in singularity and singularity changed how they handle environment variables. In singularity versions older than 3.6 external variables overwrite internal variables. In newer versions this is not the case anymore and it has to be explicilty set.
A workaround for you for now is the following:
define a variable called export SINGULARITYENV_SUBJECTS_DIR=/home/mshira/fssubjects - this will then overwrite SUBJECTS_DIR inside freesurfer.