SIMEXP / niak

GNU Octave library for connectivity analysis in large fMRI datasets
http://niak.simexp-lab.org
Other
27 stars 21 forks source link

spm crashes in recent containers #373

Closed pbellec closed 5 years ago

pbellec commented 6 years ago

@angela-tam has started to integrate spm tools in psom/niak, in her spm_container project.

With the boss containers spm12 compiles and runs smoothly.

Unfortunately with the cog containers we get an error, e.g.

[in2,out2,opt2] = spm_brick_realign (in, out, opt);
error: octave_base_value::write(): wrong type argument 'int16 scalar'
pbellec commented 6 years ago

Note from https://en.wikibooks.org/wiki/SPM/Octave For compilation of the SPM MEX files for Octave, run the following:

cd /home/login/spm12/src
make distclean PLATFORM=octave
make PLATFORM=octave && make install PLATFORM=octave
poquirion commented 6 years ago

I had problems with linkage of the dependencies in the containers. I had to explicitly export the libraries in the LD_PATH before compilation: I will need to check the mex spm compilation details... All the 64 bit octave dependencies are in /opt/all64 (!)