Hello,
I have a M2 silicon MacBook running macOS Ventura. I am using the latest version of SPM12 (7771). I have tried running my code on MATLAB R2023a and R2023b, with slightly different results. None of the help pages refer to silicon processor macs, I can only find information for Intel.
When I attempt to run my script in R2023b, I receive versions of the following error:
SPM12: spm_preproc_run (v7670) 15:58:32 - 06/10/2023
========================================================================
Warning: spm_existfile is not compiled for your platform.
> In spm_existfile (line 23)
In spm_vol>spm_vol_hdr (line 79)
In spm_vol (line 61)
In spm_load_priors8 (line 21)
In spm_preproc_run>run_job (line 61)
In spm_preproc_run (line 41)
In spm_cfg_preproc8>spm_local_preproc_run (line 474)
In cfg_run_cm (line 29)
In cfg_util>local_runcj (line 1717)
In cfg_util (line 972)
In spm_jobman>fill_run_job (line 469)
In spm_jobman (line 247)
In presurf_biascorrect (line 108)
In presurf_MPRAGEise (line 90)
06-Oct-2023 15:58:32 - Failed 'Segment'
Error using spm_slice_vol
spm_slice_vol.c not compiled - see Makefile
In file "/Users/amysylvester/spm12/spm_slice_vol.m" (v6340), function "spm_slice_vol" at line 32.
In file "/Users/amysylvester/spm12/spm_load_priors8.m" (v5962), function "spm_load_priors8" at line 38.
In file "/Users/amysylvester/spm12/spm_preproc_run.m" (v7670), function "run_job" at line 61.
In file "/Users/amysylvester/spm12/spm_preproc_run.m" (v7670), function "spm_preproc_run" at line 41.
In file "/Users/amysylvester/spm12/config/spm_cfg_preproc8.m" (v7629), function "spm_local_preproc_run" at line 474.
The following modules did not run:
Failed: Segment
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command window, starting
with the lines (look for the line showing the exact #job as displayed in this error message)
------------------
Running job #1
------------------
Entering 'spm' returns this:
Error using spm_check_installation>check_basic
SPM uses a number of MEX files, which are compiled functions.
These need to be compiled for the various platforms on which SPM
is run. It seems that the compiled files for your computer platform
are missing or not compatible. See
https://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Mac_OS_(Intel)
for information about how to compile MEX files for MACA64
in MATLAB 23.2.0.2380103 (R2023b) Update 1.
Error in spm_check_installation (line 28)
check_basic;
Error in spm (line 290)
spm_check_installation('basic');
From what I can determine, I shouldn't have to manually compile the files for my operating system. In R2023a, I do not get the error with spm_check_installation, but I do still get compilation errors from the script.
Any help would be appreciated.
Best,
Amy
|