Thanks for the tip, Peter. Someone has had this issue in past. These were adapted from old FSL scripts and the goal is to phase them out eventually. Right now trac-all has a new option to print out the commands to be submitted to a cluster, so that the user can handle that herself. It would be impractical to support all possible cluster versions anyway. I hope this works.
a.y
On 1/24/17, 5:25 AM, "freesurfer-bounces@nmr.mgh.harvard.edu on behalf of Parzer, Peter" <freesurfer-bounces@nmr.mgh.harvard.edu on behalf of Peter.Parzer@med.uni-heidelberg.de> wrote:
Hi,
there is a bug in the scripts bedpostx_mgh and fsl_sub_mgh. Both use code that do not conform to the standard shell syntax and work only with bash. This does not work in system that do not link /bin/sh to /bin/bash (as is the case in Ubuntu). Both scripts must use #!/bin/bash as the interpreter command in the first line.
Peter _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer