SPM on Biowulf
SPM12 logo

SPM (Statistical Parametric Mapping) is an interactive application that performs statistical analyses of brain imaging data. Statistical Parametric Mapping refers to the construction and assessment of spatially extended statistical processes used to test hypotheses about functional imaging data. The data that can be analyzed by SPM can be a series of images from different cohorts or time-series from the same subject. The current release is designed for the analysis of fMRI, PET, SPECT, EEG and MEG. The current version of SPM is SPM12 which has had several updates since 2014.

References:

Documentation

IMPORTANT: The documentation and examples below refer to the compiled/stand-alone version of SPM.
For the uncompiled version of SPM you will need to run Matlab first, then load the SPM toolbox using nih_matmode load spm. For more details and an example of how to run the uncompiled version of SPM please refer to our Matlab documentation.

Important Notes

Interactive job
Interactive jobs should be used for debugging, graphics, or applications that cannot be run as batch jobs.

Allocate an interactive session and run the program.
Sample session (user input in bold):

[user@biowulf]$ sinteractive
salloc.exe: Pending job allocation 46116226
salloc.exe: job 46116226 queued and waiting for resources
salloc.exe: job 46116226 has been allocated resources
salloc.exe: Granted job allocation 46116226
salloc.exe: Waiting for resource configuration
salloc.exe: Nodes cn1234 are ready for job

[user@cn1234 ~]$ module load spm12
[+] Loading spm12 7870  on cn1234 

[user@cn1234 ~]$ spm12 &
Loading SPM12, please wait...

You should be able to see the main SPM12 GUI window, and, after choosing a modality, the main SPM12 window for that modality:

SPM12 Welcome Screen

SPM12 fMRI Screen