LREN-CHUV / mip-microservices-infrastructure

Generic version of the scripts used to deploy the Medical Informatics Platform
Apache License 2.0
1 stars 9 forks source link

Matlab: get rid of it? #53

Open DimitriPapadopoulos opened 5 years ago

DimitriPapadopoulos commented 5 years ago

Why does MIP require Matlab? And specifically R2016a? For SPM, run the standalone version instead.

ludovicc commented 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.

DimitriPapadopoulos commented 5 years ago

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