FATCAT Demo tcsh script error

I have been trying to get the FATCAT demo script (Do_09_VISdti_SUMA_visual_ex2.tcsh) to run on a MacPro Tower running El Capitan. I ran this successful at the recent Bootcamp on a laptop.

Can someone help with the error I get?

I get the following error message:

[Davids-Mac-Pro-4:~/CD/AFNI_demos/FATCAT_DEMO] davidtate% tcsh Do_09_VISdti_SUMA_visual_ex2.tcsh
.cshrc: No such file or directory.
searching for talking afni…
searching for talking 3dGroupInCorr…
searching for talking plugout_drive…
searching for talking suma…
searching for talking DriveSuma…
searching for talking 3dSkullStrip…
searching for talking SurfSmooth…
[1] 653
Error: attempt to add non-widget child “dsm” to parent “[A] SUMA” which supports only widgets
[1] + Exit 1 suma -npb 12 -niml -spec SUMA/std.60.FATCAT_both.spec -sv mprage+orig -vol mprage+orig. -tract DTI/o.WB_000.niml.tract
Warning: Fatal Error:
_XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL

Fatal Signal 11 (SIGSEGV) received
SUMA_PauseForUser
prompt_user
Bottom of Debug Stack
** AFNI version = AFNI_17.0.02 Compile date = Jan 20 2017
** [[Precompiled binary macosx_10.7_Intel_64: Jan 20 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/davidtate/.afni.crashlog

Thanks,

David

Hi David,

Do you have a ~/.tcshrc file? That first .cshrc
error is not common.

But the real problem is probaby that you need
flat_namespace in your DYLD_LIBRARY_PATH.
What does this show?

ls -l /opt/X11/lib/flat_namespace
  • rick

This is the reply.

[Davids-Mac-Pro-4:local/Cellar/gcc] davidtate% ls -l /opt/X11/lib/flat_namespace
total 1408
-rwxr-xr-x 1 root wheel 717744 Oct 29 02:59 libXt.6.dylib

I also noticed that I had an older gcc version.

I will check for the .tcshrc file. I know I have a .cshrc file.

David

I was missing setenv DYLD_LIBRARY_PATH /opt/X11/lib/flat_namespace in the .tcshrc file.

Thanks for the simple help.

David