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  

|
November 17, 2021 01:22PM
Dear all,

after already reinstalling AFNI a couple of times on my old laptop (due to some bug fixing problems back then) I thought that I would easily handle the installation of AFNI on my new laptop, since I know it by heart. Well, a new laptop led to new problems.

It is a 2021 MacBook with the current MacOS 12.0.1 Monterey. I use the Zsh shell, but I face the following problem with using the tcsh and bash shells for the installation as well. In the following step of AFNI’s installation guide:
----------
Set default AFNI+SUMA environment variables
Copy+paste:
cp $HOME/abin/AFNI.afnirc $HOME/.afnirc
suma -update_env
----------

I receive "suma: Command not found." as output. I cannot start AFNI now. Homebrew, Xcode, etc. are all installed. afni_system_check.py -check_all also does not work. Well, AFNI is not properly installed/set up, so the terminal tells me that it does not know these commands. I would be very happy if you could give me an idea or tips. Meanwhile I will try to solve the problem on my own (lets see how far I can reach). Thank you.

Philipp


A second more general question. Take a look at the following code that is part of the installation process.

touch ~/.cshrc
echo 'if ( $?DYLD_LIBRARY_PATH ) then' >> ~/.cshrc
echo ' setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:/opt/X11/lib/flat_namespace' >> ~/.cshrc
echo 'else' >> ~/.cshrc
echo ' setenv DYLD_LIBRARY_PATH /opt/X11/lib/flat_namespace' >> ~/.cshrc
echo 'endif' >> ~/.cshrc

touch ~/.bashrc
echo 'export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/opt/X11/lib/flat_namespace' >> ~/.bashrc

In order to align/adapt this code to zsh, would it be appropriate to exchange the "cshrc" lines to "zshrc" while skipping the last "bash" part?



Edited 2 time(s). Last edit at 11/17/2021 01:26PM by Philipp.
Subject Author Posted

Cant install AFNI - "suma: Command not found."

Philipp November 17, 2021 01:22PM

Re: Cant install AFNI - "suma: Command not found."

Philipp November 17, 2021 02:14PM

Re: Cant install AFNI - "suma: Command not found."

rick reynolds November 17, 2021 03:30PM

Re: Cant install AFNI - "suma: Command not found."

Philipp November 17, 2021 03:51PM