Changes between Version 2 and Version 3 of MacM1Notes


Ignore:
Timestamp:
Jul 5, 2021 2:54:29 PM (5 months ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MacM1Notes

    v2 v3  
    11= Installing a Native "Apple Silicon" GSAS-II Version on MacOS =
    22
    3 After something like 4 months of occasional trial and much error, I was finally able to get GSAS-II to run on a ARM Mac running 11.2.3.
     3After something like 4 months of occasional trial and much error, I was finally able to get GSAS-II to run on a ARM Mac running MacOS 11.2.3.
    44
    5 As of right now (6/24/21), Anaconda is not supporting ARM Macs and the wxpython version of miniforge is broken, so I had to install Python and associated packages with [https://brew.sh homebrew].
     5As I write this (6/24/21), Anaconda is not supporting ARM Macs and the wxpython version of miniforge is broken, so I had to install Python and associated packages with [https://brew.sh homebrew].
    66
    77== Installing Homebrew ==
     
    1313xcode-select --install
    1414}}}
    15  1. Log into a admin account (I used `su admin` in a terminal)
     15 1. Log into a admin account (I used `su admin` in a terminal running as a standard user)
    1616 3. Install homebrew using command:
    1717{{{
    1818/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    1919}}}
    20  4. To add brew to path, use command:
     20
     21 4. ** To add brew to path**, use command:
    2122{{{
    2223eval "$(/opt/homebrew/bin/brew shellenv)"
     
    4445== Install GSAS-II ==
    4546
     47These steps are best done from a user account rather than an admin account. You can log out of the admin account or simply close the terminal window used before and open a new one.
     48
    4649{{{
     50eval "$(/opt/homebrew/bin/brew shellenv)"
    4751mkdir ~/GSASII
    4852cd ~/GSASII
     
    5357== Compiling GSAS-II fortran routines ==
    5458
    55 You probably do not need this. There is now a set of M1 (ARM aka Apple Silicon) binaries in
     59You probably do not need this. There is now a set of M1 (aka ARM, aka Apple Silicon) binaries in
    5660
    5761This was fairly hard and I don't know what steps were required in retrospect. Also, it might have been better to use `brew install gfortran scons` rather than using miniforge to install gfortran. (I downloaded https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh from