Changes between Version 2 and Version 3 of MacM1Notes
- Timestamp:
- Jul 5, 2021 2:54:29 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacM1Notes
v2 v3 1 1 = Installing a Native "Apple Silicon" GSAS-II Version on MacOS = 2 2 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.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 MacOS 11.2.3. 4 4 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].5 As 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]. 6 6 7 7 == Installing Homebrew == … … 13 13 xcode-select --install 14 14 }}} 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) 16 16 3. Install homebrew using command: 17 17 {{{ 18 18 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 19 19 }}} 20 4. To add brew to path, use command: 20 21 4. ** To add brew to path**, use command: 21 22 {{{ 22 23 eval "$(/opt/homebrew/bin/brew shellenv)" … … 44 45 == Install GSAS-II == 45 46 47 These 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 46 49 {{{ 50 eval "$(/opt/homebrew/bin/brew shellenv)" 47 51 mkdir ~/GSASII 48 52 cd ~/GSASII … … 53 57 == Compiling GSAS-II fortran routines == 54 58 55 You probably do not need this. There is now a set of M1 ( ARMaka Apple Silicon) binaries in59 You probably do not need this. There is now a set of M1 (aka ARM, aka Apple Silicon) binaries in 56 60 57 61 This 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