Hi Anand,
Before I forget to mention it, thank you for stating the exact command that you used
(and which didn't work). Stating exactly what you do really helps others to give you
useful feedback.
I have a few comments that may or may not be of help.
- Get AFNI working under Linux first. Don't even think about using it under Windows
(at least for now).
- The syntax of your "set path" command is not quite correct. Parentheses are
requred there (the path variable is actually an array - a list of directories).
set path = ( $path /new/usr/local )
- Did you put the AFNI binaries (afni, to3d, ...) in the /new/usr/local directory?
If you have not yet done that (and perhaps, even if you have), Bob's suggestion
is a really good one (putting them in the '/usr/local/abin' directory).
The '/usr/local' directory tree is conventionally for software that you add to your
system, for everyone to access. Under that, create an 'abin' directory to store all
of the afni binaries.
So at this point, the command "ls -l /usr/local/abin/to3d" should show you that
AFNI's to3d program does indeed exist there.
- If you do move the binaries to '/usr/local/abin', then the "set path" command that you
will probably put in your '.cshrc' file (in your home directory) is:
set path = ( $path /usr/local/abin )
- Once you do this, and if this is the first time you have done this sort of thing, just
open a new terminal window to test it.
In this new window, try to run afni (actually type the command "afni" ).
- One last comment.
One of the next "HowTo" packages will be on installing AFNI (on a Linux system).
Of course, this will be way too late for you, but I just thought to mention it.
BTW (again, as Bob mentioned), if you are new to working with AFNI (and Linux
for that matter), the HowTo packages have a lot of good material in them, and they
are set up for on-line browsing (or to be downloaded, especially to practice running
the included scripts with the included data).
That is at the same HowTo site:
[
afni.nimh.nih.gov]
- Rick