AFNI Message Board

History of AFNI updates  

|
June 07, 2022 01:17PM
Hi,

Do you have admin access on your computer?
You can check with:
sudo ls

I am working on some better instructions for macOS 12.3.1 and greater including M1.
But there are no pre-compiled afni binaries for the M1 (or upcoming M2) as of yet.
Soon! Pre-compiled apple silicon (M1 etc) will be faster, but with rosetta 2, it is not that much slower.

If you do have admin access and macOS 12.3.1 or greater, you can try these instructions:
(these may work on macOS 11 and 13, but they have not been tested on those versions)
(these are designed for a brand new system, so you may already have some things installed)
(this assumes you have installed the rosetta 2 system, as you have)
Copy + paste these separately:

cd
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

brew install python netpbm cmake
brew install --cask xquartz

curl -s -L -o R-3.6.3.nn.pkg "https://cran.r-project.org/bin/macosx/el-capitan/base/R-3.6.3.nn.pkg"
sudo installer -pkg R-3.6.3.nn.pkg -target /
rm R-3.6.3.nn.pkg

curl -s -L -o gfortran-6.1.pkg "https://cloud.r-project.org/bin/macosx/tools/gfortran-6.1.pkg"
sudo installer -pkg gfortran-6.1.pkg -target /
rm gfortran-6.1.pkg

touch ~/.zshrc
echo 'export PATH=$PATH:/usr/local/opt/python/libexec/bin' >> ~/.zshrc
echo 'export PATH=$PATH:/Library/Frameworks/R.framework/Resources' >> ~/.zshrc
echo 'export PATH=$PATH:/usr/local/gfortran/bin' >> ~/.zshrc
source ~/.zshrc

Rscript -e "install.packages(c('afex','phia','snow','nlme','lmerTest'),repos='https://cloud.r-project.org')"

curl -O [afni.nimh.nih.gov]
tcsh @update.afni.binaries -package macos_10.12_local -do_extras

afni_system_check.py -check_all


Thanks, Justin
Subject Author Posted

AFNI Download on M1 (macOS Monterey)

mollykwilkinson June 06, 2022 12:25PM

Re: AFNI Download on M1 (macOS Monterey)

discoraj June 07, 2022 01:17PM

Re: AFNI Download on M1 (macOS Monterey)

mollykwilkinson June 08, 2022 03:21PM

Re: AFNI Download on M1 (macOS Monterey)

discoraj June 09, 2022 10:26AM

Re: AFNI Download on M1 (macOS Monterey)

mollykwilkinson June 09, 2022 12:34PM

Re: AFNI Download on M1 (macOS Monterey)

discoraj June 09, 2022 12:42PM

Re: AFNI Download on M1 (macOS Monterey)

mollykwilkinson June 09, 2022 01:01PM

Re: AFNI Download on M1 (macOS Monterey)

discoraj June 09, 2022 01:11PM

Re: AFNI Download on M1 (macOS Monterey)

mollykwilkinson June 09, 2022 01:35PM

Re: AFNI Download on M1 (macOS Monterey)

discoraj June 09, 2022 01:49PM

Re: AFNI Download on M1 (macOS Monterey)

mollykwilkinson June 09, 2022 02:25PM

Re: AFNI Download on M1 (macOS Monterey)

discoraj June 09, 2022 02:29PM

Re: AFNI Download on M1 (macOS Monterey)

mollykwilkinson June 09, 2022 03:00PM

Re: AFNI Download on M1 (macOS Monterey)

discoraj June 09, 2022 03:07PM

Re: AFNI Download on M1 (macOS Monterey)

mollykwilkinson June 09, 2022 03:15PM

Re: AFNI Download on M1 (macOS Monterey)

discoraj June 09, 2022 03:25PM



Sorry, only registered users may post in this forum.

Click here to login