Unfortunately, tensorflow and M1 don’t mix well at the moment. Not sure if there is a universal fix yet.

 

Rob, do you remember where the mac-specific TF package can be installed from?

 

Best,

Andrew

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Abdelkarim, Ahmed <a.karam@ucl.ac.uk>
Date: Tuesday, July 12, 2022 at 9:29 AM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] SynthSR: Illegal Hardware Instruction

        External Email - Use Caution        

Hello

 

I have an issue getting SynthSR working with FreeSurfer dev.

I have MacBook Pro with apple M1 chip and MacOS Monterey. 

In bash terminal, after setting up FreeSurfer, and running the SynthSR command, I get this error ‘’Illegal instruction: 4’’. 

Have you had a similar issue before? Any advice?

 

Many thanks in advance.

 

Regards

Ahmed