Hello Everyone,

I am facing small problem  to create my own file
//================================//
saurabh@saurabh-Precision-WorkStation-T3500:~/Desktop/saurabh_freesurfer/bert/sam$ mri_convert -i /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/IM_0001 -o $SUBJECTS_DIR/bert/mri/orig/005.mgz
mri_convert -i /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/IM_0001 -o /home/saurabh/Desktop/saurabh_freesurfer/bert/mri/orig/005.mgz
$Id: mri_convert.c,v 1.179.2.7 2012/09/05 21:55:16 mreuter Exp $
reading from /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/IM_0001...
Starting DICOMRead2()
dcmfile = /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/IM_0001
dcmdir = /home/saurabh/Desktop/saurabh_freesurfer/bert/sam
Ref Series No = 501
Found 156 files, checking for dicoms
WARNING: tag SeriesNumber not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/PS_0151
WARNING: tag image orientation not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/PS_0151
WARNING: tag image orientation not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0152
WARNING: tag SeriesNumber not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0153
WARNING: tag image orientation not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0153
WARNING: tag SeriesNumber not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0154
WARNING: tag image orientation not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0154

Found 151 dicom files in series.
WARNING: tag SeriesNumber not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/PS_0151
WARNING: tag image orientation not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/PS_0151
WARNING: tag image orientation not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0152
WARNING: tag SeriesNumber not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0153
WARNING: tag image orientation not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0153
WARNING: tag SeriesNumber not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0154
WARNING: tag image orientation not found in /home/saurabh/Desktop/saurabh_freesurfer/bert/sam/XX_0154
First Sorting
Computing Slice Direction
Vs: -121.791 -125.08 -36.7045
Vs: -0.682698 -0.701136 -0.205747
Second Sorting
Counting frames
nframes = 1
nslices = 151
ndcmfiles = 151
MRIalloc(0, 0, 151): bad parm
No such file or directory
ERROR: mri alloc failed

//===============================================================//


Please reply asap....i m waiting for the solution.

Thanks in advanced.

cheers
Saurabh Thakur,