Skip to content

"mat2file.c not compiled" when running SPM12 realign and reslice in an Octave-kernel Jupyter notebook #1

@jsheunis

Description

@jsheunis

Hi @gllmflndn

I'm trying out SPM12 with Octave on Binder (see repository here). I've set up a Jupyter notebook environment with an Octave kernel basically like you have done here (thanks!).

Now I've started testing some SPM12 processing steps and I'm getting an error when trying to run realign and reslice with a batch script:

11-Apr-2020 12:46:14 - Failed  'Realign: Estimate & Reslice'
mat2file.c not compiled - see Makefile
In file "/home/jovyan/spm12/@file_array/private/mat2file.m" (v7147), function "mat2file" at line 16.
In file "/home/jovyan/spm12/@file_array/subsasgn.m" (v7147), function "subsasgn>subfun" at line 164.
In file "/home/jovyan/spm12/@file_array/subsasgn.m" (v7147), function "subsasgn" at line 85.
In file "/home/jovyan/spm12/spm_write_plane.m" (v6079), function "spm_write_plane" at line 31.
In file "/home/jovyan/spm12/spm_write_vol.m" (v5731), function "spm_write_vol" at line 84.
In file "/home/jovyan/spm12/spm_reslice.m" (v7141), function "spm_reslice>reslice_images" at line 248.
In file "/home/jovyan/spm12/spm_reslice.m" (v7141), function "spm_reslice" at line 136.
In file "/home/jovyan/spm12/config/spm_run_realign.m" (v7141), function "spm_run_realign" at line 44.

I've browsed some mailing list questions and it looks like this was previously solved by reinstalling SPM12, although I suspect most of these issues were on standalone desktops.

I'm guessing this line in the postBuild file is supposed to install everything correctly?

Do you have an idea if this issue could be Binder-related, or perhaps a suggestion of what else I could try?

Best, Stephan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions