Hello AFNI gurus,
I apologize in advance for my tech knowledge deficiencies…I am trying to update our installation of AFNI on our compute resource (linux) for multiple users. I successfully updated AFNI for myself, however, when I try to do so for multiple users it seems to actually lead to making it so I can’t call afni as a single user anymore either. This is what it know gives me when I try afni -ver
tue50988@cla19097:~$ afni -ver
-bash: /usr/local/abin/afni: cannot execute binary file: Exec format error
I tried updating using some code found online in searching for how-to’s. I have copied the code and output below. THANK YOU!
tue50988@cla19097:~$ tcsh @update.afni.binaries -package macos_10.12_local -do_extras
– running @update.afni.binaries version 3.20, May 3, 2022
– have AFNI binaries under /usr/local/abin
– install dir: using existing /usr/local/abin
– any downloads will be from https://afni.nimh.nih.gov via wget
– attempting to install package macos_10.12_local under
install dir: /usr/local/abin…
– have install dir
++ working in new temp dir, .tmp.install
++ getting install prog: wget bin/misc/@update.afni.binaries …
wget https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries
–2022-05-30 09:10:48-- https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries
Resolving afni.nimh.nih.gov (afni.nimh.nih.gov)… 156.40.187.114, 2607:f220:419:4103::114
Connecting to afni.nimh.nih.gov (afni.nimh.nih.gov)|156.40.187.114|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 49912 (49K) [text/plain]
Saving to: ‘@update.afni.binaries’
@update.afni.binaries 100%[=====================================================================>] 48.74K --.-KB/s in 0.02s
2022-05-30 09:10:48 (2.49 MB/s) - ‘@update.afni.binaries’ saved [49912/49912]
– fixing lost permissions on @update.afni.binaries
– @update.afni.binaries is current, continuing with this version…
++ downloading test file: wget macos_10.12_local/afni …
–2022-05-30 09:10:48-- https://afni.nimh.nih.gov/pub/dist/bin/macos_10.12_local/afni
Resolving afni.nimh.nih.gov (afni.nimh.nih.gov)… 156.40.187.114, 2607:f220:419:4103::114
Connecting to afni.nimh.nih.gov (afni.nimh.nih.gov)|156.40.187.114|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 12275956 (12M)
Saving to: ‘afni’
afni 100%[=====================================================================>] 11.71M 77.1MB/s in 0.2s
2022-05-30 09:10:48 (77.1 MB/s) - ‘afni’ saved [12275956/12275956]
++ no update needed
tue50988@cla19097:~$ cp $HOME/abin/AFNI.afnirc $HOME/.afnirc
cp: cannot stat ‘/home/local/TU/tue50988/abin/AFNI.afnirc’: No such file or directory
tue50988@cla19097:~$ suma -update_env
-bash: /usr/local/abin/suma: cannot execute binary file: Exec format error