sh: Syntax error: Bad fd number

Problem:-

When trying to install the Intel* composer XE as an User (in Ubuntu 12.04), Then we may sometimes encounter an error " sh: Syntax error. Bad fd number".

Cause:-

 If the default shell is not set to bash.

Solution:-

Perform these 2 steps below:-

sudo rm /bin/sh

sudo ln -s /bin/bash /bin/sh

After this again restart the installation.

有关编译器优化的更完整信息,请参阅优化通知