Hi Andy

 

I think the rh.white.H is generated by mris_curvature. Does that help?

 

Cheers,
Bruce

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Andy Worth
Sent: Tuesday, January 19, 2021 5:29 PM
To: Freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] Cannot find rh.white.H

 

        External Email - Use Caution        

Hello,

 

We're seeing this error a lot: "Cannot find rh.white.H" which is generated here.

 

It does not occur if -parallel is turned off.

 

I see that reconbatchjobs does "exec" on the commands sequentially in the order of the list, but it runs each in the background: 

 

exec $JOB >> $LOG 2>&1 & 

 

so I thought it might just be slightly possible that these two commands:

 

      set cmd1 = (rm -f $hemi.white.$suffix)

      set cmd2 = (ln -s $hemi.white.preaparc.$suffix $hemi.white.$suffix)

 

could end up in a race condition where the file is linked and then immediately removed if somehow the ln command is executed before the rm command.

 

However, I tried reproducing this behavior with a test script but the rm always happens before the ln.

 

Any help would be appreciated!

 

Thanks,


Andy Worth

Scientific Solutions Engineer

he, him, his