On one of my lab machines, I get a SIGSEGV when executing the script attached (note: I just noticed non-picture attachments are not allowed, so I cut-and-pasted it with some snips at the bottom of this post). The preprocessing steps are included (somewhat paraphrased) in the second attachment.
My other lab machine is running the same binary of 3dDeconvolve, but the execution proceeds without error.
The output ends with this:
++ Memory required for output bricks = 460560000 bytes (about 461 million)
Fatal Signal 11 (SIGSEGV) received
calculate_results
3dDeconvolve main
Bottom of Debug Stack
** AFNI version = AFNI_2008_07_18_1710 Compile date = Nov 18 2008
** Program Abort **
** 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.
I can attach the full output if needed.
As a side note, this series of preprocessing steps seems to produce some warnings when I don't include the -float option:
...
*+ WARNING: glm_out+tlrc[125] scale to shorts misfit = 4.88% -- ** Take Care
*+ WARNING: glm_out+tlrc[140] scale to shorts misfit = 2.79% -- * Caution
...
I've included -float, and am awaiting the results. Is that the correct modification to make?
---------------
3dDeconvolve -input ../scan_norm/scan1_norm+tlrc ../scan_norm/scan2_norm+tlrc \
../scan_norm/scan3_norm+tlrc ../scan_norm/scan4_norm+tlrc \
-float \
-nfirst 0 -polort 3 \
-num_stimts 18 -basis_normall 1 \
-stim_file 1 ../reg/allscans_RegParams.1D'[0]' -stim_base 1 -stim_label 1 roll \
-stim_file 2 ../reg/allscans_RegParams.1D'[1]' -stim_base 2 -stim_label 2 pitch \
-stim_file 3 ../reg/allscans_RegParams.1D'[2]' -stim_base 3 -stim_label 3 yaw \
-stim_file 4 ../reg/allscans_RegParams.1D'[3]' -stim_base 4 -stim_label 4 dS \
-stim_file 5 ../reg/allscans_RegParams.1D'[4]' -stim_base 5 -stim_label 5 dL \
-stim_file 6 ../reg/allscans_RegParams.1D'[5]' -stim_base 6 -stim_label 6 dP \
-stim_times 7 Cond.1Background.1D 'GAM' \
-stim_label 7 Cond.1Background \
-stim_times 8 Cond.1Frame.1D 'GAM' \
-stim_label 8 Cond.1Frame \
-stim_times 9 Cond.2Background.1D 'GAM' \
-stim_label 9 Cond.2Background \
-stim_times 10 Cond.2Frame.1D 'GAM' \
-stim_label 10 Cond.2Frame \
-stim_times 11 Cond.3Background.1D 'GAM' \
-stim_label 11 Cond.3Background \
-stim_times 12 Cond.3Frame.1D 'GAM' \
-stim_label 12 Cond.3Frame \
-stim_times 13 Cond.4Background.1D 'GAM' \
-stim_label 13 Cond.4Background \
-stim_times 14 Cond.4Frame.1D 'GAM' \
-stim_label 14 Cond.4Frame \
-stim_times 15 Cond.5Background.1D 'GAM' \
-stim_label 15 Cond.5Background \
-stim_times 16 Cond.5Frame.1D 'GAM' \
-stim_label 16 Cond.5Frame \
-stim_times 17 ITI.1D 'GAM' \
-stim_label 17 ITI \
-stim_times 18 Rate.1D 'GAM' \
-stim_label 18 Rate \
-num_glt 38 \
-glt_label 1 TDL_TDR_Background \
-gltsym 'SYM: +Cond.1Background -Cond.4Background' \
-glt_label 2 TDL_TDR_Both \
-gltsym 'SYM: +Cond.1Frame +Cond.1Background -Cond.4Frame -Cond.4Background' \
-glt_label 3 TD_BU_Frame \
-gltsym 'SYM: +Cond.1Frame +Cond.4Frame -Cond.2Frame -Cond.5Frame' \
...
-xjpeg glm_matrix.jpg -tout -fout -rout -bucket glm_out -xsave
-----------------------
adwarp -apar reg/${id}+tlrc.HEAD -dpar reg/allscans_reg+orig -prefix ${id}_resampled -dxyz 2 -verbose
3dmerge -1blur_fwhm 4.0 -doall -prefix resample_blur/${id}_resample_blur resample/${id}_resampled+tlrc
3dTstat -prefix rm.mean_r ./resample_blur/${id}_resample_blur+tlrc
3dcalc -a resample_blur/${id}_resample_blur+tlrc -b resample_norm/rm.mean_r+tlrc \
-expr 'min(200, a/b*100)' \
-prefix resample_norm/scan_norm
(un-concatenate scan)
--------------------------