Hi again, Now I have another problem.
The Crash file says that the recon-all is already running and I have to remove a file if I insist to run it again. I removed it and re-ran the program but again the program crashes.
And here is the crash file:
File: crash-20140416-151142-kharabian-recon_all.a0.npz
Node: main_workflow.recon_all.a0
Working directory: /scr/somalia3/life/2014_analysis/freesurfer/working/preprecossing/main_workflow/_subject_id_LI00000031/recon_all
Node inputs:
T1_files = ['/scr/somalia3/life/2014_analysis/freesurfer/LI00000031/anat/MPRAGE_RPI.nii']
T2_file = <undefined>
args = <undefined>
directive = all
environ = {}
flags = <undefined>
hemi = <undefined>
ignore_exception = False
openmp = <undefined>
subject_id = LI00000031
subjects_dir = /scr/somalia3/life/2014_analysis/freesurfer/subjects
terminal_output = stream
Traceback:
Traceback (most recent call last):
File "/scr/somalia3/life/2014_analysis/freesurfer/working/preprecossing/main_workflow/batch/
pyscript_20140416_124356_main_workflow_recon_all.a0.py", line 26, in <module>
result = info['node'].run(updatehash=info['updatehash'])
File "/usr/lib/pymodules/python2.7/nipype/pipeline/engine.py", line 1386, in run
self._run_interface()
File "/usr/lib/pymodules/python2.7/nipype/pipeline/engine.py", line 1496, in _run_interface
self._result = self._run_command(execute)
File "/usr/lib/pymodules/python2.7/nipype/pipeline/engine.py", line 1622, in _run_command
result = self._interface.run()
File "/usr/lib/pymodules/python2.7/nipype/interfaces/base.py", line 946, in run
runtime = self._run_interface(runtime)
File "/usr/lib/pymodules/python2.7/nipype/interfaces/base.py", line 1383, in _run_interface
self.raise_exception(runtime)
File "/usr/lib/pymodules/python2.7/nipype/interfaces/base.py", line 1313, in raise_exception
raise RuntimeError(message)
RuntimeError: Command:
recon-all -autorecon2 -subjid LI00000031 -sd /scr/somalia3/life/2014_analysis/freesurfer/subjects -nomotioncor -notalairach -nonuintensitycor -nonormalization -noskullstrip -nogcareg -nocanorm -careg -careginv -rmneck -skull-lta -calabel -normalization2 -maskbfs -segmentation -fill -tessellate -smooth1 -inflate1 -qsphere -fix -white -smooth2 -inflate2 -sphere -surfreg -jacobian_white -avgcurv -cortparc -pial -cortparc2 -parcstats2 -cortribbon -segstats -aparc2aseg -wmparc -balabels -label-exvivo-ec
Standard output:
WARNING: tcsh v6.17.06 has an exit code bug! Please update tcsh!
Subject Stamp: freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0
Current Stamp: freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0
INFO: SUBJECTS_DIR is /scr/somalia3/life/2014_analysis/freesurfer/subjects
Actual FREESURFER_HOME /afs/
cbs.mpg.de/software/freesurfer/5.3.0/amd64/_all
-rw-rw-r-- 1 kharabian users 149983 Apr 16 15:06 /scr/somalia3/life/2014_analysis/freesurfer/subjects/LI00000031/scripts/recon-all.log
Linux miller 3.2.0-61-generic #92-Ubuntu SMP Mon Mar 31 23:47:59 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ERROR: it appears that recon-all is already running
for LI00000031 based on the presence of /scr/somalia3/life/2014_analysis/freesurfer/subjects/LI00000031/scripts/IsRunning.lh+rh. It could
also be that recon-all was running at one point but
died in an unexpected way. If it is the case that there
is a process running, you can kill it and start over or
just let it run. If the process has died, you should type:
rm /scr/somalia3/life/2014_analysis/freesurfer/subjects/LI00000031/scripts/IsRunning.lh+rh
and re-run. Or you can add -no-isrunning to the recon-all
command-line. The contents of this file are:
----------------------------------------------------------
------------------------------
SUBJECT LI00000031
HEMI lh rh
DATE Wed Apr 16 12:52:02 CEST 2014
USER kharabian
HOST adenauer
PROCESSID 19303
PROCESSOR x86_64
OS Linux
Linux adenauer 3.2.0-61-generic #92-Ubuntu SMP Mon Mar 31 23:47:59 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$Id: recon-all,v 1.379.2.73 2013/05/12 23:15:37 nicks Exp $
----------------------------------------------------------
Standard error:
Return code: 1
Interface ReconAll failed to run.