3dttest++ -Clustsim error

Hi-

The -clustsim option is not generating all the files it needs. Instead, I am getting errors like these:

sh: line 3: 335536 Killed 3dttest++ -DAFNI_AUTOMATIC_FDR=NO -DAFNI_DONT_LOGFILE=YES -RANDOMSIGN 139 -nomeans -toz -seed 2108850903 2423010168 -nopermute -mask killmask85_resamp+tlrc -setA TT.nKdI2k3VcPM.resid.nii -prefix ./TT.nKdI2k3VcPM.0071.sdat &>/dev/null

which lead to the following:

  • ===== simulation jobs have finished (9335.8 s elapsed) =====
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0001.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0003.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0004.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0005.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0006.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0007.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0008.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0009.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0010.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0011.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0012.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0013.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0014.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0015.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0016.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0017.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0018.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0019.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0020.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0021.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0022.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0023.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0024.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0025.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0026.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0027.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0028.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0029.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0031.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0033.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0036.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0044.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0045.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0048.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0050.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0056.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0058.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0060.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0065.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0066.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0068.minmax.1D
    ** ERROR: Can’t read file ./TT.nKdI2k3VcPM.0071.minmax.1D
  • ===== starting 3dClustSim =====
    ++ 3dClustSim: AFNI version=AFNI_17.1.04 (May 10 2017) [64-bit]
    ++ Authored by: RW Cox and BD Ward
    ++ Loading -insdat datasets
    ** FATAL ERROR: can’t find any data in file ‘./TT.nKdI2k3VcPM.0005.sdat’
    ** Program compile date = May 10 2017
    ** FATAL ERROR: ===== 3dClustSim command failed :-((( =====
    ** Program compile date = May 10 2017

Any idea what is going on?

Thanks,

Jim Waltz

  1. The failure to write/find the ‘minmax’ files is a venial sin, in that it doesn’t actually affect any important part of 3dttest++ or 3dClustSim’s usage further on.

  2. However, the failure to read the .sdat files – as you see – is catastrophic, as those are the temporary files that store the results from the permutation/randomization. Did your screen output contain some progress reports after the line


   ================ Starting ClustSim calculations ================

There should be a lot of output following that about the jobs it runs to produce the .sdat files, before it then runs the 3dClustSim program. Are there any error messages there? You can increase the verbosity of the progress reports by adding option “-verb” to the 3dttest++ command line.

Offhand, it seems to me like perhaps there was some disk I/O issue – I have seen that before, when using a scratch SSD space (for speed over network or rotating storage) that got full.

Thanks - so it is trying to writing to a LOCAL HARD DRIVE that is out of space, or a NETWORK DRIVE that is out of space.

I think it could be either.

I will try to clear space on the NAS and run the script from another node, and see what happens.

-Jim Waltz