afni 17.2.16 crash at startup

Hello,

I’m an HPC sysadmin and I’m trying to install AFNI for one of our users. It seems the compilation is working well, but AFNI crash when I launch it.

afni
Precompiled binary linux_openmp_64: Sep 21 2017 (Version AFNI_17.2.16)

Thanks go to J Gonzalez-Castillo for useful feedback

Initializing: X11[The X.Org Foundation v 11804000]… Widgets.++ load_atlas: atlas TTatlas+tlrc not found in any directory

Fatal Signal 11 (SIGSEGV) received
genx_load_atlas_dset
Atlas_With_Trimming
AFNI_make_wid1
AFNI_make_widgets
new_AFNI_controller
MAIN_workprocess
AFNI:main
Bottom of Debug Stack
** AFNI version = AFNI_17.2.16 Compile date = Sep 21 2017
** [[Precompiled binary linux_openmp_64: Sep 21 2017]]
** Program Death **

I’m compiling it using easybuild (a build system for hpc) .

Here is the original file that is used to compile AFNI, maybe it’s interesting because you can see what lib and compiler are used:

https://github.com/easybuilders/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/a/AFNI/AFNI-20160329-intel-2016a-Python-2.7.11.eb

I’m using a slighty modified file to compile AFNI (only the afni src change).

Thanks for any clue

It looks like you’re missing the default atlases. If you have them in the same directory as afni, then you should be good to go. Otherwise, set AFNI_ATLAS_PATH (in the shell, command line or in .afnirc) to the directory where they are.