T1 Volume Processing Nipype Error

14 views
Skip to first unread message

SHIYUN WA

unread,
Oct 3, 2025, 7:51:13 PMOct 3
to Clinica

Hi Clinica Team,

There are some bugs when we run the command `clinica run t1-volume [OPTIONS] BIDS_DIRECTORY CAPS_DIRECTORY GROUP_LABEL` to process the MRI in the BIDS directory. I attached the complete error information and the sbatch script we used in a separate file.

Our clinica conda environment is built on a cluster server, and we have some built-in MATLAB modules in it:

`matlab/r2018a    matlab/r2021a    matlab/r2021b    matlab/r2023a    matlab/r2023b    matlab/r2024a    matlab/r2025a    matlab/r2025b`

We followed the SPM wiki instructions to install `spm_25.01.02.zip` and `spm12_updates_r7771.zip`. In the sbatch script file, we exported the path of spm and loaded the MATLAB module. I tried to explicitly add spm path to the loaded Matlab module, but the bug always exists no matter I include this or not.

So, based on some possible reasons about the bug, my question is:

  1. When installing SPM, are we supposed to only use SPM12? If so, how can we find the old SPM12 zip file? Their Github release doesn’t provide it now, only the source code (https://github.com/spm/spm12) is available.
  2. Regarding MATLAB, can we load the available modules in our cluster? Or do we still need to directly install a MATLAB runtime and then install SPM12 standalone accordingly?

Thank you for your time and help in advance!

Best,

Shiyun


slurm-clinica_caps.txt

Alice Joubert

unread,
Oct 20, 2025, 5:05:02 AM (4 days ago) Oct 20
to Clinica
Hello,

Sorry for the delayed response. 

- What version of clinica + SPM set-up (SPM standalone yes or no, version + MATLAB or MCR) did you use when you obtained that log file ? It looks like an error that was fixed in the previous months but I want to make sure.

- Yes we cannot find the old version of SPM12 either. We are currently working on a release to provide a solution for all clinica users to adapt for SPM25 standalone in T1-Volume and PET-Volume pipelines. It should be released next week if all goes well.

- With that solution you would need the MCR and SPM standalone versions and could not use your modules anymore. Would that be a problem for you ?

Best,

Alice
Reply all
Reply to author
Forward
0 new messages