Hi,
I looked on the archive and saw two other posts (one with request for more information), but no resolution (044389, 042341, 042342). I'm also getting the file close error, if I rerun my batch it will go past it. So I suspect this is an issue with losing track of a file identifier.
I can send you separately as attachments the code I use. I self drive the batch system with my own wrappers, but I've fully tested and it works except for this random issue with fclose.
It would be great to get to the bottom of this so I can let my jobs truly run without having to babysit them. And certainly let me know what I can do to expedite a fix.
Thanks,
-Robert Welsh
-----------snippet from my log file -----------------------
------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Running 'Smooth'
Failed 'Smooth'
Error using ==> fclose
Invalid file identifier. Use fopen to generate a valid file identifier.
In file "[log in to unmask]" (v1143), function "read_hdr_raw" at line 86.
In file "[log in to unmask]" (v1143), function "read_hdr" at line 33.
In file "[log in to unmask]" (v4270), function "nifti" at line 27.
In file "/Volumes/ALS/Software/SPM8/spm8_with_R4290/spm_vol_nifti.m" (v1143), function "spm_vol_nifti" at line 16.
In file "/Volumes/ALS/Software/SPM8/spm8_with_R4290/spm_vol.m" (v4045), function "subfunc" at line 124.
In file "/Volumes/ALS/Software/SPM8/spm8_with_R4290/spm_vol.m" (v4045), function "subfunc1" at line 77.
In file "/Volumes/ALS/Software/SPM8/spm8_with_R4290/spm_vol.m" (v4045), function "subfunc2" at line 69.
In file "/Volumes/ALS/Software/SPM8/spm8_with_R4290/spm_vol.m" (v4045), function "spm_vol" at line 54.
In file "/Volumes/ALS/Software/SPM8/spm8_with_R4290/spm_smooth.m" (v4172), function "spm_smooth" at line 33.
In file "/Volumes/ALS/Software/SPM8/spm8_with_R4290/config/spm_run_smooth.m" (v3915), function "spm_run_smooth" at line 20.
The following modules did not run:
Failed: Smooth
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Robert C. Welsh, PhD
Associate Director - VA fMRI Research
Research Assistant Professor
Departments of Radiology and Psychiatry
University of Michigan
(734) - 764 - 8541 (fax)
(734) - 647 - 6781 (Ofc)
rcwelsh @ med.umich.edu
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
|