Hello,
I recently tried to recompiled afni on my M1 computer to prepare for the next bootcamp; However, it seems some of the program where not able to compile:
tail -f /Users/edelaire1/afni_build/build_src/log_test.txt shows me:
failed progs: 1dRplot 3dICC 3dISC 3dLME 3dLMEr 3dMEMA 3dMEPFM 3dMSS 3dMVM 3dPFM 3dRprogDemo 3dSignatures ExamineXmat MBA PTA RBA TRR
Also, interestingly, if I run 'afni_system_check.py -check_all' from bash; I get some error:
-------------------------------- general ---------------------------------
architecture: 64bit
cpu type: i386
system: Darwin
release: 23.0.0
version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:34 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8103
distribution: 10.16
number of CPUs: 8
apparent login shell: bash
shell RC file: .bashrc (exists)
--------------------- AFNI and related program tests ---------------------
which afni : /Users/edelaire1/abin/afni
afni version : Precompiled binary macos_13_ARM_clang: Mar 22 2024
: AFNI_24.0.16 'Caracalla'
AFNI_version.txt : AFNI_24.0.16, macos_13_ARM_clang, Mar 22 2024, build
which python : /Users/edelaire1/miniconda3/bin/python
python version : 3.7.6
which R : /usr/local/bin/R
R version : R version 4.3.3 (aarch64-apple-darwin20)
instances of various programs found in PATH:
afni : 1 (/Users/edelaire1/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/bin/R)
python : 1 (/Users/edelaire1/miniconda3/bin/python3.7)
python2 : 0
python3 : 4
/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/opt/homebrew/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/Users/edelaire1/miniconda3/bin/python3.7
/usr/bin/python3
** have python3 but not python2
testing ability to start various programs...
afni : success
suma : success
3dSkullStrip : success
3dAllineate : success
3dRSFC : success
SurfMesh : success
3dClustSim : success
uber_subject.py : success
3dMVM : FAILURE
Erreur dans library(data.table) :
aucun package nommĂ© âdata.tableâ n'est trouvĂ©
Appels : source ... suppressPackageStartupMessages -> withCallingHandlers -> library
ExĂ©cution arrĂȘtĂ©e
------------------------ dependent program tests -------------------------
checking for dependent programs...
which tcsh : /bin/tcsh
which Xvfb : /opt/X11/bin/Xvfb
checking for R packages...
rPkgsInstall -pkgs ALL -check : FAILURE
oo Warning:
These packages are not installed on the computer: afex!
These packages are not installed on the computer: phia!
These packages are not installed on the computer: snow!
These packages are not installed on the computer: lme4!
These packages are not installed on the computer: lmerTest!
These packages are not installed on the computer: gamm4!
These packages are not installed on the computer: data.table!
These packages are not installed on the computer: paran!
These packages are not installed on the computer: psych!
These packages are not installed on the computer: brms!
These packages are not installed on the computer: corrplot!
These packages are not installed on the computer: metafor!
R RHOME : /Library/Frameworks/R.framework/Resources
------------------------------ python libs -------------------------------
++ module loaded: matplotlib.pyplot
module file : /Users/edelaire1/miniconda3/lib/python3.7/site-packages/matplotlib/pyplot.py
matplotlib version : 3.4.3
** failed to load module flask
-- flask is not required, but is desirable
** failed to load module flask_cors
-- flask_cors is not required, but is desirable
-- python binaries under /usr/local/bin:
/usr/local/bin/python3 (sym link to /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12)
/usr/local/bin/python3.8 (sym link to /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8)
-------------------------------- env vars --------------------------------
PATH = /Library/Frameworks/Python.framework/Versions/3.12/bin:/Users/edelaire1/.local/bin:/Users/edelaire1/VulkanSDK/1.3.275.0/macOS/lib/:/Applications/MATLAB_R2023b.app/bin:/Applications/BrainSuite21a/bdp/:/Applications/BrainSuite21a/bin/:/Users/edelaire1/fsl/share/fsl/bin:/Users/edelaire1/fsl/share/fsl/bin:/Applications/freesurfer/7.3.2/bin:/Applications/freesurfer/7.3.2/fsfast/bin:/Applications/freesurfer/7.3.2/mni/bin:/Users/edelaire1/.local/bin/:/opt/homebrew/opt/ruby@3.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/edelaire1/miniconda3/bin:/Users/edelaire1/miniconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/edelaire1/abin
PYTHONPATH (sub-shell) =
R_LIBS (sub-shell) = /Users/edelaire1/sw/R-4.3.3
LD_LIBRARY_PATH = /Users/edelaire1/VulkanSDK/1.3.275.0/macOS/lib/:
DYLD_LIBRARY_PATH (sub-shell) = :/opt/X11/lib/flat_namespace
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) =
CONDA_SHLVL = 1
CONDA_DEFAULT_ENV = base
----------------------------- eval dot files -----------------------------
----------- AFNI $HOME files -----------
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found
--------- shell startup files ----------
-- good: .tcshrc seems to contain 'source .cshrc'
-- considered operations: path, apsearch
-- note: followers should not need edits, so edit flags should be 0
(have 1 follower(s), which can be ignored)
no modifications needed across 3 dot files
------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /Users/edelaire1/abin
------------------------------ OS specific -------------------------------
XQuartz version : 2.8.5
which brew : /opt/homebrew/bin/brew
brew version : Homebrew 4.2.14
========================= summary, please fix: =========================
* just be aware: login shell 'bash', but our code examples use 'tcsh'
* shell bash: consider sourcing (non-login) .bashrc from (login) .bash_profile
* AFNI programs show FAILURE
* missing R packages (see rPkgsInstall)
* insufficient data for AFNI bootcamp
(see "Prepare for Bootcamp" on install pages)
* consider installing gcc under homebrew
* consider installing glib under homebrew
But they disappear if I switch to tcsh :
-------------------------------- general ---------------------------------
architecture: 64bit
cpu type: i386
system: Darwin
release: 23.0.0
version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:34 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8103
distribution: 10.16
number of CPUs: 8
apparent login shell: bash (current shell is csh)
shell RC file: .tcshrc (exists)
--------------------- AFNI and related program tests ---------------------
which afni : /Users/edelaire1/abin/afni
afni version : Precompiled binary macos_13_ARM_clang: Mar 22 2024
: AFNI_24.0.16 'Caracalla'
AFNI_version.txt : AFNI_24.0.16, macos_13_ARM_clang, Mar 22 2024, build
which python : /Users/edelaire1/miniconda3/bin/python
python version : 3.7.6
which R : /usr/local/bin/R
R version : R version 4.3.3 (aarch64-apple-darwin20)
instances of various programs found in PATH:
afni : 1 (/Users/edelaire1/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/bin/R)
python : 1 (/Users/edelaire1/miniconda3/bin/python3.7)
python2 : 0
python3 : 4
/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/opt/homebrew/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/Users/edelaire1/miniconda3/bin/python3.7
/usr/bin/python3
** have python3 but not python2
testing ability to start various programs...
afni : success
suma : success
3dSkullStrip : success
3dAllineate : success
3dRSFC : success
SurfMesh : success
3dClustSim : success
uber_subject.py : success
3dMVM : success
------------------------ dependent program tests -------------------------
checking for dependent programs...
which tcsh : /bin/tcsh
which Xvfb : /opt/X11/bin/Xvfb
checking for R packages...
rPkgsInstall -pkgs ALL -check : success
R RHOME : /Library/Frameworks/R.framework/Resources
------------------------------ python libs -------------------------------
++ module loaded: matplotlib.pyplot
module file : /Users/edelaire1/miniconda3/lib/python3.7/site-packages/matplotlib/pyplot.py
matplotlib version : 3.4.3
** failed to load module flask
-- flask is not required, but is desirable
** failed to load module flask_cors
-- flask_cors is not required, but is desirable
-- python binaries under /usr/local/bin:
/usr/local/bin/python3 (sym link to /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12)
/usr/local/bin/python3.8 (sym link to /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8)
-------------------------------- env vars --------------------------------
PATH = /Library/Frameworks/Python.framework/Versions/3.12/bin:/Users/edelaire1/.local/bin:/Users/edelaire1/VulkanSDK/1.3.275.0/macOS/lib/:/Applications/MATLAB_R2023b.app/bin:/Applications/BrainSuite21a/bdp/:/Applications/BrainSuite21a/bin/:/Users/edelaire1/fsl/share/fsl/bin:/Users/edelaire1/fsl/share/fsl/bin:/Applications/freesurfer/7.3.2/bin:/Applications/freesurfer/7.3.2/fsfast/bin:/Applications/freesurfer/7.3.2/mni/bin:/Users/edelaire1/.local/bin/:/opt/homebrew/opt/ruby@3.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/edelaire1/miniconda3/bin:/Users/edelaire1/miniconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/edelaire1/abin:/Users/edelaire1/abin:/Users/edelaire1/abin
PYTHONPATH (sub-shell) =
R_LIBS = /Users/edelaire1/sw/R-4.3.3
LD_LIBRARY_PATH = /Users/edelaire1/VulkanSDK/1.3.275.0/macOS/lib/:
DYLD_LIBRARY_PATH (sub-shell) = /opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) =
CONDA_SHLVL = 1
CONDA_DEFAULT_ENV = base
----------------------------- eval dot files -----------------------------
----------- AFNI $HOME files -----------
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found
--------- shell startup files ----------
-- good: .tcshrc seems to contain 'source .cshrc'
-- considered operations: path, apsearch
-- note: followers should not need edits, so edit flags should be 0
(have 1 follower(s), which can be ignored)
no modifications needed across 3 dot files
------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /Users/edelaire1/abin
------------------------------ OS specific -------------------------------
XQuartz version : 2.8.5
which brew : /opt/homebrew/bin/brew
brew version : Homebrew 4.2.14
-- consider installing gcc under homebrew
-- consider installing glib under homebrew
========================= summary, please fix: =========================
* just be aware: login shell 'bash', but our code examples use 'tcsh'
* shell bash: consider sourcing (non-login) .bashrc from (login) .bash_profile
* insufficient data for AFNI bootcamp
(see "Prepare for Bootcamp" on install pages)
is there any issue with my installation ? the fact that the second afni check shows no error make me thing it's ok; but I want to be sure :)
Edouard