Skip to content

recent versions of FreeSurfer depend on a more recent MCR than documented #18300

@migueldiascosta

Description

@migueldiascosta

Using FreeSurfer 7.3.2 we got this error


$eb_prefix/software/FreeSurfer/7.3.2-centos7_x86_64/MCRv97

It is looking for either:
  bin/glnxa64/libmwlaunchermain.so    (Linux 64b) or
  bin/maci64/libmwlaunchermain.dylib (Mac 64b)

The hippocampal/amygdala and brainstem modules require the (free) Matlab runtime.
You will need to download the Matlab Compiler Runtime (MCR) for Matlab 2019b.
To do so, please run the following command (you might need root permissions):

fs_install_mcr R2019b

For further details, please visit https://surfer.nmr.mgh.harvard.edu/fswiki/MatlabRuntime

The easyconfig in eb uses the MCR that is recommended in that page, MCR 8.4 (R2014b), but it seems at some point that changed and the documentation was not updated. It works for us if we use MCR 9.7 (R2019b) as an easybuild dependency and create a link to it in the FreeSurfer install dir.

Does anyone with knowledge of FreeSurfer know the exact mapping of FreeSurfer and MCR versions so we can fix the relevant easyconfigs?

cc @sassy-crick, @maxim-masterov, @btlindert

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions