Dear SPM Community: I have updated nmh_acqcorrect.m (phase correcting program) to fix some bugs in how filenames were being written out. (It was adding trailing spaces when files names were of different sizes.) Version 1.31 is now available via anonymous ftp at 165.124.234.101 /anonymous_link/SPM/acqcorrect/nmh_acqcorrect.m Recently two users of the program have also seen problems with opening large numbers of files. The error seems to occur when trying to open the new header files. The typical report is that 70 or 96 files worked but some larger number (144, 200) didn't work and the error message is as follows nmh_acqcorrect ??? Error using ==> spm_hwrite Error opening /net/den/fmri/Ho/p_ws/adj/ast.sdt_F125.hdr. Check that you have write permission. Error opening file /net/den/fmri/matlab/nmh_acqcorrect.m. By the way this is not an issue of write permissons but rather that an invalid file descriptor (-1) gets issued and then writing to the file fails. I have suggested that the users increase their number of allowed open files, but it isn't clear that has worked. Has anyone else seen this problem and solved it? If so please let me know so I can help them. This has occurred on both Sun and SGI machines, but on our HP machine I've run >300 files without a problem. Thanks, darren ---------------------------------------------------------------------- Darren R. Gitelman, M.D. E-mail: [log in to unmask] Cognitive Neurology and Voice: (312) 908-9023 the Alzheimer's Disease Center Fax: (312) 908-8789 http://www.brain.nwu.edu Northwestern Univ., 320 E. Superior St., Searle 11-470, Chicago, IL 60611 ---------------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%