Hi,
I got this error message when attempting to use mri_concat. Number or inputs, frames etc. seems ok, but when it is about to write the output file, this happens:
Writing to /home/lmr/test.mgh
, -1): could not open file: fp==0
(I use v.4.5.0)
Any suggestions?
Thank you!
yours, LMR
Hi Lars
do you have write permission? Is the partition full? Try:
touch /home/lmr/test.mgh
and see if that works
cheers Bruce
On Thu, 20 Jan 2011, Lars M. Rimol wrote:
Hi,
I got this error message when attempting to use mri_concat. Number or inputs, frames etc. seems ok, but when it is about to write the output file, this happens:
Writing to /home/lmr/test.mgh
, -1): could not open file: fp==0
(I use v.4.5.0)
Any suggestions?
Thank you!
yours, LMR
Hi Bruce,
Yes I can create files. I was trying to run a script with almost 500 mgh files that I wanted to concatenate. I figured there was something wrong with the script because I could run command lines to concatenate 10-20 files from that list in the terminal (all 500 files was too much to copy and paste). So I made a new text file with the same contents as the original script (copy and paste) and now it runs just fine. Not sure why, but the script file was originally a text file from Windows so maybe there was some kind of hidden formatting?
Thank you!
LMR
On 20/01/2011, Bruce Fischl fischl@nmr.mgh.harvard.edu wrote:
Hi Lars
do you have write permission? Is the partition full? Try:
touch /home/lmr/test.mgh
and see if that works
cheers Bruce
On Thu, 20 Jan 2011, Lars M. Rimol wrote:
Hi,
I got this error message when attempting to use mri_concat. Number or inputs, frames etc. seems ok, but when it is about to write the output file, this happens:
Writing to /home/lmr/test.mgh
, -1): could not open file: fp==0
(I use v.4.5.0)
Any suggestions?
Thank you!
yours, LMR
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
I see. Maybe there are too many open file descriptors? If you type 'limit' what does it tell you?
On Thu, 20 Jan 2011, Lars M. Rimol wrote:
Hi Bruce,
Yes I can create files. I was trying to run a script with almost 500 mgh files that I wanted to concatenate. I figured there was something wrong with the script because I could run command lines to concatenate 10-20 files from that list in the terminal (all 500 files was too much to copy and paste). So I made a new text file with the same contents as the original script (copy and paste) and now it runs just fine. Not sure why, but the script file was originally a text file from Windows so maybe there was some kind of hidden formatting?
Thank you!
LMR
On 20/01/2011, Bruce Fischl fischl@nmr.mgh.harvard.edu wrote:
Hi Lars
do you have write permission? Is the partition full? Try:
touch /home/lmr/test.mgh
and see if that works
cheers Bruce
On Thu, 20 Jan 2011, Lars M. Rimol wrote:
Hi,
I got this error message when attempting to use mri_concat. Number or inputs, frames etc. seems ok, but when it is about to write the output file, this happens:
Writing to /home/lmr/test.mgh
, -1): could not open file: fp==0
(I use v.4.5.0)
Any suggestions?
Thank you!
yours, LMR
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
cputime,filesize,datasize,memoryuse,vmemoryuse: unlimited stacksize 10240 bytes coredumpsize 0 kbytes descriptors 1024 memorylocked 32 kbytes maxproc 137216
yours, LMR
On 20/01/2011, Bruce Fischl fischl@nmr.mgh.harvard.edu wrote:
I see. Maybe there are too many open file descriptors? If you type 'limit' what does it tell you?
On Thu, 20 Jan 2011, Lars M. Rimol wrote:
Hi Bruce,
Yes I can create files. I was trying to run a script with almost 500 mgh files that I wanted to concatenate. I figured there was something wrong with the script because I could run command lines to concatenate 10-20 files from that list in the terminal (all 500 files was too much to copy and paste). So I made a new text file with the same contents as the original script (copy and paste) and now it runs just fine. Not sure why, but the script file was originally a text file from Windows so maybe there was some kind of hidden formatting?
Thank you!
LMR
On 20/01/2011, Bruce Fischl fischl@nmr.mgh.harvard.edu wrote:
Hi Lars
do you have write permission? Is the partition full? Try:
touch /home/lmr/test.mgh
and see if that works
cheers Bruce
On Thu, 20 Jan 2011, Lars M. Rimol wrote:
Hi,
I got this error message when attempting to use mri_concat. Number or inputs, frames etc. seems ok, but when it is about to write the output file, this happens:
Writing to /home/lmr/test.mgh
, -1): could not open file: fp==0
(I use v.4.5.0)
Any suggestions?
Thank you!
yours, LMR
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
freesurfer@nmr.mgh.harvard.edu