Hi again, Echo $FSLDIR :/usr/local/fsl But I am not sure to understand the following from the wiki: FSLDIR=/usr/local/fsl . ${FSLDIR}/etc/fslconf/fsl.sh Thanks, Philippe From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf Of Niels Bergsland Sent: Monday, May 09, 2016 12:03 PM To: [log in to unmask] Subject: Re: [FSL] BET issue Hi, It sounds like you don't have your FSLDIR environment variable set. On Mon, May 9, 2016 at 7:49 PM, Philippe Jolivalt <[log in to unmask]<mailto:[log in to unmask]>> wrote: Hi there, I am running a CentOS 6.7 WMware virtual machine. FSL was manually installled in default location /usr/local/fsl. There is a Matlab add-in and I am trying to run a customized-program (which runs okay on a Red Hat server) to count brain micro-bleeds. The program calls bet with /usr/local/fsl/bin/bet but I got an error I do not know how to troubleshoot, can you help? Thanks. Error:/usr/local/fsl/bin/bet: line 151: /bin/remove_ext: No such file or directory Error:/usr/local/fsl/bin/bet: line 154: /bin/imtest: No such file or directory Error:/usr/local/fsl/bin/bet: line 154: [: =: unary operator expected -- Niels Bergsland Integration Director Buffalo Neuroimaging Analysis Center 100 High St. Buffalo NY 14203 [log in to unmask]<mailto:[log in to unmask]>