AFNI error following SPM12 installation

I’m getting an error when trying to run ‘afni’ following installation of SPM12:


** ERROR: Illegal driver custom duplication '3DSVM'

I’ll post the terminal output, my .cshrc file, and the value of $path below. Thanks for your help.


[KJasmins-Mac-mini:~] kyle% afni
Precompiled binary macosx_10.7_local: Mar 27 2017 (Version AFNI_17.0.17)

Thanks go to SJ Li for much encouragement

Initializing: X11[The X.Org Foundation v 11804000].. Widgets...... Input files:
** Searching subdirectories of './' for data++ AFNI is detached from terminal.
[KJasmins-Mac-mini:~] kyle% 
 session #  1  = ./abin/ ==> 82 datasets
 dataset count = 82
 Time series   = 0 files read
  NLfit & NLerr= Optimizer (AFNI_NLFIM_METHOD) is SIMPLEX
  NLfit & NLerr= Found 57 models
** ERROR: Illegal driver custom duplication '3DSVM'

  NLfit & NLerr= Optimizer (AFNI_NLFIM_METHOD) is SIMPLEX
  NLfit & NLerr= Found 57 models

Fatal Signal 11 (SIGSEGV) received
        add_string_to_PLUGIN_interface
       vol2surf: PLUGIN_init
      PLUG_read_plugin
     PLUG_get_all_plugins
    PLUG_get_many_plugins
   MAIN_workprocess
  AFNI:main
 Bottom of Debug Stack
** AFNI version = AFNI_17.0.17  Compile date = Mar 27 2017
** [[Precompiled binary macosx_10.7_local: Mar 27 2017]]
** Program Death **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.
** Crash log is appended to file /Users/kyle/.afni.crashlog


[KJasmins-Mac-mini:~] kyle% cat .cshrc
setenv DYLD_LIBRARY_PATH /opt/X11/lib/flat_namespace
setenv DYLD_LIBRARY_PATH /opt/X11/lib/flat_namespace

test -r /sw/bin/init.csh && source /sw/bin/init.csh
set path = ( $path  /Users/kyle/abin  ) 

if ( -f $HOME/.afni/help/all_progs.COMP ) then
   source $HOME/.afni/help/all_progs.COMP
endif

alias fs 'setenv FREESURFER_HOME /Applications/freesurfer; setenv SUBJECTS_DIR /Volumes/TiernyLab/Amusia/surf/subjects; setenv FUNCTIONALS_DIR /Volumes/TiernyLab/Amusia/surf/sessions;source $FREESURFER_HOME/SetUpFreeSurfer.csh'

alias csurf 'setenv SUBJECTS_DIR /Volumes/TiernyLab/Amusia/surf/subjects; setenv FUNCTIONALS_DIR /Volumes/TiernyLab/Amusia/surf/sessions; setenv CSURF_DIR /Applications/Csurf.app/Contents/MacOS/csurf; source /Applications/Csurf.app/Contents/MacOS/csurf/FreeSurferEnv.csh; /Applications/Csurf.app/Contents/MacOS/csurf/bin/noarch/csurf -f'


set path = ( $path  /Applications/Csurf.app/Contents/MacOS/csurf/afni/bin/Darwin-x86_64  ) 

if ( -f $HOME/.afni/help/all_progs.COMP ) then
   source $HOME/.afni/help/all_progs.COMP
endif




[KJasmins-Mac-mini:~] kyle% echo $path
/sw/bin /sw/sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /opt/X11/bin /Users/kyle/abin /Applications/Csurf.app/Contents/MacOS/csurf/afni/bin/Darwin-x86_64

Hi Kyle,

Try setting AFNI_PLUGINPATH in your .cshrc file:

setenv AFNI_PLUGINPATH $HOME/abin

Does that help?

Please feel free to mail me the output from:

afni_system_check.py -check_all
  • rick

Hi Rick. That seems to have fixed the problem. Thanks!