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-boun...@nmr.mgh.harvard.edu on behalf of Parzer, Peter" <freesurfer-boun...@nmr.mgh.harvard.edu on behalf of peter.par...@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 _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer 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.