AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
February 18, 2023 03:21PM
Hi AFNI connoisseurs,

I feel this is really basic, so I apologize for my naivety.

I'm attempting to download AFNI onto my personal account within the ComputeCanada cluster.

The main issue I get when checking if the installation ran successfully is that the AFNI binaries cannot be executed.

For installation i followed instructions from here: [afni.nimh.nih.gov]

Is the issue that I am operating via linux and the isntructions were specific to Mac?

Any pointers would be greatly appreciated


p.s. here is the output from afni_system_check.py -check_all :

-------------------------------- general ---------------------------------
architecture: 64bit ELF
cpu type:
system: Linux
release: 3.10.0-1160.76.1.el7.x86_64
version: #1 SMP Wed Aug 10 16:21:17 UTC 2022
distribution: CentOS Linux 7 (Core)
number of CPUs: 40
apparent login shell: bash
shell RC file: .bashrc (exists)

--------------------- AFNI and related program tests ---------------------
which afni : /home/coopapap/AFNIbin/afni
afni version : /bin/sh: /home/coopapap/AFNIbin/afni: cannot execute binary file
:
AFNI_version.txt : AFNI_23.0.04, macos_10.12_local, Feb 13 2023
which python : /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/python/3.8.10/bin/python
python version : 3.8.10
which R : /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/r/4.0.2/bin/R
R version : R version 4.0.2 (2020-06-22) -- "Taking Off Again"
which tcsh : /cvmfs/soft.computecanada.ca/gentoo/2020/bin/tcsh

instances of various programs found in PATH:
afni : 1 (/home/coopapap/AFNIbin/afni)
R : 1 (/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/r/4.0.2/bin/R)
python : 3
/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/python/3.8.10/bin/python3.8
/cvmfs/soft.computecanada.ca/gentoo/2020/usr/bin/python-exec2c
/usr/bin/python2.7
python2 : 2
/cvmfs/soft.computecanada.ca/gentoo/2020/usr/bin/python-exec2c
/usr/bin/python2.7
python3 : 3
/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/python/3.8.10/bin/python3.8
/cvmfs/soft.computecanada.ca/gentoo/2020/usr/bin/python-exec2c
/usr/bin/python3.6


testing ability to start various programs...
afni : FAILURE
/bin/sh: /home/coopapap/AFNIbin/afni: cannot execute binary file
suma : FAILURE
/bin/sh: /home/coopapap/AFNIbin/suma: cannot execute binary file
3dSkullStrip : FAILURE
/bin/sh: /home/coopapap/AFNIbin/3dSkullStrip: cannot execute binary file
uber_subject.py : success
3dAllineate : FAILURE
/bin/sh: /home/coopapap/AFNIbin/3dAllineate: cannot execute binary file
3dRSFC : FAILURE
/bin/sh: /home/coopapap/AFNIbin/3dRSFC: cannot execute binary file
SurfMesh : FAILURE
/bin/sh: /home/coopapap/AFNIbin/SurfMesh: cannot execute binary file
3dClustSim : FAILURE
/bin/sh: /home/coopapap/AFNIbin/3dClustSim: cannot execute binary file
3dMVM : FAILURE
Error in dyn.load(ll) :
unable to load shared object '/home/coopapap/AFNIbin/R_io.so':
/home/coopapap/AFNIbin/R_io.so: invalid ELF header
Calls: source ... withVisible -> eval -> eval -> set_R_io -> dyn.load
Execution halted

checking for R packages...
rPkgsInstall -pkgs ALL -check : success

R RHOME : /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/r/4.0.2/lib64/R

checking for $HOME files...
.afnirc : found
.sumarc : missing
.afni/help/all_progs.COMP : found

------------------------------ python libs -------------------------------
** failed to load module PyQt4
-- PyQt4 is no longer needed for an AFNI bootcamp

++ module loaded: matplotlib.pyplot
module file : /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/scipy-stack/2020a/lib/python3.8/site-packages/matplotlib/pyplot.py
matplotlib version : 3.2.1

-------------------------------- env vars --------------------------------
PATH = /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/r/4.0.2/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/scipy-stack/2020a/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/ipykernel/2020a/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/python/3.8.10/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/CUDA/gcc9/cuda11.0/fsl/6.0.3/fsl/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/wxwidgets/3.1.4/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/expat/2.2.9/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/jbigkit/2.1/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/qt/5.12.8/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Compiler/gcc9/gsl/2.6/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Compiler/gcc9/vtk/8.2.0/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/libgd/2.3.0/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/CUDA/gcc9/cuda11.0/openmpi/4.0.3/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/CUDA/cuda11.0/libfabric/1.10.1/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/CUDA/cuda11.0/ucx/1.8.0/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/CUDA/cuda11.0/gdrcopy/2.1/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/cudacore/11.0.2:/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/cudacore/11.0.2/nvvm/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/cudacore/11.0.2/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin:/home/coopapap/.local/easybuild/software/2020/Core/freesurfer/6.0.1/tktools:/home/coopapap/.local/easybuild/software/2020/Core/freesurfer/6.0.1/mni/bin:/home/coopapap/.local/easybuild/software/2020/Core/freesurfer/6.0.1/fsfast/bin:/home/coopapap/.local/easybuild/software/2020/Core/freesurfer/6.0.1/bin:/cvmfs/restricted.computecanada.ca/easybuild/software/2020/Core/matlab/2021a.5:/cvmfs/restricted.computecanada.ca/easybuild/software/2020/Core/matlab/2021a.5/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/java/13.0.2:/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/java/13.0.2/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/mii/1.1.2/bin:/cvmfs/soft.computecanada.ca/easybuild/bin:/cvmfs/soft.computecanada.ca/custom/bin:/cvmfs/soft.computecanada.ca/gentoo/2020/usr/sbin:/cvmfs/soft.computecanada.ca/gentoo/2020/usr/bin:/cvmfs/soft.computecanada.ca/gentoo/2020/sbin:/cvmfs/soft.computecanada.ca/gentoo/2020/bin:/cvmfs/soft.computecanada.ca/custom/bin/computecanada:/home/coopapap/AFNIbin:/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Core/r/4.0.2/bin/R:/opt/software/slurm/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/home/coopapap/.local/bin:/home/coopapap/bin

PYTHONPATH = /cvmfs/soft.computecanada.ca/easybuild/python/site-packages:/cvmfs/soft.computecanada.ca/custom/python/site-packages

R_LIBS = /home/coopapap/R

LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH = :/opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace

DYLD_FALLBACK_LIBRARY_PATH =

----------------------------- eval dot files -----------------------------

-- good: .tcshrc seems to contain 'source .cshrc'
-- considered opertaions: path, flatdir, apsearch
(not on a mac, should skip flatdir)

-- note: followers should not need edits, so edit flags should be 0
(have 1 follower(s), which can be ignored)

dot file test : want 2 modifications across 3 files:

file path flatdir apsearch follower
--------------- ---- ------- -------- --------
.cshrc 1 0 1 0
.tcshrc 0 0 0 1
.bashrc 0 0 0 0

------------------------------ data checks -------------------------------
data dir : found AFNI_data6 under $HOME (109595431M Avail)
top history: 20 Feb 2020 [rickr]: updated FT_analysis examples
data dir : found AFNI_demos under $HOME
top history: ...ct 2020 [taylorp]: updated scripts under FATCAT_DEMO
data dir : found suma_demo under $HOME
top history: ...s_New/data/Build_tmp on Mon Mar 4 11:56:45 EST 2013
data dir : found afni_handouts under $HOME
atlas : found TT_N27+tlrc under /home/coopapap/AFNIbin

------------------------------ OS specific -------------------------------
which yum : /usr/bin/yum
yum version : 3.4.3


========================= summary, please fix: =========================
* just be aware: login shell 'bash', but our code examples use 'tcsh'
* AFNI programs show FAILURE
* please run: "suma -update_env" for .sumarc
* dot file test : want 2 modifications across 3 files:
Subject Author Posted

Cannot execute binary files

coopapap February 18, 2023 03:21PM

Re: Cannot execute binary files

rick reynolds February 18, 2023 09:31PM

Re: Cannot execute binary files

coopapap February 20, 2023 01:21PM

Re: Cannot execute binary files

rick reynolds February 20, 2023 02:04PM

Re: Cannot execute binary files

coopapap February 21, 2023 02:08PM

Re: Cannot execute binary files

rick reynolds February 22, 2023 04:11PM

Re: Cannot execute binary files Attachments

coopapap February 23, 2023 02:16PM

Re: Cannot execute binary files

rick reynolds February 23, 2023 02:40PM