Open DimitriPapadopoulos opened 5 years ago
I wish I could get help on this, many people have promised to help but this has not happened yet.
I don't know how how compile the SPM scripts to be able to use only the Matlab runtime. Once this is done, we will be able to package the SPM tools into Docker containers and get rid of this Matlab dependency.
Which version of SPM are you after? You shouldn't have to compile SPM because a standalone SPM, with a bundled Matlab runtime, has been pre-compiled by FIL.
You should ask fil.spm@ucl.ac.uk for the location of the standalone version. If needed I can send you the location in a private message (mail).
This is how we deploy standalone SPM12 7487 here:
mkdir /i2bm/local/spm12-standalone-7487
cd /i2bm/local/spm12-standalone-7487
unzip /...../spm12_r7487.zip
mv spm12/* .
rmdir spm12
mkdir /i2bm/local/spm12-standalone-7487/mcr
/...../MCR/glnxa64/MCRInstaller.bin -console -P installLocation='/i2bm/local/spm12-standalone-7487/mcr'
./run_spm12.sh /i2bm/local/spm12-standalone-7487/mcr/v713 quit
chmod +x /i2bm/local/spm12-standalone-7487/run_spm12.sh
Why does MIP require Matlab? And specifically R2016a? For SPM, run the standalone version instead.