bash: /opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.sh: No such file or directory
bash: /opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.sh: No such file or directoryHow do I solve this?
1 Answer
To find out where the /opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.sh script name was specified, use grep:
cd ~/ && grep -nr '/opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.sh'
cd /etc/ && grep -nr '/opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.sh'
cd /opt/ && grep -nr '/opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.sh'There could be files such as ~/.bashrc, ~/.profile, /etc/bash.bashrc, /etc/profile, /etc/profile.d/*, /etc/environment, /etc/environment.d/*.
Try to comment out such strings in one of these files if you'll find them.
You could also try to create not existent directory structure and an empty file bash complains at:
sudo mkdir -p /opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/
sudo touch /opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.sh
sudo chmod +x /opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.shThis is only a workaround to get rid of annoying bash message we don't know where it come from.
8