AFNI installation on Redhat 6 Cluster with Conda

Hello all

We have a computational cluster in the University and we would like to have AFNI installed for multiple users. The individual nodes run Redhat 6 and the preferred installation is through Conda. I ran the following commands but running into an error. Any help/fix is really appreciated…

$ conda install -c hcc afni
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package → Available versionsThe following specifications were found to be incompatible with your system:

  • feature:/linux-64::__glibc==2.17=0
  • afni → libgcc-ng[version=‘>=9.3.0’] → __glibc[version=‘>=2.17’]
  • python=2.7 → libgcc-ng[version=‘>=7.3.0’] → __glibc[version=‘>=2.17’]

Your installed version is: 2.17

Hello,

None of us use conda for installing AFNI, nor do we have a direct connection with the ‘hcc’ channel for it. If you want to go the conda route, you might have to contact them more directly.

However, I would expect that you could use the linux_openmp_64 that we distribute. It is also much more current than what is provided on by hcc.

If you wish to try this, do a quick, local install into your $HOME/abin directory, and see how it goes:

curl -O [https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries](https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries)
tcsh @update.afni.binaries -package linux_openmp_64

Then evaluate the install by posting the output from:

~/abin/afni_system_check.py -check_all

Note that @update.afni.binaries can set PATH for a few shells when using the -defaults option, but I did not include that so this test would not alter your PATH. You might prefer just a simple test.

If you are happy with this and want it to further initialize your dot files, the most simple thing to do would be to let it run again.

rm ~/abin/afni
tcsh @update.afni.binaries -package linux_openmp_64 -defaults

Does this seem reasonable?

  • rick